Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/
Dsys.c387 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()
[all …]