Home
last modified time | relevance | path

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

/linux-2.4.37.9/kernel/
Duid16.c55 asmlinkage long sys_setreuid16(old_uid_t ruid, old_uid_t euid) in sys_setreuid16() argument
57 return sys_setreuid(low2highuid(ruid), low2highuid(euid)); in sys_setreuid16()
65 asmlinkage long sys_setresuid16(old_uid_t ruid, old_uid_t euid, old_uid_t suid) in sys_setresuid16() argument
67 return sys_setresuid(low2highuid(ruid), low2highuid(euid), in sys_setresuid16()
71 asmlinkage long sys_getresuid16(old_uid_t *ruid, old_uid_t *euid, old_uid_t *suid) in sys_getresuid16() argument
75 if (!(retval = put_user(high2lowuid(current->uid), ruid)) && in sys_getresuid16()
Dsys.c545 asmlinkage long sys_setreuid(uid_t ruid, uid_t euid) in sys_setreuid() argument
553 if (ruid != (uid_t) -1) { in sys_setreuid()
554 new_ruid = ruid; in sys_setreuid()
555 if ((old_ruid != ruid) && in sys_setreuid()
556 (current->euid != ruid) && in sys_setreuid()
579 if (ruid != (uid_t) -1 || in sys_setreuid()
640 asmlinkage long sys_setresuid(uid_t ruid, uid_t euid, uid_t suid) in sys_setresuid() argument
647 if ((ruid != (uid_t) -1) && (ruid != current->uid) && in sys_setresuid()
648 (ruid != current->euid) && (ruid != current->suid)) in sys_setresuid()
657 if (ruid != (uid_t) -1) { in sys_setresuid()
[all …]
/linux-2.4.37.9/net/sunrpc/
Dauth_unix.c167 unx_marshal(struct rpc_task *task, u32 *p, int ruid) in unx_marshal() argument
187 if (ruid && cred->uc_uid != 0 && cred->uc_gid != 0) { in unx_marshal()
Dauth_null.c87 nul_marshal(struct rpc_task *task, u32 *p, int ruid) in nul_marshal() argument
/linux-2.4.37.9/fs/nfs/
Dnfs3proc.c120 nfs3_proc_access(struct inode *inode, int mode, int ruid) in nfs3_proc_access() argument
143 flags = (ruid) ? RPC_CALL_REALUID : 0; in nfs3_proc_access()
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c3537 extern asmlinkage long sys_getresuid (uid_t *ruid, uid_t *euid, uid_t *suid);
3540 sys32_getresuid16 (u16 *ruid, u16 *euid, u16 *suid) in sys32_getresuid16() argument
3550 if (put_user(a, ruid) || put_user(b, euid) || put_user(c, suid)) in sys32_getresuid16()
4215 extern asmlinkage long sys_setreuid(uid_t ruid, uid_t euid);
4217 asmlinkage long sys32_setreuid(__kernel_uid_t32 ruid, __kernel_uid_t32 euid) in sys32_setreuid() argument
4221 sruid = (ruid == (__kernel_uid_t32)-1) ? ((uid_t)-1) : ((uid_t)ruid); in sys32_setreuid()
4226 extern asmlinkage long sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
4229 sys32_setresuid(__kernel_uid_t32 ruid, __kernel_uid_t32 euid, in sys32_setresuid() argument
4234 sruid = (ruid == (__kernel_uid_t32)-1) ? ((uid_t)-1) : ((uid_t)ruid); in sys32_setresuid()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sparc32.c154 asmlinkage long sys32_setreuid16(u16 ruid, u16 euid) in sys32_setreuid16() argument
156 return sys_setreuid(low2highuid(ruid), low2highuid(euid)); in sys32_setreuid16()
164 asmlinkage long sys32_setresuid16(u16 ruid, u16 euid, u16 suid) in sys32_setresuid16() argument
166 return sys_setresuid(low2highuid(ruid), low2highuid(euid), in sys32_setresuid16()
170 asmlinkage long sys32_getresuid16(u16 *ruid, u16 *euid, u16 *suid) in sys32_getresuid16() argument
174 if (!(retval = put_user(high2lowuid(current->uid), ruid)) && in sys32_getresuid16()
/linux-2.4.37.9/arch/s390x/kernel/
Dlinux32.c136 asmlinkage long sys32_setreuid16(u16 ruid, u16 euid) in sys32_setreuid16() argument
138 return sys_setreuid(low2highuid(ruid), low2highuid(euid)); in sys32_setreuid16()
146 asmlinkage long sys32_setresuid16(u16 ruid, u16 euid, u16 suid) in sys32_setresuid16() argument
148 return sys_setresuid(low2highuid(ruid), low2highuid(euid), in sys32_setresuid16()
152 asmlinkage long sys32_getresuid16(u16 *ruid, u16 *euid, u16 *suid) in sys32_getresuid16() argument
156 if (!(retval = put_user(high2lowuid(current->uid), ruid)) && in sys32_getresuid16()