Searched refs:setuid (Results 1 – 4 of 4) sorted by relevance
12 setuid(1000); in main()40 assert(setuid(0) < 0); // 非root用户无法修改uid in main()
134 pub fn setuid(&mut self, uid: usize) { in setuid() method
373 pub fn setuid(uid: usize) -> Result<usize, SystemError> { in setuid() method378 guard.setuid(uid); in setuid()
928 SYS_SETUID => Self::setuid(args[0]), in handle()