Lines Matching refs:krgid
387 kgid_t krgid, kegid; in __sys_setregid() local
389 krgid = make_kgid(ns, rgid); in __sys_setregid()
392 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setregid()
404 if (gid_eq(old->gid, krgid) || in __sys_setregid()
405 gid_eq(old->egid, krgid) || in __sys_setregid()
407 new->gid = krgid; in __sys_setregid()
784 kgid_t krgid, kegid, ksgid; in __sys_setresgid() local
787 krgid = make_kgid(ns, rgid); in __sys_setresgid()
791 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setresgid()
801 if ((rgid == (gid_t) -1 || gid_eq(krgid, old->gid)) && in __sys_setresgid()
807 rgid_new = rgid != (gid_t) -1 && !gid_eq(krgid, old->gid) && in __sys_setresgid()
808 !gid_eq(krgid, old->egid) && !gid_eq(krgid, old->sgid); in __sys_setresgid()
822 new->gid = krgid; in __sys_setresgid()