Home
last modified time | relevance | path

Searched refs:krgid (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/kernel/
Dsys.c378 kgid_t krgid, kegid; in __sys_setregid() local
380 krgid = make_kgid(ns, rgid); in __sys_setregid()
383 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setregid()
395 if (gid_eq(old->gid, krgid) || in __sys_setregid()
396 gid_eq(old->egid, krgid) || in __sys_setregid()
398 new->gid = krgid; in __sys_setregid()
775 kgid_t krgid, kegid, ksgid; in __sys_setresgid() local
778 krgid = make_kgid(ns, rgid); in __sys_setresgid()
782 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setresgid()
792 if ((rgid == (gid_t) -1 || gid_eq(krgid, old->gid)) && in __sys_setresgid()
[all …]