File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 89
89
pub msg_ctime: :: time_t,
90
90
}
91
91
92
- pub struct xucred {
93
- pub cr_version: :: c_uint,
94
- pub cr_uid: :: uid_t,
95
- pub cr_ngroups: :: c_short,
96
- pub cr_groups: [ :: gid_t; 16 ] ,
97
- __cr_unused1: * mut :: c_void,
98
- }
99
-
100
92
pub struct stack_t {
101
93
pub ss_sp: * mut :: c_void,
102
94
pub ss_size: :: size_t,
@@ -629,7 +621,6 @@ pub const SO_PROTOCOL: ::c_int = 0x1016;
629
621
pub const SO_PROTOTYPE : :: c_int = SO_PROTOCOL ;
630
622
pub const SO_VENDOR : :: c_int = 0x80000000 ;
631
623
632
- pub const LOCAL_PEERCRED : :: c_int = 1 ;
633
624
pub const LOCAL_CREDS : :: c_int = 2 ;
634
625
pub const LOCAL_CONNWAIT : :: c_int = 4 ;
635
626
pub const LOCAL_VENDOR : :: c_int = SO_VENDOR ;
@@ -1103,9 +1094,6 @@ pub const _PC_ACL_NFS4: ::c_int = 64;
1103
1094
1104
1095
pub const _SC_CPUSET_SIZE: :: c_int = 122 ;
1105
1096
1106
- pub const XU_NGROUPS : :: c_int = 16 ;
1107
- pub const XUCRED_VERSION : :: c_uint = 0 ;
1108
-
1109
1097
// Flags which can be passed to pdfork(2)
1110
1098
pub const PD_DAEMON : :: c_int = 0x00000001 ;
1111
1099
pub const PD_CLOEXEC : :: c_int = 0x00000002 ;
Original file line number Diff line number Diff line change @@ -219,6 +219,14 @@ s! {
219
219
pub cmcred_groups: [ :: gid_t; CMGROUP_MAX ] ,
220
220
}
221
221
222
+ pub struct xucred {
223
+ pub cr_version: :: c_uint,
224
+ pub cr_uid: :: uid_t,
225
+ pub cr_ngroups: :: c_short,
226
+ pub cr_groups: [ :: gid_t; 16 ] ,
227
+ __cr_unused1: * mut :: c_void,
228
+ }
229
+
222
230
pub struct rtprio {
223
231
pub type_: :: c_ushort,
224
232
pub prio: :: c_ushort,
@@ -947,6 +955,8 @@ pub const SO_RCVTIMEO: ::c_int = 0x1006;
947
955
pub const SO_ERROR : :: c_int = 0x1007 ;
948
956
pub const SO_TYPE : :: c_int = 0x1008 ;
949
957
958
+ pub const LOCAL_PEERCRED : :: c_int = 1 ;
959
+
950
960
pub const SHUT_RD : :: c_int = 0 ;
951
961
pub const SHUT_WR : :: c_int = 1 ;
952
962
pub const SHUT_RDWR : :: c_int = 2 ;
@@ -1133,6 +1143,9 @@ pub const ST_NOSUID: ::c_ulong = 2;
1133
1143
1134
1144
pub const NI_MAXHOST : :: size_t = 1025 ;
1135
1145
1146
+ pub const XU_NGROUPS : :: c_int = 16 ;
1147
+ pub const XUCRED_VERSION : :: c_uint = 0 ;
1148
+
1136
1149
pub const RTLD_LOCAL : :: c_int = 0 ;
1137
1150
pub const RTLD_NODELETE : :: c_int = 0x1000 ;
1138
1151
pub const RTLD_NOLOAD : :: c_int = 0x2000 ;
You can’t perform that action at this time.
0 commit comments