Home
last modified time | relevance | path

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

12

/external/openssh/openbsd-compat/
Dbsd-setres_id.c31 setresgid(gid_t rgid, gid_t egid, gid_t sgid) in setresgid() argument
35 if (rgid != sgid) { in setresgid()
40 if (setregid(rgid, egid) < 0) { in setresgid()
42 error("setregid %u: %.100s", rgid, strerror(errno)); in setresgid()
53 if (setgid(rgid) < 0) { in setresgid()
55 error("setgid %u: %.100s", rgid, strerror(errno)); in setresgid()
/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/libchrome/sandbox/linux/services/
Dsyscall_wrappers.cc117 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()
Dsyscall_wrappers_unittest.cc77 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()
Dcredentials.cc46 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()
Dsyscall_wrappers.h64 SANDBOX_EXPORT int sys_getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid);
/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/libchrome/sandbox/linux/suid/
Dsandbox.c327 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/ltp/testcases/kernel/syscalls/setresgid/
Dsetresgid01.c83 uid_t *rgid; /* real GID */ member
131 TEST(SETRESGID(cleanup, *tdat[testno].rgid, *tdat[testno].egid, in main()
Dsetresgid03.c90 uid_t *rgid; /* real GID */ member
130 TEST(SETRESGID(cleanup, *tdat[testno].rgid, *tdat[testno].egid, in main()
Dsetresgid02.c88 uid_t *rgid; /* real GID */ member
138 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.h89 __u32 rgid; /* task gid */ member
/external/icu/icu4c/source/data/locales/
Det.txt893 consonantal_jamo{"Konsonantide märgid"}
896 digits{"Numbrimärgid"}
897 dingbats{"Piltmärgid"}
909 format_whitespace{"Vorming ja tühimärgid"}
913 han_characters{"Hani kirjamärgid"}
920 ideographic_desc_characters{"Ideogrammide kirjeldusmärgid"}
947 punctuation{"Kirjavahemärgid"}
959 tone_marks{"Toonimärgid"}
964 vocalic_jamo{"Vokaalide märgid"}
/external/ltp/tools/top-LTP/proc/
Dreadproc.h127 ruid, rgid, /* real */ member
Dreadproc.c145 &P->rgid, &P->egid, &P->sgid, &P->fgid); in status2proc()
475 strncpy(p->rgroup, group_from_gid(p->rgid), in readproc()
586 strncpy(p->rgroup, group_from_gid(p->rgid), sizeof p->rgroup); in ps_readproc()
/external/ltp/lib/
Dsafe_macros.c347 gid_t *rgid, gid_t *egid, gid_t *sgid) in safe_getresgid() argument
351 rval = getresgid(rgid, egid, sgid); in safe_getresgid()
355 file, lineno, rgid, egid, sgid); in safe_getresgid()
/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.h89 #define SAFE_GETRESGID(cleanup_fn, rgid, egid, sgid) \ argument
90 safe_getresgid(__FILE__, __LINE__, cleanup_fn, (rgid), (egid), (sgid))
/external/ltp/include/
Dtst_safe_macros.h103 #define SAFE_GETRESGID(rgid, egid, sgid) \ argument
104 safe_getresgid(__FILE__, __LINE__, NULL, (rgid), (egid), (sgid))
Dsafe_macros_fn.h96 gid_t *rgid, gid_t *egid, gid_t *sgid);
/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 …]
/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/valgrind/memcheck/tests/x86-linux/
Dscalar.stderr.exp735 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)

12