Searched refs:sgid (Results 1 - 7 of 7) sorted by relevance

/kernel/
H A Duid16.c77 SYSCALL_DEFINE3(setresgid16, old_gid_t, rgid, old_gid_t, egid, old_gid_t, sgid)
80 low2highgid(sgid));
88 old_gid_t rgid, egid, sgid; local
92 sgid = high2lowgid(from_kgid_munged(cred->user_ns, cred->sgid));
96 retval = put_user(sgid, sgidp);
H A Dsys.c352 gid_eq(old->sgid, kegid) ||
361 new->sgid = new->egid;
395 new->gid = new->egid = new->sgid = new->fsgid = kgid;
396 else if (gid_eq(kgid, old->gid) || gid_eq(kgid, old->sgid))
655 * Same as above, but for rgid, egid, sgid.
657 SYSCALL_DEFINE3(setresgid, gid_t, rgid, gid_t, egid, gid_t, sgid)
667 ksgid = make_kgid(ns, sgid);
673 if ((sgid != (gid_t) -1) && !gid_valid(ksgid))
684 !gid_eq(krgid, old->egid) && !gid_eq(krgid, old->sgid))
687 !gid_eq(kegid, old->egid) && !gid_eq(kegid, old->sgid))
713 gid_t rgid, egid, sgid; local
[all...]
H A Dcred.c44 .sgid = GLOBAL_ROOT_GID,
473 !gid_eq(new->sgid, old->sgid) ||
737 from_kgid_munged(&init_user_ns, cred->sgid),
H A Daudit.h146 kgid_t gid, egid, sgid, fsgid; member in struct:audit_context
H A Dauditsc.c377 return audit_compare_gid(cred->sgid, name, f, ctx);
410 return audit_gid_comparator(cred->gid, f->op, cred->sgid);
415 return audit_gid_comparator(cred->egid, f->op, cred->sgid);
418 /* sgid comparison */
420 return audit_gid_comparator(cred->sgid, f->op, cred->fsgid);
500 result = audit_gid_comparator(cred->sgid, f->op, f->gid);
H A Dptrace.c241 gid_eq(cred->gid, tcred->sgid) &&
H A Daudit.c1873 " egid=%u sgid=%u fsgid=%u tty=%s ses=%u",
1883 from_kgid(&init_user_ns, cred->sgid),

Completed in 52 milliseconds