diff options
author | David Carlier <devnexen@gmail.com> | 2022-01-24 16:09:34 +0000 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2022-01-24 16:27:47 +0000 |
commit | bc405e52b73f1e2b645e52e7f743232e30bcfd6d (patch) | |
tree | 250029dc059551bb5583a0da697afc45a956ec53 | |
parent | 78e76aa33fd4019b2663ecd557b308fd13b3c824 (diff) | |
download | rust-libc-bc405e52b73f1e2b645e52e7f743232e30bcfd6d.tar.gz |
solaris based systems priv api flags updates
-rw-r--r-- | src/unix/solarish/mod.rs | 8 |
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: |