File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -411,6 +411,13 @@ s! {
411
411
pub xsu_pagesize: u32 ,
412
412
pub xsu_encrypted: :: boolean_t,
413
413
}
414
+
415
+ pub struct xucred {
416
+ pub cr_version: :: c_uint,
417
+ pub cr_uid: :: uid_t,
418
+ pub cr_ngroups: :: c_short,
419
+ pub cr_groups: [ :: gid_t; 16 ]
420
+ }
414
421
}
415
422
416
423
pub const _UTX_USERSIZE: usize = 256 ;
@@ -1371,6 +1378,15 @@ pub const IPV6_LEAVE_GROUP: ::c_int = 13;
1371
1378
1372
1379
pub const TCP_NODELAY : :: c_int = 0x01 ;
1373
1380
pub const TCP_KEEPALIVE : :: c_int = 0x10 ;
1381
+
1382
+ pub const SOL_LOCAL : :: c_int = 0 ;
1383
+
1384
+ pub const LOCAL_PEERCRED : :: c_int = 0x001 ;
1385
+ pub const LOCAL_PEERPID : :: c_int = 0x002 ;
1386
+ pub const LOCAL_PEEREPID : :: c_int = 0x003 ;
1387
+ pub const LOCAL_PEERUUID : :: c_int = 0x004 ;
1388
+ pub const LOCAL_PEEREUUID : :: c_int = 0x005 ;
1389
+
1374
1390
pub const SOL_SOCKET : :: c_int = 0xffff ;
1375
1391
1376
1392
pub const SO_DEBUG : :: c_int = 0x01 ;
@@ -1949,6 +1965,8 @@ pub const PROC_PIDTHREADINFO: ::c_int = 5;
1949
1965
pub const MAXCOMLEN : usize = 16 ;
1950
1966
pub const MAXTHREADNAMESIZE : usize = 64 ;
1951
1967
1968
+ pub const XUCRED_VERSION : :: c_uint = 0 ;
1969
+
1952
1970
f ! {
1953
1971
pub fn WSTOPSIG ( status: :: c_int) -> :: c_int {
1954
1972
status >> 8
You can’t perform that action at this time.
0 commit comments