Skip to content

Commit 831b3a2

Browse files
committed
Auto merge of #2647 - devnexen:solarish_priv_flags_upd, r=Amanieu
solaris based systems priv api flags updates
2 parents b2cd590 + bc405e5 commit 831b3a2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/unix/solarish/mod.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2233,6 +2233,14 @@ pub const __PROC_PROTECT: ::c_uint = 0x0008;
22332233
pub const NET_MAC_AWARE: ::c_uint = 0x0010;
22342234
pub const NET_MAC_AWARE_INHERIT: ::c_uint = 0x0020;
22352235
pub const PRIV_AWARE_RESET: ::c_uint = 0x0040;
2236+
pub const PRIV_XPOLICY: ::c_uint = 0x0080;
2237+
pub const PRIV_PFEXEC: ::c_uint = 0x0100;
2238+
pub const PRIV_USER: ::c_uint = PRIV_DEBUG
2239+
| NET_MAC_AWARE
2240+
| NET_MAC_AWARE_INHERIT
2241+
| PRIV_XPOLICY
2242+
| PRIV_AWARE_RESET
2243+
| PRIV_PFEXEC;
22362244

22372245
// As per sys/socket.h, header alignment must be 8 bytes on SPARC
22382246
// and 4 bytes everywhere else:

0 commit comments

Comments
 (0)