Home
last modified time | relevance | path

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

/kernel/
Duid16.c38 SYSCALL_DEFINE2(setregid16, old_gid_t, rgid, old_gid_t, egid) in SYSCALL_DEFINE2() argument
40 return __sys_setregid(low2highgid(rgid), low2highgid(egid)); in SYSCALL_DEFINE2()
81 SYSCALL_DEFINE3(setresgid16, old_gid_t, rgid, old_gid_t, egid, old_gid_t, sgid) in SYSCALL_DEFINE3() argument
83 return __sys_setresgid(low2highgid(rgid), low2highgid(egid), in SYSCALL_DEFINE3()
91 old_gid_t rgid, egid, sgid; in SYSCALL_DEFINE3() local
93 rgid = high2lowgid(from_kgid_munged(cred->user_ns, cred->gid)); in SYSCALL_DEFINE3()
97 if (!(retval = put_user(rgid, rgidp)) && in SYSCALL_DEFINE3()
Duid16.h8 long __sys_setregid(gid_t rgid, gid_t egid);
10 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid);
Dsys.c366 long __sys_setregid(gid_t rgid, gid_t egid) in __sys_setregid() argument
374 krgid = make_kgid(ns, rgid); in __sys_setregid()
377 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setregid()
388 if (rgid != (gid_t) -1) { in __sys_setregid()
406 if (rgid != (gid_t) -1 || in __sys_setregid()
422 SYSCALL_DEFINE2(setregid, gid_t, rgid, gid_t, egid) in SYSCALL_DEFINE2() argument
424 return __sys_setregid(rgid, egid); in SYSCALL_DEFINE2()
763 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid) in __sys_setresgid() argument
772 krgid = make_kgid(ns, rgid); in __sys_setresgid()
776 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setresgid()
[all …]