Home
last modified time | relevance | path

Searched refs:getuid (Results 26 - 50 of 427) sorted by relevance

12345678910>>...18

/third_party/selinux/libselinux/utils/
H A Dtogglesebool.c81 struct passwd *pwd = getpwuid(getuid()); in main()
90 argv[i], getuid()); in main()
/third_party/pulseaudio/src/pulse/
H A Dutil.c118 p = getuid() == 0 ? "root" : NULL; in pa_get_user_name()
129 if ((r = pa_getpwuid_malloc(getuid())) == NULL) { in pa_get_user_name()
130 pa_snprintf(s, l, "%lu", (unsigned long) getuid()); in pa_get_user_name()
190 if ((r = pa_getpwuid_malloc(getuid())) == NULL) { in pa_get_home_dir()
/third_party/node/deps/v8/third_party/jinja2/
H A Dbccache.py209 if not hasattr(os, "getuid"):
212 dirname = "_jinja2-cache-%d" % os.getuid()
224 actual_dir_stat.st_uid != os.getuid()
235 actual_dir_stat.st_uid != os.getuid()
/third_party/node/tools/inspector_protocol/jinja2/
H A Dbccache.py230 if not hasattr(os, 'getuid'):
233 dirname = '_jinja2-cache-%d' % os.getuid()
244 if actual_dir_stat.st_uid != os.getuid() \
253 if actual_dir_stat.st_uid != os.getuid() \
/third_party/python/Lib/
H A Dnetrc.py147 if prop.st_uid != os.getuid():
154 user = pwd.getpwuid(os.getuid())[0]
156 user = 'uid %s' % os.getuid()
/third_party/skia/third_party/externals/jinja2/
H A Dbccache.py209 if not hasattr(os, "getuid"):
212 dirname = "_jinja2-cache-%d" % os.getuid()
224 actual_dir_stat.st_uid != os.getuid()
235 actual_dir_stat.st_uid != os.getuid()
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/
H A Dshm_test_004.cpp55 ICUNIT_GOTO_EQUAL(ds.shm_perm.uid, getuid(), ds.shm_perm.uid, ERROR_OUT); in Testcase()
61 ds.shm_perm.uid = getuid(); in Testcase()
/third_party/musl/src/unistd/
H A Dgetuid.c4 uid_t getuid(void) in getuid() function
/third_party/ltp/testcases/kernel/syscalls/mount/
H A Dmount03_suid_child.c22 TST_EXP_FAIL(setreuid(getuid(), 0), EPERM); in main()
H A Dmount03_setuid_test.c59 ruid = getuid(); in main()
/third_party/libfuse/test/
H A Dutil.py72 if os.getuid() == 0:
133 if os.getuid() == 0:
/third_party/ltp/testcases/kernel/syscalls/mq_notify/
H A Dmq_notify01.c92 si->si_pid == getpid() && si->si_uid == getuid(); in sigfunc()
179 info.si_uid, getuid()); in do_test()
/third_party/ltp/testcases/kernel/syscalls/acct/
H A Dacct02.c101 if (ACCT_MEMBER(ac_uid) != getuid()) { in verify_acct()
102 tst_res(TINFO, "ac_uid != %d (%d)", getuid(), in verify_acct()
/third_party/rust/crates/rustix/src/process/
H A Did.rs186 /// `getuid()`—Returns the process' real user ID.
192 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getuid.html
193 /// [Linux]: https://man7.org/linux/man-pages/man2/getuid.2.html
196 pub fn getuid() -> Uid { in getuid() functions
197 backend::process::syscalls::getuid() in getuid()
/third_party/toybox/toys/pending/
H A Dcrontab.c242 fchown(fdout, getuid(), geteuid()); in update_crontab()
346 if (getuid()) error_exit("must be privileged to use -u"); in crontab_main()
348 } else pwd = xgetpwuid(getuid()); in crontab_main()
/third_party/ltp/testcases/kernel/syscalls/setuid/
H A Dsetuid01.c24 uid = getuid(); in verify_setuid()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dquotactl.c30 int ret = quotactl(cmd, "/dev", getuid(), (char *)(&strinfo)); in quotactl_0100()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dsetuid.c32 if (getuid() != uid) { in setuid_0100()
H A Dgetuid.c33 uid_t uid = getuid(); in getuid_0100()
/third_party/ltp/testcases/kernel/syscalls/setreuid/
H A Dsetreuid01.c23 ruid = getuid(); in run()
H A Dsetreuid04.c25 root_uid = getuid(); in setup()
/kernel/liteos_a/testsuites/unittest/security/reugid/smoke/
H A Dreugid_test_001.cpp61 ruid = getuid(); in Child1()
191 ret = getuid(); in Child()
248 ruid = getuid(); in Child()
255 ruid = getuid(); in Child()
/third_party/musl/src/signal/
H A Dsigqueue.c18 si.si_uid = getuid(); in sigqueue()
/third_party/musl/porting/liteos_a/user/src/signal/
H A Dsigqueue.c19 si.si_uid = getuid(); in sigqueue()
/third_party/ltp/testcases/kernel/syscalls/getgid/
H A Dgetgid03.c29 uid = getuid(); in run()
32 tst_brk(TBROK | TERRNO, "getuid() returned unexpected value %d", uid); in run()

Completed in 8 milliseconds

12345678910>>...18