/external/toybox/toys/posix/ |
D | id.c | 91 gid_t gid = getgid(), egid = getegid(), *groups; in do_id() local 99 gid = egid = pw->pw_gid; in do_id() 107 grp = xgetgrgid(i ? gid : egid); in do_id() 119 if (gid != egid) { in do_id() 120 grp = xgetgrgid(egid); in do_id() 141 else if (grp->gr_gid != egid) showid("", grp->gr_gid, grp->gr_name); in do_id()
|
/external/autotest/client/site_tests/security_Minijail0/src/ |
D | common.sh | 27 egid=$(id -g) 28 [ "$egid" != "$1" ] && die "egid $egid != $1"
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
D | captest.c | 58 gid_t gid, egid, sgid; in report() local 68 getresgid(&gid, &egid, &sgid); in report() 79 getresgid(&gid, &egid, &sgid); in report() 89 printf("Group credentials gid:%d egid:%d sgid:%d\n", gid, egid, sgid); in report() 90 if (uid != euid || gid != egid) in report()
|
/external/toybox/toys/other/ |
D | nsenter.c | 88 static void handle_r(int euid, int egid) in handle_r() argument 98 write_ugid_map("/proc/self/gid_map", egid); 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 | 117 int sys_getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid) { in sys_getresgid() argument 122 res = syscall(__NR_getresgid32, rgid, egid, sgid); in sys_getresgid() 124 res = syscall(__NR_getresgid, rgid, egid, sgid); in sys_getresgid() 128 if (egid) MSAN_UNPOISON(egid, sizeof(*egid)); in sys_getresgid()
|
D | syscall_wrappers_unittest.cc | 77 gid_t rgid, egid, sgid; in TEST() local 79 ASSERT_EQ(0, getresgid(&rgid, &egid, &sgid)); in TEST() 82 EXPECT_EQ(egid, sys_egid); in TEST()
|
D | credentials.cc | 46 gid_t rgid, egid, sgid; in GetRESIds() local 48 PCHECK(sys_getresgid(&rgid, &egid, &sgid) == 0); in GetRESIds() 50 const bool gids_are_equal = (rgid == egid) && (rgid == sgid); in GetRESIds() 53 if (resgid) *resgid = egid; in GetRESIds()
|
D | syscall_wrappers.h | 64 SANDBOX_EXPORT int sys_getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid);
|
/external/selinux/policycoreutils/audit2allow/ |
D | test.log | 4 … items=1 ppid=13935 pid=13944 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 6 … items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 8 … items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 10 …ppid=24423 pid=24427 auid=3267 uid=0 gid=0 euid=3267 suid=3267 fsuid=3267 egid=3267 sgid=3267 fsgi… 12 … items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 15 …s=0 ppid=23762 pid=23768 auid=3267 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48… 17 … items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 19 … items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 22 …s=0 ppid=23762 pid=23770 auid=3267 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48… 24 …s=0 ppid=23765 pid=12387 auid=3267 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48… [all …]
|
/external/selinux/sepolgen/tests/test_data/ |
D | audit.log | 2 …items=0 ppid=6311 pid=6314 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=… 5 …ms=0 ppid=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=… 7 …ms=0 ppid=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=… 9 …ms=0 ppid=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=… 11 …ms=0 ppid=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=… 16 …items=0 ppid=6356 pid=6377 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=… 18 …0 ppid=6377 pid=6378 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=… 20 …0 ppid=6377 pid=6378 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=… 22 …0 ppid=6377 pid=6378 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=… 27 …items=0 ppid=6356 pid=6377 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=… [all …]
|
D | short.log | 2 …items=0 ppid=6311 pid=6314 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=… 5 …ms=0 ppid=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=… 7 …ms=0 ppid=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=… 9 …ms=0 ppid=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=… 11 …ms=0 ppid=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=…
|
D | httpd.log | 3154 …tems=0 ppid=8102 pid=8103 auid=500 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81 sgid=81 fsgid=81… 3159 …tems=0 ppid=8102 pid=8103 auid=500 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81 sgid=81 fsgid=81… 3163 …tems=0 ppid=6659 pid=8102 auid=500 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81 sgid=81 fsgid=81… 3166 …tems=0 ppid=6659 pid=8102 auid=500 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81 sgid=81 fsgid=81… 3185 …000 items=0 ppid=8085 pid=8094 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 3187 …da8 items=0 ppid=8085 pid=8094 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 3202 …638 items=0 ppid=8108 pid=8111 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 3209 …b16fe0 items=0 ppid=1 pid=8112 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 3213 …b16fe0 items=0 ppid=1 pid=8112 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 3215 …b16fe0 items=0 ppid=1 pid=8112 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… [all …]
|
/external/minijail/examples/ |
D | drop_privs.cpp | 27 gid_t rgid, egid, sgid; in log_resugid() local 29 getresgid(&rgid, &egid, &sgid); in log_resugid() 32 LOG(INFO) << "rgid " << rgid << " egid " << egid << " sgid " << sgid; in log_resugid()
|
/external/minijail/test/ |
D | libminijail_test.cpp | 98 gid_t rgid, egid, sgid; in log_resugid() local 100 getresgid(&rgid, &egid, &sgid); in log_resugid() 103 LOG(INFO) << "rgid " << rgid << " egid " << egid << " sgid " << sgid; in log_resugid()
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 83 #define __sanitizer_syscall_pre_getresgid(rgid, egid, sgid) \ argument 84 __sanitizer_syscall_pre_impl_getresgid((long)(rgid), (long)(egid), \ 86 #define __sanitizer_syscall_post_getresgid(res, rgid, egid, sgid) \ argument 87 __sanitizer_syscall_post_impl_getresgid(res, (long)(rgid), (long)(egid), \ 105 #define __sanitizer_syscall_pre_setregid(rgid, egid) \ argument 106 __sanitizer_syscall_pre_impl_setregid((long)(rgid), (long)(egid)) 107 #define __sanitizer_syscall_post_setregid(res, rgid, egid) \ argument 108 __sanitizer_syscall_post_impl_setregid(res, (long)(rgid), (long)(egid)) 127 #define __sanitizer_syscall_pre_setresgid(rgid, egid, sgid) \ argument 128 __sanitizer_syscall_pre_impl_setresgid((long)(rgid), (long)(egid), \ [all …]
|
/external/kernel-headers/original/uapi/linux/ |
D | cn_proc.h | 93 __u32 egid; member
|
/external/libchrome/sandbox/linux/suid/ |
D | sandbox.c | 327 gid_t rgid, egid, sgid; in DropRoot() local 328 if (getresgid(&rgid, &egid, &sgid)) { in DropRoot()
|
/external/google-breakpad/src/third_party/lss/ |
D | linux_syscall_support.h | 3196 gid_t *egid, in LSS_NAME() 3198 return LSS_NAME(getresgid)(rgid, egid, sgid); in LSS_NAME() 3227 LSS_INLINE int LSS_NAME(setresgid32)(gid_t rgid, gid_t egid, gid_t sgid) { in LSS_NAME() 3228 return LSS_NAME(setresgid)(rgid, egid, sgid); in LSS_NAME() 3307 gid_t *egid, in _syscall4() 3310 if ((rc = LSS_NAME(_getresgid32)(rgid, egid, sgid)) < 0 && in _syscall4() 3312 if ((rgid == NULL) || (egid == NULL) || (sgid == NULL)) { in _syscall4() 3316 *rgid = *egid = *sgid = 0; in _syscall4() 3317 rc = LSS_NAME(getresgid)(rgid, egid, sgid); in _syscall4() 3364 LSS_INLINE int LSS_NAME(setresgid32)(gid_t rgid, gid_t egid, gid_t sgid) { in LSS_NAME() [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_syscalls.inc | 306 PRE_SYSCALL(getresgid)(void *rgid, void *egid, void *sgid) {} 308 POST_SYSCALL(getresgid)(long res, void *rgid, void *egid, void *sgid) { 311 if (egid) POST_WRITE(egid, sizeof(unsigned)); 337 PRE_SYSCALL(setregid)(long rgid, long egid) {} 339 POST_SYSCALL(setregid)(long res, long rgid, long egid) {} 357 PRE_SYSCALL(setresgid)(long rgid, long egid, long sgid) {} 359 POST_SYSCALL(setresgid)(long res, long rgid, long egid, long sgid) {} 1467 PRE_SYSCALL(setregid16)(long rgid, long egid) {} 1469 POST_SYSCALL(setregid16)(long res, long rgid, long egid) {} 1499 PRE_SYSCALL(setresgid16)(long rgid, long egid, long sgid) {} [all …]
|
D | sanitizer_common_interceptors.inc | 4329 INTERCEPTOR(int, getresgid, void *rgid, void *egid, void *sgid) { 4331 COMMON_INTERCEPTOR_ENTER(ctx, getresgid, rgid, egid, sgid); 4335 int res = REAL(getresgid)(rgid, egid, sgid); 4338 if (egid) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, egid, gid_t_sz);
|
/external/selinux/sepolgen/tests/ |
D | audit.txt | 2 …3=0 items=0 ppid=8131 pid=8132 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 5 …3=0 items=0 ppid=8132 pid=8133 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 8 …3=0 items=0 ppid=8132 pid=8134 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 11 …3=0 items=0 ppid=8131 pid=8144 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 14 …3=0 items=0 ppid=8144 pid=8145 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 17 …3=0 items=0 ppid=8144 pid=8146 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 20 …3=0 items=0 ppid=8131 pid=8144 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 23 …3=0 items=0 ppid=8151 pid=8152 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 26 …3=0 items=0 ppid=8151 pid=8153 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… 29 …3=0 items=0 ppid=8131 pid=8144 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tt… [all …]
|
/external/dbus/dbus/ |
D | dbus-sysdeps-unix.c | 1826 gid_t egid; in _dbus_read_credentials_socket() 1827 if (getpeereid (client_fd, &euid, &egid) == 0) in _dbus_read_credentials_socket() 4164 gid_t rgid, egid, sgid; /* Real, effective and saved group ID's */ in _dbus_check_setuid() local 4173 getresgid (&rgid, &egid, &sgid) != 0) in _dbus_check_setuid() 4179 egid = getegid (); in _dbus_check_setuid() 4184 rgid != egid || rgid != sgid); in _dbus_check_setuid()
|
/external/valgrind/memcheck/tests/x86-linux/ |
D | scalar.stderr.exp | 739 Syscall param setregid16(egid) contains uninitialised byte(s) 2028 Syscall param setresgid16(egid) contains uninitialised byte(s) 2043 Syscall param getresgid16(egid) contains uninitialised byte(s) 2056 Syscall param getresgid16(egid) points to unaddressable byte(s) 2657 Syscall param setregid(egid) contains uninitialised byte(s) 2760 Syscall param setresgid(egid) contains uninitialised byte(s) 2775 Syscall param getresgid(egid) contains uninitialised byte(s) 2788 Syscall param getresgid(egid) points to unaddressable byte(s)
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-linux.c | 663 vki_old_gid_t, egid, vki_old_gid_t, sgid); in PRE() 670 vki_gid_t, rgid, vki_gid_t, egid, vki_gid_t, sgid); in PRE() 677 vki_old_gid_t *, rgid, vki_old_gid_t *, egid, in PRE() 697 vki_gid_t *, rgid, vki_gid_t *, egid, vki_gid_t *, sgid); in PRE() 2488 PRE_REG_READ2(long, "setregid16", vki_old_gid_t, rgid, vki_old_gid_t, egid); in PRE()
|
D | syswrap-generic.c | 4286 PRE_REG_READ2(long, "setregid", vki_gid_t, rgid, vki_gid_t, egid); in PRE()
|