HomeSort by relevance Sort by last modified time
    Searched refs:getuid (Results 26 - 50 of 368) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/toybox/toys/android/
start.c 38 if (getuid()) error_exit("must be root");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
9-1.c 49 if (strcmp(pw->pw_name, "root") && pw->pw_uid != getuid())
72 seteuid(getuid());
77 seteuid(getuid());
8-1.c 63 if (strcmp(pw->pw_name, "root") && pw->pw_uid != getuid())
89 seteuid(getuid());
  /bionic/libc/bionic/
pthread_sigqueue.cpp 47 siginfo.si_uid = getuid();
  /external/libcap/progs/old/
execcap.c 37 if (getuid() && !geteuid()) {
sucap.c 61 if (getuid() && !geteuid()) {
133 if (!getuid() && setgroups(0, 0)) {
149 printf("[debug] uid:%d, real uid:%d\n", geteuid(), getuid());
173 /* printf("[debug] uid:%d, real uid:%d\n", geteuid(), getuid()); */
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
23-6.c 50 pw->pw_name, (int)geteuid(), (int)getuid());
67 if (getuid() == 0) {
26-1.c 61 if (getuid() == 0) {
  /external/selinux/libselinux/utils/
togglesebool.c 81 struct passwd *pwd = getpwuid(getuid());
90 argv[i], getuid());
  /external/toybox/toys/lsb/
su.c 59 loggit(LOG_NOTICE, "%s->%s", getusername(getuid()), name);
62 if (getuid()) {
  /external/openssh/
uidswap.c 148 uid_t old_uid = getuid();
169 if (getuid() != uid || geteuid() != uid) {
171 __func__, (u_int)getuid(), (u_int)geteuid(), (u_int)uid);
202 setuid(getuid());
219 uid_t old_uid = getuid();
292 if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid) {
294 __func__, (u_int)getuid(), (u_int)geteuid(),
  /device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
StubFunctions.c 44 getuid (void) function
  /external/autotest/cli/
change_protection_level.py 18 user = pwd.getpwuid(os.getuid())[0]
  /external/bcc/tests/python/
test_perf_event.py 43 event_name = b.get_syscall_fnname("getuid")
54 os.getuid()
  /external/linux-kselftest/tools/testing/selftests/media_tests/
media_device_open.c 66 if (getuid() != 0)
  /external/ltp/testcases/kernel/syscalls/getgid/
getgid03.c 58 uid = getuid();
62 tst_brkm(TBROK, cleanup, "getuid() returned "
72 tst_resm(TPASS, "values from getuid "
  /external/ltp/testcases/kernel/syscalls/syscall/
syscall01.c 52 u1 = getuid();
56 tst_res(TPASS, "getuid() == syscall(SYS_getuid)");
58 tst_res(TFAIL, "getuid() = %i, syscall(SYS_getuid) = %i",
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
1-1.c 35 if (getuid() != 0) {
19-1.c 46 if (getuid() != 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/
15-1.c 69 if (getuid() == 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/speculative/
15-1.c 69 if (getuid() == 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/
6-1.c 66 pw->pw_name, geteuid(), getuid());
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/
7-1.c 61 if (getuid() == 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
32-1.c 65 if (getuid() == 0) {
34-1.c 65 if (getuid() == 0) {

Completed in 1096 milliseconds

12 3 4 5 6 7 8 91011>>