/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
D | setresgid.c | 43 gid_t rgid = 0; in setresgid_0100() local 46 result = getresgid(&rgid, &egid, &sgid); in setresgid_0100() 51 if ((rgid != srgid) || (egid != segid) || (sgid != ssgid)) { in setresgid_0100() 52 t_error("%s failed: rgid = %d\n", __func__, rgid); in setresgid_0100() 86 gid_t rgid = 0; in setresgid_0200() local 89 result = getresgid(&rgid, &egid, &sgid); in setresgid_0200() 94 if ((rgid != srgid) || (egid != segid) || (sgid != ssgid)) { in setresgid_0200() 95 t_error("%s failed: rgid = %d\n", __func__, rgid); in setresgid_0200()
|
/third_party/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()
|
/third_party/ltp/lib/ |
D | tst_uid.c | 100 gid_t rgid, egid, sgid; in tst_check_resgid_() local 102 SAFE_GETRESGID(&rgid, &egid, &sgid); in tst_check_resgid_() 104 if (rgid == exp_rgid && egid == exp_egid && sgid == exp_sgid) in tst_check_resgid_() 115 (int)rgid, (int)egid, (int)sgid); in tst_check_resgid_()
|
D | tst_safe_macros.c | 111 gid_t rgid, gid_t egid) in safe_setregid() argument 115 rval = setregid(rgid, egid); in safe_setregid() 119 "setregid(%li, %li) failed", (long)rgid, (long)egid); in safe_setregid() 123 (long)rgid, (long)egid, rval); in safe_setregid() 149 gid_t rgid, gid_t egid, gid_t sgid) in safe_setresgid() argument 153 ret = setresgid(rgid, egid, sgid); in safe_setresgid() 157 "setregid(%li, %li, %li) failed", (long)rgid, in safe_setresgid() 162 (long)rgid, (long)egid, (long)sgid, ret); in safe_setresgid()
|
D | safe_macros.c | 401 gid_t *rgid, gid_t *egid, gid_t *sgid) in safe_getresgid() argument 405 rval = getresgid(rgid, egid, sgid); in safe_getresgid() 409 "getresgid(%p, %p, %p) failed", rgid, egid, sgid); in safe_getresgid() 412 "Invalid getresgid(%p, %p, %p) return value %d", rgid, in safe_getresgid()
|
/third_party/musl/src/unistd/ |
D | setregid.c | 5 int setregid(gid_t rgid, gid_t egid) in setregid() argument 7 return __setxid(SYS_setregid, rgid, egid, 0); in setregid()
|
D | setresgid.c | 6 int setresgid(gid_t rgid, gid_t egid, gid_t sgid) in setresgid() argument 8 return __setxid(SYS_setresgid, rgid, egid, sgid); in setresgid()
|
/third_party/musl/src/misc/ |
D | getresgid.c | 5 int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid) in getresgid() argument 7 return syscall(SYS_getresgid, rgid, egid, sgid); in getresgid()
|
/third_party/ltp/include/ |
D | tst_uid.h | 37 #define tst_check_resgid(cstr, rgid, egid, sgid) \ argument 38 tst_check_resgid_(__FILE__, __LINE__, (cstr), (rgid), (egid), (sgid))
|
D | tst_safe_macros.h | 112 gid_t rgid, gid_t egid); 114 #define SAFE_SETREGID(rgid, egid) \ argument 115 safe_setregid(__FILE__, __LINE__, (rgid), (egid)) 124 gid_t rgid, gid_t egid, gid_t sgid); 125 #define SAFE_SETRESGID(rgid, egid, sgid) \ argument 126 safe_setresgid(__FILE__, __LINE__, (rgid), (egid), (sgid)) 136 #define SAFE_GETRESGID(rgid, egid, sgid) \ argument 137 safe_getresgid(__FILE__, __LINE__, NULL, (rgid), (egid), (sgid))
|
D | safe_macros_fn.h | 92 gid_t *rgid, gid_t *egid, gid_t *sgid);
|
/third_party/ltp/testcases/kernel/syscalls/setresgid/ |
D | setresgid03.c | 23 gid_t *rgid; member 66 TST_EXP_FAIL(SETRESGID(*tc->rgid, *tc->egid, *tc->sgid), EPERM, "%s", in run()
|
D | setresgid02.c | 27 gid_t *rgid; member 74 TST_EXP_PASS_SILENT(SETRESGID(*tc->rgid, *tc->egid, *tc->sgid), "%s", in run()
|
D | setresgid01.c | 84 uid_t *rgid; /* real GID */ member 132 TEST(SETRESGID(cleanup, *tdat[testno].rgid, *tdat[testno].egid, in main()
|
/third_party/ltp/include/old/ |
D | safe_macros.h | 88 #define SAFE_GETRESGID(cleanup_fn, rgid, egid, sgid) \ argument 89 safe_getresgid(__FILE__, __LINE__, cleanup_fn, (rgid), (egid), (sgid))
|
/third_party/glib/glib/ |
D | gutils.c | 3063 gid_t rgid, egid, sgid; /* Real, effective and saved group ID's */ in g_check_setuid() 3074 int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); in g_check_setuid() 3077 getresgid (&rgid, &egid, &sgid) != 0) in g_check_setuid() 3081 sgid = rgid = getgid (); in g_check_setuid() 3087 rgid != egid || rgid != sgid); in g_check_setuid()
|
/third_party/ntfs-3g/libfuse-lite/ |
D | fusermount.c | 143 gid_t rgid, egid, sgid; in restore_privs() local 145 if (getresgid(&rgid, &egid, &sgid) < 0) { in restore_privs()
|
/third_party/ltp/testcases/kernel/connectors/pec/ |
D | pec_listener.c | 207 pe->event_data.id.e.egid, pe->event_data.id.r.rgid); in process_event()
|
/third_party/python/Modules/clinic/ |
D | posixmodule.c.h | 3796 os_setregid_impl(PyObject *module, gid_t rgid, gid_t egid); 3802 gid_t rgid; in os_setregid() local 3808 if (!_Py_Gid_Converter(args[0], &rgid)) { in os_setregid() 3814 return_value = os_setregid_impl(module, rgid, egid); in os_setregid() 7377 os_setresgid_impl(PyObject *module, gid_t rgid, gid_t egid, gid_t sgid); 7383 gid_t rgid; in os_setresgid() local 7390 if (!_Py_Gid_Converter(args[0], &rgid)) { in os_setresgid() 7399 return_value = os_setresgid_impl(module, rgid, egid, sgid); in os_setresgid()
|
/third_party/python/Modules/ |
D | posixmodule.c | 8111 os_setregid_impl(PyObject *module, gid_t rgid, gid_t egid) in os_setregid_impl() argument 8114 if (setregid(rgid, egid) < 0) in os_setregid_impl() 12645 os_setresgid_impl(PyObject *module, gid_t rgid, gid_t egid, gid_t sgid) in os_setresgid_impl() argument 12648 if (setresgid(rgid, egid, sgid) < 0) in os_setresgid_impl() 12687 gid_t rgid, egid, sgid; in os_getresgid_impl() local 12688 if (getresgid(&rgid, &egid, &sgid) < 0) in os_getresgid_impl() 12690 return Py_BuildValue("(NNN)", _PyLong_FromGid(rgid), in os_getresgid_impl()
|
/third_party/flutter/skia/third_party/externals/icu/source/data/locales/ |
D | et.txt | 975 format_whitespace{"vorming ja tühimärgid"}
|
/third_party/skia/third_party/externals/icu/source/data/locales/ |
D | et.txt | 984 format_whitespace{"vorming ja tühimärgid"}
|
/third_party/icu/icu4c/source/data/locales/ |
D | et.txt | 984 format_whitespace{"vorming ja tühimärgid"}
|
/third_party/python/Doc/library/ |
D | os.rst | 477 Return a tuple (rgid, egid, sgid) denoting the current process's 599 .. function:: setregid(rgid, egid) 606 .. function:: setresgid(rgid, egid, sgid)
|