Searched refs:rgid (Results 1 – 3 of 3) sorted by relevance
/kernel/ |
D | uid16.c | 38 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()
|
D | uid16.h | 8 long __sys_setregid(gid_t rgid, gid_t egid); 10 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid);
|
D | sys.c | 361 long __sys_setregid(gid_t rgid, gid_t egid) in __sys_setregid() argument 369 krgid = make_kgid(ns, rgid); in __sys_setregid() 372 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setregid() 383 if (rgid != (gid_t) -1) { in __sys_setregid() 401 if (rgid != (gid_t) -1 || in __sys_setregid() 417 SYSCALL_DEFINE2(setregid, gid_t, rgid, gid_t, egid) in SYSCALL_DEFINE2() argument 419 return __sys_setregid(rgid, egid); in SYSCALL_DEFINE2() 737 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid) in __sys_setresgid() argument 746 krgid = make_kgid(ns, rgid); in __sys_setresgid() 750 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setresgid() [all …]
|