/external/ltp/testcases/kernel/syscalls/utils/ |
D | compat_16.h | 37 int setresgid(gid_t rgid, gid_t egid, gid_t sgid); 38 int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); 129 int SETREGID(void (cleanup)(void), GID_T rgid, GID_T egid) in SETREGID() argument 131 LTP_CREATE_SYSCALL(setregid, cleanup, rgid, egid); in SETREGID() 144 int SETRESGID(void (cleanup)(void), GID_T rgid, GID_T egid, GID_T sgid) in SETRESGID() argument 146 LTP_CREATE_SYSCALL(setresgid, cleanup, rgid, egid, sgid); in SETRESGID() 149 int GETRESGID(void (cleanup)(void), GID_T *rgid, GID_T *egid, GID_T *sgid) in GETRESGID() argument 151 LTP_CREATE_SYSCALL(getresgid, cleanup, rgid, egid, sgid); in GETRESGID()
|
D | compat_tst_16.h | 33 int setresgid(gid_t rgid, gid_t egid, gid_t sgid); 126 int SETREGID(GID_T rgid, GID_T egid) in SETREGID() argument 128 TST_CREATE_SYSCALL(setregid, rgid, egid); in SETREGID() 136 int SETRESGID(GID_T rgid, GID_T egid, GID_T sgid) in SETRESGID() argument 138 TST_CREATE_SYSCALL(setresgid, rgid, egid, sgid); in SETRESGID()
|
/external/toybox/toys/posix/ |
D | id.c | 90 gid_t gid = getgid(), egid = getegid(); in do_id() local 103 gid = egid = pw->pw_gid; in do_id() 110 grp = xgetgrgid(FLAG(r) ? gid : egid); in do_id() 120 if (groups[i] != egid) { in do_id() 138 if (gid != egid) { in do_id() 139 grp = xgetgrgid(egid); in do_id() 146 if (groups[i] != egid) { in do_id()
|
/external/ltp/testcases/kernel/syscalls/setregid/ |
D | setregid01.c | 25 static gid_t gid, egid; /* current real and effective group id */ variable 34 {&neg_one, &egid, "Change effective to effective gid" }, 57 egid = getegid(); in setup() 58 GID16_CHECK(egid, setregid); in setup()
|
/external/openssh/openbsd-compat/ |
D | bsd-setres_id.c | 29 setresgid(gid_t rgid, gid_t egid, gid_t sgid) in setresgid() argument 38 if (setregid(rgid, egid) < 0) { in setresgid() 45 if (setegid(egid) < 0) { in setresgid() 47 error("setegid %lu: %.100s", (u_long)egid, strerror(errno)); in setresgid()
|
/external/toybox/toys/other/ |
D | nsenter.c | 91 static void handle_r(int euid, int egid) in handle_r() argument 101 write_ugid_map("/proc/self/gid_map", egid); in handle_r() 128 int euid = geteuid(), egid = getegid(); in unshare_main() local 137 if (test_r()) handle_r(euid, egid); in unshare_main()
|
/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/selinux/python/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/python/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 | 28 gid_t rgid, egid, sgid; in log_resugid() local 30 getresgid(&rgid, &egid, &sgid); in log_resugid() 33 LOG(INFO) << "rgid " << rgid << " egid " << egid << " sgid " << sgid; in log_resugid()
|
/external/python/cpython2/Misc/ |
D | setuid-prog.c | 128 gid_t egid = getegid(); in main() local 162 if (setregid(egid, egid) < 0) in main()
|
/external/mtools/ |
D | privileges.c | 74 static gid_t rgid, egid; variable 115 setgid(egid); in reclaim_privs() 164 egid = getegid(); in init_privs()
|
/external/libcap/goapps/web/ |
D | web.go | 57 egid := syscall.Getegid() 59 if uid != euid || gid != egid { 60 log.Fatalf("go runtime is setuid uids:(%d vs %d), gids(%d vs %d)", uid, euid, gid, egid)
|
/external/ltp/testcases/kernel/syscalls/getgroups/ |
D | getgroups03.c | 163 GID_T egid; in verify_groups() local 193 egid = getegid(); in verify_groups() 203 if (groups[i] != egid) { in verify_groups()
|
/external/minijail/test/ |
D | libminijail_test.cpp | 99 gid_t rgid, egid, sgid; in log_resugid() local 101 getresgid(&rgid, &egid, &sgid); in log_resugid() 104 LOG(INFO) << "rgid " << rgid << " egid " << egid << " sgid " << sgid; in log_resugid()
|
/external/ltp/lib/ |
D | tst_safe_macros.c | 83 gid_t rgid, gid_t egid) in safe_setregid() argument 87 rval = setregid(rgid, egid); in safe_setregid() 91 (long)rgid, (long)egid); in safe_setregid()
|
/external/ltp/include/ |
D | tst_safe_macros.h | 106 #define SAFE_SETEGID(egid) \ argument 107 safe_setegid(__FILE__, __LINE__, NULL, (egid)) 119 gid_t rgid, gid_t egid); 121 #define SAFE_SETREGID(rgid, egid) \ argument 122 safe_setregid(__FILE__, __LINE__, (rgid), (egid)) 133 #define SAFE_GETRESGID(rgid, egid, sgid) \ argument 134 safe_getresgid(__FILE__, __LINE__, NULL, (rgid), (egid), (sgid))
|
/external/ltp/testcases/kernel/syscalls/setresgid/ |
D | setresgid01.c | 85 uid_t *egid; /* effective GID */ member 132 TEST(SETRESGID(cleanup, *tdat[testno].rgid, *tdat[testno].egid, in main()
|
D | setresgid03.c | 92 uid_t *egid; /* effective GID */ member 131 TEST(SETRESGID(cleanup, *tdat[testno].rgid, *tdat[testno].egid, in main()
|
D | setresgid02.c | 90 uid_t *egid; /* effective GID */ member 139 TEST(SETRESGID(cleanup, *tdat[testno].rgid, *tdat[testno].egid, in main()
|
/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/llvm-project/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 82 #define __sanitizer_syscall_pre_getresgid(rgid, egid, sgid) \ argument 83 __sanitizer_syscall_pre_impl_getresgid((long)(rgid), (long)(egid), \ 85 #define __sanitizer_syscall_post_getresgid(res, rgid, egid, sgid) \ argument 86 __sanitizer_syscall_post_impl_getresgid(res, (long)(rgid), (long)(egid), \ 104 #define __sanitizer_syscall_pre_setregid(rgid, egid) \ argument 105 __sanitizer_syscall_pre_impl_setregid((long)(rgid), (long)(egid)) 106 #define __sanitizer_syscall_post_setregid(res, rgid, egid) \ argument 107 __sanitizer_syscall_post_impl_setregid(res, (long)(rgid), (long)(egid)) 126 #define __sanitizer_syscall_pre_setresgid(rgid, egid, sgid) \ argument 127 __sanitizer_syscall_pre_impl_setresgid((long)(rgid), (long)(egid), \ [all …]
|
/external/ltp/include/old/ |
D | safe_macros.h | 73 #define SAFE_SETEGID(cleanup_fn, egid) \ argument 74 safe_setegid(__FILE__, __LINE__, cleanup_fn, (egid)) 88 #define SAFE_GETRESGID(cleanup_fn, rgid, egid, sgid) \ argument 89 safe_getresgid(__FILE__, __LINE__, cleanup_fn, (rgid), (egid), (sgid))
|