/external/openssh/openbsd-compat/ |
D | bsd-getpeereid.c | 28 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid() argument 35 *euid = cred.uid; in getpeereid() 47 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid() argument 53 if ((*euid = ucred_geteuid(ucred)) == -1) in getpeereid() 64 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid() argument 66 *euid = geteuid(); in getpeereid()
|
D | bsd-setres_id.c | 66 setresuid(uid_t ruid, uid_t euid, uid_t suid) in setresuid() argument 75 if (setreuid(ruid, euid) < 0) { in setresuid() 84 if (seteuid(euid) < 0) { in setresuid() 86 error("seteuid %u: %.100s", euid, strerror(errno)); in setresuid()
|
D | bsd-misc.c | 81 int seteuid(uid_t euid) in seteuid() argument 83 return (setreuid(-1, euid)); in seteuid()
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
D | pscap.c | 67 int pid, ppid, uid = -1, euid = -1; in main() local 126 euid = 0; in main() 138 &id, &euid); in main() 153 if (euid == 0) { in main() 157 } else if (euid != uid) { in main() 159 p = getpwuid(euid); in main() 160 uid = euid; in main()
|
D | captest.c | 57 uid_t uid, euid, suid; in report() local 67 getresuid(&uid, &euid, &suid); in report() 70 if ((uid != euid && uid != 0) || in report() 75 getresuid(&uid, &euid, &suid); in report() 86 printf("User credentials uid:%d euid:%d suid:%d\n", uid, euid, suid); in report() 90 if (uid != euid || gid != egid) in report()
|
D | netcap.c | 63 int fd, len, euid = -1; in collect_process_info() local 114 euid = 0; in collect_process_info() 126 &id, &euid); in collect_process_info() 196 node.uid = euid; in collect_process_info()
|
/external/autotest/client/site_tests/security_Minijail0/src/ |
D | common.sh | 16 euid=$(id -u) 17 [ "$euid" != "$1" ] && die "euid $euid != $1"
|
/external/toybox/toys/posix/ |
D | id.c | 90 uid_t uid = getuid(), euid = geteuid(); in do_id() local 98 uid = euid = pw->pw_uid; in do_id() 104 pw = xgetpwuid(i ? uid : euid); in do_id() 115 if (uid != euid) { in do_id() 116 pw = xgetpwuid(euid); in do_id()
|
/external/toybox/toys/other/ |
D | nsenter.c | 88 static void handle_r(int euid, int egid) in handle_r() argument 97 write_ugid_map("/proc/self/uid_map", euid); in handle_r() 125 int euid = geteuid(), egid = getegid(); in unshare_main() local 134 if (test_r()) handle_r(euid, egid); in unshare_main()
|
/external/libchrome/sandbox/linux/services/ |
D | syscall_wrappers.cc | 100 int sys_getresuid(uid_t* ruid, uid_t* euid, uid_t* suid) { in sys_getresuid() argument 105 res = syscall(__NR_getresuid32, ruid, euid, suid); in sys_getresuid() 107 res = syscall(__NR_getresuid, ruid, euid, suid); in sys_getresuid() 111 if (euid) MSAN_UNPOISON(euid, sizeof(*euid)); in sys_getresuid()
|
D | syscall_wrappers_unittest.cc | 67 uid_t ruid, euid, suid; in TEST() local 69 ASSERT_EQ(0, getresuid(&ruid, &euid, &suid)); in TEST() 72 EXPECT_EQ(euid, sys_euid); in TEST()
|
D | credentials.cc | 45 uid_t ruid, euid, suid; in GetRESIds() local 47 PCHECK(sys_getresuid(&ruid, &euid, &suid) == 0); in GetRESIds() 49 const bool uids_are_equal = (ruid == euid) && (ruid == suid); in GetRESIds() 52 if (resuid) *resuid = euid; in GetRESIds()
|
/external/selinux/policycoreutils/audit2allow/ |
D | test.log | 4 …1 a2=154d50 a3=92c5120 items=1 ppid=13935 pid=13944 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 eg… 6 …0 a2=b5b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 eg… 8 …0 a2=b5b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 eg… 10 … a2=3282ec a3=bf992a04 items=0 ppid=24423 pid=24427 auid=3267 uid=0 gid=0 euid=3267 suid=3267 fsui… 12 …0 a2=b5b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 eg… 15 …a2=31fff4 a3=2008171 items=0 ppid=23762 pid=23768 auid=3267 uid=48 gid=48 euid=48 suid=48 fsuid=48… 17 …0 a2=b5b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 eg… 19 …0 a2=b5b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 eg… 22 …a2=31fff4 a3=2008171 items=0 ppid=23762 pid=23770 auid=3267 uid=48 gid=48 euid=48 suid=48 fsuid=48… 24 …800 a2=0 a3=bf973110 items=0 ppid=23765 pid=12387 auid=3267 uid=48 gid=48 euid=48 suid=48 fsuid=48… [all …]
|
/external/selinux/sepolgen/tests/test_data/ |
D | audit.log | 2 …=bfb6479c a3=bfb647dc items=0 ppid=6311 pid=6314 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 eg… 5 … a2=4db18a64 a3=bfdb2fde items=0 ppid=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=… 7 …33c a1=0 a2=1 a3=8aeffb8 items=0 ppid=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=… 9 … a1=42 a2=1c0 a3=9c0e840 items=0 ppid=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=… 11 … a2=bf991e3c a3=bf991e3c items=0 ppid=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=… 16 …000 a2=1b6 a3=8e1f9a8 items=0 ppid=6356 pid=6377 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 eg… 18 …a1=2 a2=bfa1e1e0 a3=0 items=0 ppid=6377 pid=6378 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=… 20 …1=0 a2=1b6 a3=85b5008 items=0 ppid=6377 pid=6378 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=… 22 … a2=ce8ff4 a3=85b5008 items=0 ppid=6377 pid=6378 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=… 27 …1=80c2 a2=180 a3=80c2 items=0 ppid=6356 pid=6377 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 eg… [all …]
|
D | short.log | 2 …=bfb6479c a3=bfb647dc items=0 ppid=6311 pid=6314 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 eg… 5 … a2=4db18a64 a3=bfdb2fde items=0 ppid=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=… 7 …33c a1=0 a2=1 a3=8aeffb8 items=0 ppid=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=… 9 … a1=42 a2=1c0 a3=9c0e840 items=0 ppid=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=… 11 … a2=bf991e3c a3=bf991e3c items=0 ppid=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=…
|
D | httpd.log | 3154 …22b8b0 a2=9222138 a3=11 items=0 ppid=8102 pid=8103 auid=500 uid=81 gid=81 euid=81 suid=81 fsuid=81… 3159 …b65830 a2=4d18494 a3=1f items=0 ppid=8102 pid=8103 auid=500 uid=81 gid=81 euid=81 suid=81 fsuid=81… 3163 …cd505b a2=1 a3=b7fb1688 items=0 ppid=6659 pid=8102 auid=500 uid=81 gid=81 euid=81 suid=81 fsuid=81… 3166 … a1=bfcd5408 a2=1 a3=13 items=0 ppid=6659 pid=8102 auid=500 uid=81 gid=81 euid=81 suid=81 fsuid=81… 3185 …d2a8 a1=8000 a2=0 a3=8000 items=0 ppid=8085 pid=8094 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 eg… 3187 …1 a2=bf7ffd68 a3=bf7ffda8 items=0 ppid=8085 pid=8094 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 eg… 3202 …830 a2=99b6ab8 a3=99b6638 items=0 ppid=8108 pid=8111 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 eg… 3209 … a1=0 a2=bfb0bbbc a3=9b16fe0 items=0 ppid=1 pid=8112 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 eg… 3213 …057e86 a1=41 a2=0 a3=9b16fe0 items=0 ppid=1 pid=8112 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 eg… 3215 … a1=bfb0bc48 a2=4 a3=9b16fe0 items=0 ppid=1 pid=8112 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 eg… [all …]
|
/external/minijail/examples/ |
D | drop_privs.cpp | 26 uid_t ruid, euid, suid; in log_resugid() local 28 getresuid(&ruid, &euid, &suid); in log_resugid() 31 LOG(INFO) << "ruid " << ruid << " euid " << euid << " suid " << suid; in log_resugid()
|
/external/toybox/ |
D | main.c | 106 uid_t uid = getuid(), euid = geteuid(); in toy_init() local 109 if (uid != euid) { in toy_init() 110 if (setuid(uid)) perror_exit("setuid %d->%d", euid, uid); // drop root in toy_init() 111 euid = uid; in toy_init() 117 if ((which->flags & TOYFLAG_NEEDROOT) && euid) help_exit("Not root"); in toy_init()
|
/external/minijail/test/ |
D | libminijail_test.cpp | 97 uid_t ruid, euid, suid; in log_resugid() local 99 getresuid(&ruid, &euid, &suid); in log_resugid() 102 LOG(INFO) << "ruid " << ruid << " euid " << euid << " suid " << suid; in log_resugid()
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/ |
D | mock-archive.txt | 7 GET%www.msn.com%/?euid=&userGroup=W:default&PM=z:1%%[('accept-encoding', 'gzip,deflate'), ('host', … 8 GET%www.msn.com%/?euid=342%%[('accept-encoding', 'gzip,deflate'), ('host', 'www.msn.com'), ('x-requ…
|
/external/dbus/bus/ |
D | activation-helper.c | 170 uid_t uid, euid; in check_permissions() local 175 euid = 0; in check_permissions() 194 euid = geteuid(); in check_permissions() 195 if (euid != 0) in check_permissions()
|
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/sanitizer/ |
D | linux_syscall_hooks.h | 77 #define __sanitizer_syscall_pre_getresuid(ruid, euid, suid) \ argument 78 __sanitizer_syscall_pre_impl_getresuid((long)(ruid), (long)(euid), \ 80 #define __sanitizer_syscall_post_getresuid(res, ruid, euid, suid) \ argument 81 __sanitizer_syscall_post_impl_getresuid(res, (long)(ruid), (long)(euid), \ 113 #define __sanitizer_syscall_pre_setreuid(ruid, euid) \ argument 114 __sanitizer_syscall_pre_impl_setreuid((long)(ruid), (long)(euid)) 115 #define __sanitizer_syscall_post_setreuid(res, ruid, euid) \ argument 116 __sanitizer_syscall_post_impl_setreuid(res, (long)(ruid), (long)(euid)) 121 #define __sanitizer_syscall_pre_setresuid(ruid, euid, suid) \ argument 122 __sanitizer_syscall_pre_impl_setresuid((long)(ruid), (long)(euid), \ [all …]
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 77 #define __sanitizer_syscall_pre_getresuid(ruid, euid, suid) \ argument 78 __sanitizer_syscall_pre_impl_getresuid((long)(ruid), (long)(euid), \ 80 #define __sanitizer_syscall_post_getresuid(res, ruid, euid, suid) \ argument 81 __sanitizer_syscall_post_impl_getresuid(res, (long)(ruid), (long)(euid), \ 113 #define __sanitizer_syscall_pre_setreuid(ruid, euid) \ argument 114 __sanitizer_syscall_pre_impl_setreuid((long)(ruid), (long)(euid)) 115 #define __sanitizer_syscall_post_setreuid(res, ruid, euid) \ argument 116 __sanitizer_syscall_post_impl_setreuid(res, (long)(ruid), (long)(euid)) 121 #define __sanitizer_syscall_pre_setresuid(ruid, euid, suid) \ argument 122 __sanitizer_syscall_pre_impl_setresuid((long)(ruid), (long)(euid), \ [all …]
|
/external/e2fsprogs/misc/ |
D | uuidd.c | 64 uid_t euid; in create_daemon() local 83 euid = geteuid(); in create_daemon() 84 if (setreuid(euid, euid) < 0) in create_daemon()
|
/external/kernel-headers/original/uapi/linux/ |
D | cn_proc.h | 92 __u32 euid; member
|