Searched refs:geteuid (Results 1 – 12 of 12) sorted by relevance
/DragonOS/user/apps/test_cred/ |
H A D | main.c | 8 …printf("Current uid: %d, euid: %d, gid: %d, egid: %d\n\n", getuid(), geteuid(), getgid(), getegid(… in main() 27 int euid = geteuid(); in main() 41 …printf("Current uid: %d, euid: %d, gid: %d, egid: %d\n", getuid(), geteuid(), getgid(), getegid()); in main()
|
/DragonOS/user/apps/user-manage/src/cmd/ |
H A D | useradd.rs | 7 use libc::geteuid; 23 if unsafe { geteuid() } != 0 { in main()
|
H A D | userdel.rs | 7 use libc::geteuid; 23 if unsafe { geteuid() } != 0 { in main()
|
H A D | groupadd.rs | 7 use libc::geteuid; 23 if unsafe { geteuid() } != 0 { in main()
|
H A D | groupdel.rs | 7 use libc::geteuid; 23 if unsafe { geteuid() } != 0 { in main()
|
H A D | groupmod.rs | 7 use libc::geteuid; 23 if unsafe { geteuid() } != 0 { in main()
|
H A D | usermod.rs | 7 use libc::geteuid; 23 if unsafe { geteuid() } != 0 { in main()
|
/DragonOS/kernel/src/namespaces/ |
H A D | mnt_namespace.rs | 196 .inc_ucounts(user_ns, Syscall::geteuid()?, MntNamespaces)) in inc_mnt_namespace()
|
H A D | pid_namespace.rs | 267 .inc_ucounts(user_ns, Syscall::geteuid()?, PidNamespaces)) in inc_pid_namespaces()
|
/DragonOS/kernel/src/process/ |
H A D | syscall.rs | 363 pub fn geteuid() -> Result<usize, SystemError> { in geteuid() method
|
/DragonOS/user/apps/user-manage/src/check/ |
H A D | check.rs | 359 let uid = unsafe { libc::geteuid().to_string() }; in check()
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 931 SYS_GETEUID => Self::geteuid(), in handle()
|