Home
last modified time | relevance | path

Searched refs:getuid (Results 1 – 25 of 121) sorted by relevance

12345

/OK3568_Linux_fs/external/xserver/hw/xfree86/parser/
H A Dwrite.c135 if (getuid() != geteuid()) { in xf86writeConfigFile()
150 if (setuid(getuid()) == -1) in xf86writeConfigFile()
170 ruid = getuid(); in xf86writeConfigFile()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-core/dbus-cxx/files/
H A Dfix_build_musl.patch9 - __uid_t uid = getuid();
10 + uid_t uid = getuid();
/OK3568_Linux_fs/yocto/meta-clang/dynamic-layers/selinux/android-tools/android-tools/core-debian/
H A Dmove-log-file-to-proper-dir.patch11 + std::string log_dir = android::base::StringPrintf("/run/user/%u/adb.log", getuid());
18 return android::base::StringPrintf("%s/adb.%u.log", tmp_dir, getuid());
/OK3568_Linux_fs/external/xserver/hw/xfree86/
H A Dxorg-wrapper.c210 if (getuid() != 0) { in main()
257 uid_t realuid = getuid(); in main()
281 if (getuid() == geteuid()) in main()
/OK3568_Linux_fs/external/xserver/os/
H A Dutils.c845 if (getuid() != 0) in ProcessCommandLine()
1389 if (setuid(getuid()) == -1) in System()
1459 if (setuid(getuid()) == -1) in Popen()
1537 if (setuid(getuid()) == -1) in Fopen()
1583 ruid = getuid(); in Fopen()
1733 if ((getuid() != geteuid()) || (getgid() != getegid())) { in PrivsElevated()
1753 if (getuid() == 0) { in PrivsElevated()
2009 if (getuid() != geteuid()) { in CheckUserAuthorization()
2010 pw = getpwuid(getuid()); in CheckUserAuthorization()
2012 FatalError("getpwuid() failed for uid %d\n", getuid()); in CheckUserAuthorization()
/OK3568_Linux_fs/buildroot/package/popt/
H A D0005-fix-build-without-mbstate_t.patch39 -AC_CHECK_FUNCS([getuid geteuid iconv mtrace secure_getenv __secure_getenv setreuid setuid stpcpy s…
40 +AC_CHECK_FUNCS([getuid geteuid iconv mtrace secure_getenv __secure_getenv setreuid setuid stpcpy s…
H A D0002-Detect-glob_pattern_p.patch36 -AC_CHECK_FUNCS(getuid geteuid iconv mtrace secure_getenv __secure_getenv setreuid setuid stpcpy st…
37 +AC_CHECK_FUNCS(getuid geteuid iconv mtrace secure_getenv __secure_getenv setreuid setuid stpcpy st…
H A D0003-configure-replace-deprecated-macros.patch71 -AC_CHECK_FUNCS(getuid geteuid iconv mtrace secure_getenv __secure_getenv setreuid setuid stpcpy st…
73 +AC_CHECK_FUNCS([getuid geteuid iconv mtrace secure_getenv __secure_getenv setreuid setuid stpcpy s…
/OK3568_Linux_fs/kernel/tools/testing/selftests/safesetid/
H A Dsafesetid-test.c179 uid = getuid(); in test_userns()
218 if (getuid() == child_uid) in test_setuid()
/OK3568_Linux_fs/kernel/tools/testing/selftests/media_tests/
H A Dmedia_device_open.c66 if (getuid() != 0) in main()
H A Dmedia_device_test.c71 if (getuid() != 0) in main()
/OK3568_Linux_fs/kernel/tools/thermal/tmon/
H A Dtmon.c128 syslog(LOG_NOTICE, "TMON started by User %d", getuid()); in start_syslog()
160 if (logstat.st_uid != getuid()) { in prepare_logging()
/OK3568_Linux_fs/buildroot/dl/unixbench/git/UnixBench/src/
H A Dsyscall.c70 getuid();
/OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/pulseaudio/pulseaudio/
H A D0001-client-conf-Add-allow-autospawn-for-root.patch90 - if (getuid() == 0)
91 + if (!c->conf->allow_autospawn_for_root && getuid() == 0)
/OK3568_Linux_fs/kernel/arch/um/os-Linux/
H A Duser_syms.c102 EXPORT_SYMBOL_PROTO(getuid);
/OK3568_Linux_fs/kernel/tools/testing/selftests/clone3/
H A Dclone3_cap_checkpoint_restore.c147 EXPECT_EQ(getuid(), 0) in TEST()
H A Dclone3.c129 uid_t uid = getuid(); in main()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_bpftool.py64 if os.getuid() != 0:
/OK3568_Linux_fs/yocto/poky/scripts/contrib/
H A Doe-build-perf-report-email.py68 pw_data = pwd.getpwuid(os.getuid())
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/toastermain/
H A Dsettings.py213 'LOCATION': '/tmp/toaster_cache_%d' % os.getuid(),
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/chrony/chrony/
H A Darm_eabi.patch46 SCMP_SYS(getuid),
/OK3568_Linux_fs/kernel/tools/testing/selftests/breakpoints/
H A Dstep_after_suspend_test.c138 if (getuid() != 0) in suspend()
/OK3568_Linux_fs/kernel/tools/testing/selftests/mount/
H A Dnosymfollow-test.c96 uid_t uid = getuid(); in create_and_enter_ns()
/OK3568_Linux_fs/kernel/tools/testing/selftests/pidfd/
H A Dpidfd_getfd_test.c185 uid = getuid(); in TEST_F()
/OK3568_Linux_fs/kernel/tools/testing/selftests/ipc/
H A Dmsgque.c200 if (getuid() != 0) in main()

12345