summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-01-24 19:03:13 +0000
committerbors <bors@rust-lang.org>2022-01-24 19:03:13 +0000
commit831b3a25e83fa130ce6a85bd4bf7d4837fc835d2 (patch)
treedfed6be8a47498813fb2828acf2be7d666f62002 /src
parentb2cd590cf366a4530bd95c290303a5c3b1d267b6 (diff)
parentbc405e52b73f1e2b645e52e7f743232e30bcfd6d (diff)
downloadrust-libc-831b3a25e83fa130ce6a85bd4bf7d4837fc835d2.tar.gz
Auto merge of #2647 - devnexen:solarish_priv_flags_upd, r=Amanieu
solaris based systems priv api flags updates
Diffstat (limited to 'src')
-rw-r--r--src/unix/solarish/mod.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unix/solarish/mod.rs b/src/unix/solarish/mod.rs
index 77dc8358fc..2b2e120e7e 100644
--- a/src/unix/solarish/mod.rs
+++ b/src/unix/solarish/mod.rs
@@ -2233,6 +2233,14 @@ pub const __PROC_PROTECT: ::c_uint = 0x0008;
pub const NET_MAC_AWARE: ::c_uint = 0x0010;
pub const NET_MAC_AWARE_INHERIT: ::c_uint = 0x0020;
pub const PRIV_AWARE_RESET: ::c_uint = 0x0040;
+pub const PRIV_XPOLICY: ::c_uint = 0x0080;
+pub const PRIV_PFEXEC: ::c_uint = 0x0100;
+pub const PRIV_USER: ::c_uint = PRIV_DEBUG
+ | NET_MAC_AWARE
+ | NET_MAC_AWARE_INHERIT
+ | PRIV_XPOLICY
+ | PRIV_AWARE_RESET
+ | PRIV_PFEXEC;
// As per sys/socket.h, header alignment must be 8 bytes on SPARC
// and 4 bytes everywhere else: