Home
last modified time | relevance | path

Searched refs:sgid (Results 1 – 25 of 50) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/utils/
Dcompat_16.h39 int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
40 int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
146 int SETRESGID(void (cleanup)(void), GID_T rgid, GID_T egid, GID_T sgid) in SETRESGID() argument
148 LTP_CREATE_SYSCALL(setresgid, cleanup, rgid, egid, sgid); in SETRESGID()
151 int GETRESGID(void (cleanup)(void), GID_T *rgid, GID_T *egid, GID_T *sgid) in GETRESGID() argument
153 LTP_CREATE_SYSCALL(getresgid, cleanup, rgid, egid, sgid); in GETRESGID()
Dcompat_tst_16.h35 int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
138 int SETRESGID(GID_T rgid, GID_T egid, GID_T sgid) in SETRESGID() argument
140 TST_CREATE_SYSCALL(setresgid, rgid, egid, sgid); in SETRESGID()
/external/selinux/python/sepolgen/tests/test_data/
Daudit.log2 …pid=6311 pid=6314 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=(…
5 …=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(…
7 …=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(…
9 …=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(…
11 …=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(…
16 …pid=6356 pid=6377 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=p…
18 …77 pid=6378 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=p…
20 …77 pid=6378 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=p…
22 …77 pid=6378 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=p…
27 …pid=6356 pid=6377 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=p…
[all …]
Dhttpd.log3154 …pid=8102 pid=8103 auid=500 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81 sgid=81 fsgid=81 tty=(no…
3159 …pid=8102 pid=8103 auid=500 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81 sgid=81 fsgid=81 tty=(no…
3163 …pid=6659 pid=8102 auid=500 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81 sgid=81 fsgid=81 tty=(no…
3166 …pid=6659 pid=8102 auid=500 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81 sgid=81 fsgid=81 tty=(no…
3185 …ms=0 ppid=8085 pid=8094 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 …
3187 …ms=0 ppid=8085 pid=8094 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 …
3202 …ms=0 ppid=8108 pid=8111 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 …
3209 …items=0 ppid=1 pid=8112 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none…
3213 …items=0 ppid=1 pid=8112 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none…
3215 …items=0 ppid=1 pid=8112 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none…
[all …]
Dshort.log2 …pid=6311 pid=6314 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=(…
5 …=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(…
7 …=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(…
9 …=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(…
11 …=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(…
/external/selinux/python/audit2allow/
Dtest.log4 …1 ppid=13935 pid=13944 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none…
6 …0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts10…
8 …0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts10…
10 … pid=24427 auid=3267 uid=0 gid=0 euid=3267 suid=3267 fsuid=3267 egid=3267 sgid=3267 fsgid=3267 tty…
12 …0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts10…
15 …=23762 pid=23768 auid=3267 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(no…
17 …0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts10…
19 …0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts10…
22 …=23762 pid=23770 auid=3267 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(no…
24 …=23765 pid=12387 auid=3267 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(no…
[all …]
/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/libcap-ng/libcap-ng-0.7/utils/
Dcaptest.c58 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()
/external/squashfs-tools/squashfs-tools/
Dpseudo.c279 char suid[100], sgid[100]; /* overflow safe */ in read_pseudo_def() local
309 n = sscanf(def, " %c %o %99s %99s %n", &type, &mode, suid, sgid, in read_pseudo_def()
418 gid = strtoll(sgid, &ptr, 10); in read_pseudo_def()
421 ERROR("Gid %s out of range\n", sgid); in read_pseudo_def()
425 struct group *grgid = getgrnam(sgid); in read_pseudo_def()
429 ERROR("Gid %s invalid uid or unknown user\n", sgid); in read_pseudo_def()
/external/minijail/test/
Dlibminijail_test.cpp99 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/openssh/openbsd-compat/
Dbsd-setres_id.c29 setresgid(gid_t rgid, gid_t egid, gid_t sgid) in setresgid() argument
33 if (rgid != sgid) { in setresgid()
/external/ltp/testcases/kernel/syscalls/setresgid/
Dsetresgid01.c86 uid_t *sgid; /* saved GID */ member
133 *tdat[testno].sgid)); in main()
Dsetresgid03.c93 uid_t *sgid; /* saved GID */ member
132 *tdat[testno].sgid)); in main()
Dsetresgid02.c91 uid_t *sgid; /* saved GID */ member
140 *tdat[testno].sgid)); in main()
/external/kernel-headers/original/uapi/rdma/
Dib_user_sa.h57 __u8 sgid[16]; member
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h83 #define __sanitizer_syscall_pre_getresgid(rgid, egid, sgid) \ argument
85 (long)(sgid))
86 #define __sanitizer_syscall_post_getresgid(res, rgid, egid, sgid) \ argument
88 (long)(sgid))
127 #define __sanitizer_syscall_pre_setresgid(rgid, egid, sgid) \ argument
129 (long)(sgid))
130 #define __sanitizer_syscall_post_setresgid(res, rgid, egid, sgid) \ argument
132 (long)(sgid))
883 #define __sanitizer_syscall_pre_setresgid16(rgid, egid, sgid) \ argument
884 __sanitizer_syscall_pre_impl_setresgid16((long)rgid, (long)egid, (long)sgid)
[all …]
/external/google-breakpad/src/third_party/lss/
Dlinux_syscall_support.h3197 gid_t *sgid) { 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()
3308 gid_t *sgid) { 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/selinux/python/sepolgen/tests/
Daudit.txt2 …ms=0 ppid=8131 pid=8132 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none…
5 …ms=0 ppid=8132 pid=8133 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none…
8 …ms=0 ppid=8132 pid=8134 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none…
11 …ms=0 ppid=8131 pid=8144 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none…
14 …ms=0 ppid=8144 pid=8145 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none…
17 …ms=0 ppid=8144 pid=8146 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none…
20 …ms=0 ppid=8131 pid=8144 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none…
23 …ms=0 ppid=8151 pid=8152 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none…
26 …ms=0 ppid=8151 pid=8153 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none…
29 …ms=0 ppid=8131 pid=8144 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none…
[all …]
/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/ltp/include/
Dsafe_macros_fn.h92 gid_t *rgid, gid_t *egid, gid_t *sgid);
Dtst_safe_macros.h132 #define SAFE_GETRESGID(rgid, egid, sgid) \ argument
133 safe_getresgid(__FILE__, __LINE__, NULL, (rgid), (egid), (sgid))
/external/syzkaller/sys/freebsd/
Dsys.txt73 setresgid(rgid gid, egid gid, sgid gid)
75 getresgid(rgid ptr[out, gid], egid ptr[out, gid], sgid ptr[out, gid])
/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) {
312 if (sgid) POST_WRITE(sgid, sizeof(unsigned));
357 PRE_SYSCALL(setresgid)(long rgid, long egid, long sgid) {}
359 POST_SYSCALL(setresgid)(long res, long rgid, long egid, long sgid) {}
1497 PRE_SYSCALL(setresgid16)(long rgid, long egid, long sgid) {}
1499 POST_SYSCALL(setresgid16)(long res, long rgid, long egid, long sgid) {}
1501 PRE_SYSCALL(getresgid16)(void *rgid, void *egid, void *sgid) {}
1505 __sanitizer___kernel_old_gid_t *sgid) {
1509 if (sgid) POST_WRITE(sgid, sizeof(*sgid));
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dzsyscall_openbsd_386.go1253 func Setresgid(rgid int, egid int, sgid int) (err error) {
1254 _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))

12