Lines Matching refs:kegid
387 kgid_t krgid, kegid; in __sys_setregid() local
390 kegid = make_kgid(ns, egid); in __sys_setregid()
394 if ((egid != (gid_t) -1) && !gid_valid(kegid)) in __sys_setregid()
412 if (gid_eq(old->gid, kegid) || in __sys_setregid()
413 gid_eq(old->egid, kegid) || in __sys_setregid()
414 gid_eq(old->sgid, kegid) || in __sys_setregid()
416 new->egid = kegid; in __sys_setregid()
422 (egid != (gid_t) -1 && !gid_eq(kegid, old->gid))) in __sys_setregid()
784 kgid_t krgid, kegid, ksgid; in __sys_setresgid() local
788 kegid = make_kgid(ns, egid); in __sys_setresgid()
793 if ((egid != (gid_t) -1) && !gid_valid(kegid)) in __sys_setresgid()
802 (egid == (gid_t) -1 || (gid_eq(kegid, old->egid) && in __sys_setresgid()
803 gid_eq(kegid, old->fsgid))) && in __sys_setresgid()
809 egid_new = egid != (gid_t) -1 && !gid_eq(kegid, old->gid) && in __sys_setresgid()
810 !gid_eq(kegid, old->egid) && !gid_eq(kegid, old->sgid); in __sys_setresgid()
824 new->egid = kegid; in __sys_setresgid()