Home
last modified time | relevance | path

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

/linux-2.4.37.9/kernel/ !
Duid16.c45 asmlinkage long sys_setregid16(old_gid_t rgid, old_gid_t egid) in sys_setregid16() argument
47 return sys_setregid(low2highgid(rgid), low2highgid(egid)); in sys_setregid16()
82 asmlinkage long sys_setresgid16(old_gid_t rgid, old_gid_t egid, old_gid_t sgid) in sys_setresgid16() argument
84 return sys_setresgid(low2highgid(rgid), low2highgid(egid), in sys_setresgid16()
88 asmlinkage long sys_getresgid16(old_gid_t *rgid, old_gid_t *egid, old_gid_t *sgid) in sys_getresgid16() argument
92 if (!(retval = put_user(high2lowgid(current->gid), rgid)) && in sys_getresgid16()
Dsys.c395 asmlinkage long sys_setregid(gid_t rgid, gid_t egid) in sys_setregid() argument
402 if (rgid != (gid_t) -1) { in sys_setregid()
403 if ((old_rgid == rgid) || in sys_setregid()
404 (current->egid==rgid) || in sys_setregid()
406 new_rgid = rgid; in sys_setregid()
425 if (rgid != (gid_t) -1 || in sys_setregid()
694 asmlinkage long sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid) in sys_setresgid() argument
697 if ((rgid != (gid_t) -1) && (rgid != current->gid) && in sys_setresgid()
698 (rgid != current->egid) && (rgid != current->sgid)) in sys_setresgid()
716 if (rgid != (gid_t) -1) in sys_setresgid()
[all …]
/linux-2.4.37.9/arch/ia64/ia32/ !
Dsys_ia32.c3555 extern asmlinkage long sys_getresgid (gid_t *rgid, gid_t *egid, gid_t *sgid);
3558 sys32_getresgid16 (u16 *rgid, u16 *egid, u16 *sgid) in sys32_getresgid16() argument
3571 return put_user(a, rgid) | put_user(b, egid) | put_user(c, sgid); in sys32_getresgid16()
4240 extern asmlinkage long sys_setregid(gid_t rgid, gid_t egid);
4243 sys32_setregid(__kernel_gid_t32 rgid, __kernel_gid_t32 egid) in sys32_setregid() argument
4247 srgid = (rgid == (__kernel_gid_t32)-1) ? ((gid_t)-1) : ((gid_t)rgid); in sys32_setregid()
4252 extern asmlinkage long sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid);
4255 sys32_setresgid(__kernel_gid_t32 rgid, __kernel_gid_t32 egid, in sys32_setresgid() argument
4260 srgid = (rgid == (__kernel_gid_t32)-1) ? ((gid_t)-1) : ((gid_t)rgid); in sys32_setresgid()
/linux-2.4.37.9/arch/sparc64/kernel/ !
Dsys_sparc32.c144 asmlinkage long sys32_setregid16(u16 rgid, u16 egid) in sys32_setregid16() argument
146 return sys_setregid(low2highgid(rgid), low2highgid(egid)); in sys32_setregid16()
181 asmlinkage long sys32_setresgid16(u16 rgid, u16 egid, u16 sgid) in sys32_setresgid16() argument
183 return sys_setresgid(low2highgid(rgid), low2highgid(egid), in sys32_setresgid16()
187 asmlinkage long sys32_getresgid16(u16 *rgid, u16 *egid, u16 *sgid) in sys32_getresgid16() argument
191 if (!(retval = put_user(high2lowgid(current->gid), rgid)) && in sys32_getresgid16()
/linux-2.4.37.9/arch/s390x/kernel/ !
Dlinux32.c126 asmlinkage long sys32_setregid16(u16 rgid, u16 egid) in sys32_setregid16() argument
128 return sys_setregid(low2highgid(rgid), low2highgid(egid)); in sys32_setregid16()
163 asmlinkage long sys32_setresgid16(u16 rgid, u16 egid, u16 sgid) in sys32_setresgid16() argument
165 return sys_setresgid(low2highgid(rgid), low2highgid(egid), in sys32_setresgid16()
169 asmlinkage long sys32_getresgid16(u16 *rgid, u16 *egid, u16 *sgid) in sys32_getresgid16() argument
173 if (!(retval = put_user(high2lowgid(current->gid), rgid)) && in sys32_getresgid16()