Home
last modified time | relevance | path

Searched refs:geteuid (Results 1 – 12 of 12) sorted by relevance

/DragonOS/user/apps/test_cred/
H A Dmain.c8 …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 Duseradd.rs7 use libc::geteuid;
23 if unsafe { geteuid() } != 0 { in main()
H A Duserdel.rs7 use libc::geteuid;
23 if unsafe { geteuid() } != 0 { in main()
H A Dgroupadd.rs7 use libc::geteuid;
23 if unsafe { geteuid() } != 0 { in main()
H A Dgroupdel.rs7 use libc::geteuid;
23 if unsafe { geteuid() } != 0 { in main()
H A Dgroupmod.rs7 use libc::geteuid;
23 if unsafe { geteuid() } != 0 { in main()
H A Dusermod.rs7 use libc::geteuid;
23 if unsafe { geteuid() } != 0 { in main()
/DragonOS/kernel/src/namespaces/
H A Dmnt_namespace.rs196 .inc_ucounts(user_ns, Syscall::geteuid()?, MntNamespaces)) in inc_mnt_namespace()
H A Dpid_namespace.rs267 .inc_ucounts(user_ns, Syscall::geteuid()?, PidNamespaces)) in inc_pid_namespaces()
/DragonOS/kernel/src/process/
H A Dsyscall.rs363 pub fn geteuid() -> Result<usize, SystemError> { in geteuid() method
/DragonOS/user/apps/user-manage/src/check/
H A Dcheck.rs359 let uid = unsafe { libc::geteuid().to_string() }; in check()
/DragonOS/kernel/src/syscall/
H A Dmod.rs931 SYS_GETEUID => Self::geteuid(), in handle()