Home
last modified time | relevance | path

Searched refs:rgid (Results 1 – 25 of 27) sorted by relevance

12

/external/minijail/test/
Dlibminijail_test.cpp59 gid_t rgid = getgid(); in check_ugid() local
60 if (rgid != expected_id) { in check_ugid()
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/testcases/kernel/syscalls/utils/
Dcompat_16.h38 int setresgid(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()
139 int SETRESGID(void (cleanup)(void), GID_T rgid, GID_T egid, GID_T sgid) in SETRESGID() argument
141 LTP_CREATE_SYSCALL(setresgid, cleanup, rgid, egid, sgid); in SETRESGID()
/external/minijail/examples/
Ddrop_privs.cpp28 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/ltp/testcases/kernel/syscalls/setresgid/
Dsetresgid01.c84 uid_t *rgid; /* real GID */ member
132 TEST(SETRESGID(cleanup, *tdat[testno].rgid, *tdat[testno].egid, in main()
Dsetresgid03.c91 uid_t *rgid; /* real GID */ member
131 TEST(SETRESGID(cleanup, *tdat[testno].rgid, *tdat[testno].egid, in main()
Dsetresgid02.c89 uid_t *rgid; /* real GID */ member
139 TEST(SETRESGID(cleanup, *tdat[testno].rgid, *tdat[testno].egid, in main()
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h83 #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/
Dcn_proc.h90 __u32 rgid; /* task gid */ member
/external/google-breakpad/src/third_party/lss/
Dlinux_syscall_support.h3195 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/ltp/include/old/
Dsafe_macros.h88 #define SAFE_GETRESGID(cleanup_fn, rgid, egid, sgid) \ argument
89 safe_getresgid(__FILE__, __LINE__, cleanup_fn, (rgid), (egid), (sgid))
/external/ltp/lib/
Dsafe_macros.c337 gid_t *rgid, gid_t *egid, gid_t *sgid) in safe_getresgid() argument
341 rval = getresgid(rgid, egid, sgid); in safe_getresgid()
345 file, lineno, rgid, egid, sgid); in safe_getresgid()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc306 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) {}
1465 PRE_SYSCALL(setregid16)(long rgid, long egid) {}
1467 POST_SYSCALL(setregid16)(long res, long rgid, long egid) {}
1497 PRE_SYSCALL(setresgid16)(long rgid, long egid, long sgid) {}
[all …]
Dsanitizer_common_interceptors.inc4636 INTERCEPTOR(int, getresgid, void *rgid, void *egid, void *sgid) {
4638 COMMON_INTERCEPTOR_ENTER(ctx, getresgid, rgid, egid, sgid);
4642 int res = REAL(getresgid)(rgid, egid, sgid);
4644 if (rgid) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, rgid, gid_t_sz);
/external/ltp/include/
Dsafe_macros_fn.h92 gid_t *rgid, gid_t *egid, gid_t *sgid);
Dtst_safe_macros.h115 #define SAFE_GETRESGID(rgid, egid, sgid) \ argument
116 safe_getresgid(__FILE__, __LINE__, NULL, (rgid), (egid), (sgid))
/external/ltp/testcases/kernel/connectors/pec/
Dpec_listener.c211 pe->event_data.id.e.egid, pe->event_data.id.r.rgid); in process_event()
/external/python/cpython3/Modules/clinic/
Dposixmodule.c.h2780 os_setregid_impl(PyObject *module, gid_t rgid, gid_t egid);
2786 gid_t rgid; in os_setregid() local
2790 _Py_Gid_Converter, &rgid, _Py_Gid_Converter, &egid)) { in os_setregid()
2793 return_value = os_setregid_impl(module, rgid, egid); in os_setregid()
5163 os_setresgid_impl(PyObject *module, gid_t rgid, gid_t egid, gid_t sgid);
5169 gid_t rgid; in os_setresgid() local
5174 _Py_Gid_Converter, &rgid, _Py_Gid_Converter, &egid, _Py_Gid_Converter, &sgid)) { in os_setresgid()
5177 return_value = os_setresgid_impl(module, rgid, egid, sgid); in os_setresgid()
/external/python/cpython2/Modules/
Dposixmodule.c6040 gid_t rgid, egid; in posix_setregid() local
6042 _Py_Gid_Converter, &rgid, in posix_setregid()
6045 if (setregid(rgid, egid) < 0) { in posix_setregid()
8780 gid_t rgid, egid, sgid; in posix_setresgid() local
8782 _Py_Gid_Converter, &rgid, in posix_setresgid()
8786 if (setresgid(rgid, egid, sgid) < 0) in posix_setresgid()
8817 uid_t rgid, egid, sgid; in posix_getresgid() local
8818 if (getresgid(&rgid, &egid, &sgid) < 0) in posix_getresgid()
8820 return Py_BuildValue("(NNN)", _PyInt_FromGid(rgid), in posix_getresgid()
/external/valgrind/memcheck/tests/x86-linux/
Dscalar.stderr.exp842 Syscall param setregid16(rgid) contains uninitialised byte(s)
2131 Syscall param setresgid16(rgid) contains uninitialised byte(s)
2146 Syscall param getresgid16(rgid) contains uninitialised byte(s)
2158 Syscall param getresgid16(rgid) points to unaddressable byte(s)
2793 Syscall param setregid(rgid) contains uninitialised byte(s)
2896 Syscall param setresgid(rgid) contains uninitialised byte(s)
2911 Syscall param getresgid(rgid) contains uninitialised byte(s)
2923 Syscall param getresgid(rgid) points to unaddressable byte(s)
/external/python/cpython3/Modules/
Dposixmodule.c6607 os_setregid_impl(PyObject *module, gid_t rgid, gid_t egid) in os_setregid_impl() argument
6610 if (setregid(rgid, egid) < 0) in os_setregid_impl()
10506 os_setresgid_impl(PyObject *module, gid_t rgid, gid_t egid, gid_t sgid)
10509 if (setresgid(rgid, egid, sgid) < 0)
10548 gid_t rgid, egid, sgid;
10549 if (getresgid(&rgid, &egid, &sgid) < 0)
10551 return Py_BuildValue("(NNN)", _PyLong_FromGid(rgid),
/external/valgrind/memcheck/tests/arm64-linux/
Dscalar.stderr.exp355 Syscall param setregid(rgid) contains uninitialised byte(s)
1216 Syscall param setresgid(rgid) contains uninitialised byte(s)
1231 Syscall param getresgid(rgid) contains uninitialised byte(s)
1243 Syscall param getresgid(rgid) points to unaddressable byte(s)
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-linux.c1075 vki_old_gid_t, rgid, in PRE()
1083 vki_gid_t, rgid, vki_gid_t, egid, vki_gid_t, sgid); in PRE()
1090 vki_old_gid_t *, rgid, vki_old_gid_t *, egid, in PRE()
1110 vki_gid_t *, rgid, vki_gid_t *, egid, vki_gid_t *, sgid); in PRE()
2980 PRE_REG_READ2(long, "setregid16", vki_old_gid_t, rgid, vki_old_gid_t, egid); in PRE()
/external/icu/icu4c/source/data/locales/
Det.txt973 format_whitespace{"vorming ja tühimärgid"}
/external/python/cpython2/Doc/library/
Dos.rst248 Return a tuple (rgid, egid, sgid) denoting the current process's
347 .. function:: setregid(rgid, egid)
354 .. function:: setresgid(rgid, egid, sgid)
/external/python/cpython3/Doc/library/
Dos.rst413 Return a tuple (rgid, egid, sgid) denoting the current process's
532 .. function:: setregid(rgid, egid)
539 .. function:: setresgid(rgid, egid, sgid)

12