Skip to content

Commit 220fa28

Browse files
committed
Auto merge of #801 - azdlowry:master, r=alexcrichton
Add `ucred` to musl
2 parents 30a7425 + 190135c commit 220fa28

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)