Home
last modified time | relevance | path

Searched refs:xucred (Results 1 - 6 of 6) sorted by relevance

/third_party/rust/crates/nix/test/sys/
H A Dtest_sockopt.rs25 let xucred = getsockopt(fd1, sockopt::LocalPeerCred).unwrap(); in test_local_peercred_seqpacket()
26 assert_eq!(xucred.version(), 0); in test_local_peercred_seqpacket()
27 assert_eq!(Uid::from_raw(xucred.uid()), Uid::current()); in test_local_peercred_seqpacket()
28 assert_eq!(Gid::from_raw(xucred.groups()[0]), Gid::current()); in test_local_peercred_seqpacket()
51 let xucred = getsockopt(fd1, sockopt::LocalPeerCred).unwrap(); in test_local_peercred_stream()
52 assert_eq!(xucred.version(), 0); in test_local_peercred_stream()
53 assert_eq!(Uid::from_raw(xucred.uid()), Uid::current()); in test_local_peercred_stream()
54 assert_eq!(Gid::from_raw(xucred.groups()[0]), Gid::current()); in test_local_peercred_stream()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
H A Dmod.rs1030 pub struct xucred { structure names
1295 impl PartialEq for xucred {
1296 fn eq(&self, other: &xucred) -> bool { in eq()
1310 impl Eq for xucred {}
1311 impl ::fmt::Debug for xucred {
1313 let mut struct_formatter = f.debug_struct("xucred"); in fmt()
1326 impl ::hash::Hash for xucred {
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/
H A Dmod.rs188 pub struct xucred { structure names
199 pub ex_anon: xucred,
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/dragonfly/
H A Dmod.rs215 pub struct xucred { structure names
/third_party/rust/crates/nix/src/sys/socket/
H A Dmod.rs491 pub struct XuCred(libc::xucred);
/third_party/rust/crates/libc/src/unix/bsd/apple/
H A Dmod.rs549 pub struct xucred { structure names

Completed in 49 milliseconds