Home
last modified time | relevance | path

Searched refs:setuid (Results 1 – 4 of 4) sorted by relevance

/DragonOS/user/apps/test_cred/
H A Dmain.c12 setuid(1000); in main()
40 assert(setuid(0) < 0); // 非root用户无法修改uid in main()
/DragonOS/kernel/src/process/
H A Dcred.rs134 pub fn setuid(&mut self, uid: usize) { in setuid() method
H A Dsyscall.rs373 pub fn setuid(uid: usize) -> Result<usize, SystemError> { in setuid() method
378 guard.setuid(uid); in setuid()
/DragonOS/kernel/src/syscall/
H A Dmod.rs928 SYS_SETUID => Self::setuid(args[0]), in handle()