Searched refs:ucred_t (Results 1 – 2 of 2) sorted by relevance
53 pub enum ucred_t {} enum54 impl ::Copy for ucred_t {} implementation55 impl ::Clone for ucred_t { implementation56 fn clone(&self) -> ucred_t { in clone() argument2592 pub fn ucred_get(pid: ::pid_t) -> *mut ucred_t; in ucred_get() argument2593 pub fn getpeerucred(fd: ::c_int, ucred: *mut *mut ucred_t) -> ::c_int; in getpeerucred()2595 pub fn ucred_free(ucred: *mut ucred_t); in ucred_free() argument2597 pub fn ucred_geteuid(ucred: *const ucred_t) -> ::uid_t; in ucred_geteuid()2598 pub fn ucred_getruid(ucred: *const ucred_t) -> ::uid_t; in ucred_getruid()2599 pub fn ucred_getsuid(ucred: *const ucred_t) -> ::uid_t; in ucred_getsuid()[all …]
49 ucred_t *ucred = NULL; in getpeereid()