Searched refs:getpeereid (Results 1 – 11 of 11) sorted by relevance
1286 let (uid_a, gid_a) = getpeereid(sock_a.as_raw_fd()).unwrap(); in test_getpeereid()1287 let (uid_b, gid_b) = getpeereid(sock_b.as_raw_fd()).unwrap(); in test_getpeereid()1309 getpeereid(-1).expect_err("assertion failed"); in test_getpeereid_invalid_fd()
1043 getpeereid
1297 getpeereid
1257 getpeereid
1622 getpeereid
1898 getpeereid
648 pub fn getpeereid(socket: ::c_int, euid: *mut ::uid_t, egid: *mut ::gid_t) -> ::c_int; in getpeereid() function
3352 pub fn getpeereid(fd: RawFd) -> Result<(Uid, Gid)> {3356 let ret = unsafe { libc::getpeereid(fd, &mut uid, &mut gid) };
92 …<elf-symbol name='getpeereid' type='func-type' binding='global-binding' visibility='default-visibi…4040 …<abi-instr version='1.0' address-size='64' path='/home/max/src/v6/libtirpc/src/getpeereid.c' langu…4041 …getpeereid' mangled-name='getpeereid' filepath='/home/max/src/v6/libtirpc/src/getpeereid.c' line='…4042 …<parameter type-id='type-id-6' name='s' filepath='/home/max/src/v6/libtirpc/src/getpeereid.c' line…4043 …e-id='type-id-469' name='euid' filepath='/home/max/src/v6/libtirpc/src/getpeereid.c' line='37' col…4044 …pe-id='type-id-90' name='egid' filepath='/home/max/src/v6/libtirpc/src/getpeereid.c' line='37' col…
2746 pub fn getpeereid(socket: ::c_int, euid: *mut ::uid_t, egid: *mut ::gid_t) -> ::c_int; in getpeereid() function
536 - Added `getpeereid` (#[1342](https://github.com/nix-rust/nix/pull/1342))