/external/minijail/test/ |
D | libminijail_test.cpp | 58 gid_t rgid = getgid(); in check_ugid() local 59 if (rgid != expected_id) { in check_ugid() 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/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() 127 if (rgid) MSAN_UNPOISON(rgid, sizeof(*rgid)); 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() 81 EXPECT_EQ(rgid, sys_rgid); 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()
|
D | syscall_wrappers.h | 64 SANDBOX_EXPORT int sys_getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid);
|
/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/libchrome/sandbox/linux/suid/ |
D | sandbox.c | 327 gid_t rgid, egid, sgid; in DropRoot() local 328 if (getresgid(&rgid, &egid, &sgid)) { in DropRoot() 333 if (setresgid(rgid, rgid, rgid)) { in DropRoot()
|
/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 | 89 __u32 rgid; /* task gid */ member
|
/external/google-breakpad/src/third_party/lss/ |
D | linux_syscall_support.h | 3195 LSS_INLINE int LSS_NAME(getresgid32)(gid_t *rgid, 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() 3306 LSS_INLINE int LSS_NAME(getresgid32)(gid_t *rgid, 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) { 310 if (rgid) POST_WRITE(rgid, 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); 4337 if (rgid) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, rgid, gid_t_sz);
|
/external/dbus/dbus/ |
D | dbus-sysdeps-unix.c | 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() 4177 sgid = rgid = getgid (); in _dbus_check_setuid() 4184 rgid != egid || rgid != sgid); in _dbus_check_setuid()
|
/external/opencv3/3rdparty/include/dshow/ |
D | dsound.h | 1136 … STDMETHOD(Get)(THIS_ REFGUID rgid,ULONG x1,LPVOID p1,ULONG x2,LPVOID p2,ULONG x3,ULONG *px4) PURE; in DECLARE_INTERFACE_() 1137 STDMETHOD(Set)(THIS_ REFGUID rgid,ULONG x1,LPVOID p1,ULONG x2,LPVOID p2,ULONG x3) PURE; in DECLARE_INTERFACE_() 1138 STDMETHOD(QuerySupport)(THIS_ REFGUID rgid,ULONG x1,ULONG *px2) PURE; in DECLARE_INTERFACE_()
|
/external/valgrind/memcheck/tests/x86-linux/ |
D | scalar.stderr.exp | 735 Syscall param setregid16(rgid) contains uninitialised byte(s) 2024 Syscall param setresgid16(rgid) contains uninitialised byte(s) 2039 Syscall param getresgid16(rgid) contains uninitialised byte(s) 2051 Syscall param getresgid16(rgid) points to unaddressable byte(s) 2653 Syscall param setregid(rgid) contains uninitialised byte(s) 2756 Syscall param setresgid(rgid) contains uninitialised byte(s) 2771 Syscall param getresgid(rgid) contains uninitialised byte(s) 2783 Syscall param getresgid(rgid) points to unaddressable byte(s)
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-linux.c | 662 vki_old_gid_t, rgid, 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()
|
/external/valgrind/memcheck/tests/solaris/ |
D | scalar.stderr.exp | 4176 Syscall param setregid(rgid) contains uninitialised byte(s)
|