Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/
Dsys.c371 kgid_t krgid, kegid; in __sys_setregid() local
373 krgid = make_kgid(ns, rgid); in __sys_setregid()
376 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setregid()
388 if (gid_eq(old->gid, krgid) || in __sys_setregid()
389 gid_eq(old->egid, krgid) || in __sys_setregid()
391 new->gid = krgid; in __sys_setregid()
763 kgid_t krgid, kegid, ksgid; in __sys_setresgid() local
765 krgid = make_kgid(ns, rgid); in __sys_setresgid()
769 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setresgid()
783 if (rgid != (gid_t) -1 && !gid_eq(krgid, old->gid) && in __sys_setresgid()
[all …]