Searched refs:egid (Results 1 – 3 of 3) sorted by relevance
34 int egid = getegid(); in main() local35 assert(egid == 1000); in main()36 printf("Current egid:%d\n\n", egid); in main()
39 pub egid: Kgid, field66 egid: GLOBAL_ROOT_GID, in init()154 pub fn setegid(&mut self, egid: usize) { in setegid()155 self.egid.0 = egid; in setegid()
312 return Ok(pcb.cred.lock().egid.data()); in getegid()336 if guard.egid.data() == 0 { in setgid()369 pub fn setegid(egid: usize) -> Result<usize, SystemError> { in setegid()373 if egid == usize::MAX || (egid == guard.egid.data() && egid == guard.fsgid.data()) { in setegid()377 if egid != usize::MAX { in setegid()378 guard.setegid(egid); in setegid()381 let egid = guard.egid.data(); in setegid() localVariable382 guard.setfsgid(egid); in setegid()408 if fsgid == guard.gid || fsgid == guard.egid || fsgid == guard.sgid { in setfsgid()