Skip to content

Commit df25142

Browse files
committed
Add ucred to musl
1 parent e8bc1cf commit df25142

File tree

1 file changed

+6
-0
lines changed
  • src/unix/notbsd/linux/musl

1 file changed

+6
-0
lines changed

src/unix/notbsd/linux/musl/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ s! {
7272
pub mem_unit: ::c_uint,
7373
pub __reserved: [::c_char; 256],
7474
}
75+
76+
pub struct ucred {
77+
pub pid: ::pid_t,
78+
pub uid: ::uid_t,
79+
pub gid: ::gid_t,
80+
}
7581
}
7682

7783
pub const SFD_CLOEXEC: ::c_int = 0x080000;

0 commit comments

Comments
 (0)