File tree Expand file tree Collapse file tree 4 files changed +6
-18
lines changed Expand file tree Collapse file tree 4 files changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -448,6 +448,12 @@ s! {
448
448
pub p_memsz: Elf64_Xword ,
449
449
pub p_align: Elf64_Xword ,
450
450
}
451
+
452
+ pub struct ucred {
453
+ pub pid: :: pid_t,
454
+ pub uid: :: uid_t,
455
+ pub gid: :: gid_t,
456
+ }
451
457
}
452
458
453
459
pub const ABDAY_1 : :: nl_item = 0x20000 ;
Original file line number Diff line number Diff line change 75
75
pub mem_unit: :: c_uint,
76
76
pub __reserved: [ :: c_char; 256 ] ,
77
77
}
78
-
79
- pub struct ucred {
80
- pub pid: :: pid_t,
81
- pub uid: :: uid_t,
82
- pub gid: :: gid_t,
83
- }
84
78
}
85
79
86
80
pub const SFD_CLOEXEC : :: c_int = 0x080000 ;
Original file line number Diff line number Diff line change @@ -104,12 +104,6 @@ s! {
104
104
__unused5: * mut :: c_void,
105
105
}
106
106
107
- pub struct ucred {
108
- pub pid: :: pid_t,
109
- pub uid: :: uid_t,
110
- pub gid: :: gid_t,
111
- }
112
-
113
107
pub struct statfs {
114
108
pub f_type: __fsword_t,
115
109
pub f_bsize: __fsword_t,
Original file line number Diff line number Diff line change @@ -221,12 +221,6 @@ s! {
221
221
__unused5: * mut :: c_void,
222
222
}
223
223
224
- pub struct ucred {
225
- pub pid: :: pid_t,
226
- pub uid: :: uid_t,
227
- pub gid: :: gid_t,
228
- }
229
-
230
224
pub struct flock {
231
225
pub l_type: :: c_short,
232
226
pub l_whence: :: c_short,
You can’t perform that action at this time.
0 commit comments