Home
last modified time | relevance | path

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

/linux-2.4.37.9/kernel/
Dsys.c499 (current->uid != 0 && current->euid != 0 && current->suid != 0) && in cap_emulate_setxuid()
551 old_suid = current->suid; in sys_setreuid()
565 (current->suid != euid) && in sys_setreuid()
581 current->suid = current->euid; in sys_setreuid()
610 old_suid = current->suid; in sys_setuid()
626 current->suid = new_suid; in sys_setuid()
640 asmlinkage long sys_setresuid(uid_t ruid, uid_t euid, uid_t suid) in sys_setresuid() argument
644 int old_suid = current->suid; in sys_setresuid()
648 (ruid != current->euid) && (ruid != current->suid)) in sys_setresuid()
651 (euid != current->euid) && (euid != current->suid)) in sys_setresuid()
[all …]
Duid16.c65 asmlinkage long sys_setresuid16(old_uid_t ruid, old_uid_t euid, old_uid_t suid) in sys_setresuid16() argument
68 low2highuid(suid)); in sys_setresuid16()
71 asmlinkage long sys_getresuid16(old_uid_t *ruid, old_uid_t *euid, old_uid_t *suid) in sys_getresuid16() argument
77 retval = put_user(high2lowuid(current->suid), suid); in sys_getresuid16()
Dptrace.c66 (current->uid != task->suid) || in ptrace_attach()
Dkmod.c125 curtask->euid = curtask->uid = curtask->suid = curtask->fsuid = 0; in exec_usermodehelper()
Dsignal.c341 && (current->euid ^ t->suid) && (current->euid ^ t->uid) in bad_signal()
342 && (current->uid ^ t->suid) && (current->uid ^ t->uid) in bad_signal()
/linux-2.4.37.9/fs/proc/
Darray.c166 p->uid, p->euid, p->suid, p->fsuid, in task_state()
320 (current->uid == task->euid && current->uid == task->suid && in proc_pid_stat()
576 ((current->uid != task->euid) || (current->uid != task->suid) || in m_start()
Dbase.c138 (current->uid != task->suid) || in may_ptrace_attach()
/linux-2.4.37.9/fs/
Dfcntl.c406 (fown->euid ^ p->suid) && (fown->euid ^ p->uid) && in send_sigio_to_task()
407 (fown->uid ^ p->suid) && (fown->uid ^ p->uid)) in send_sigio_to_task()
Dexec.c812 current->suid = current->euid = current->fsuid = bprm->e_uid; in compute_creds()
/linux-2.4.37.9/net/core/
Dscm.c44 creds->uid == current->suid) || capable(CAP_SETUID)) && in scm_check_creds()
/linux-2.4.37.9/fs/coda/
Dcoda_linux.c57 cred->cr_suid = (vuid_t) current->suid; in coda_load_creds()
/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()
4226 extern asmlinkage long sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
4230 __kernel_uid_t32 suid) in sys32_setresuid() argument
4236 ssuid = (suid == (__kernel_uid_t32)-1) ? ((uid_t)-1) : ((uid_t)suid); in sys32_setresuid()
/linux-2.4.37.9/include/linux/
Dsched.h371 uid_t uid,euid,suid,fsuid; member
/linux-2.4.37.9/Documentation/filesystems/
Daffs.txt116 - All other flags (suid, sgid, ...) are ignored and will
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sparc32.c164 asmlinkage long sys32_setresuid16(u16 ruid, u16 euid, u16 suid) in sys32_setresuid16() argument
167 low2highuid(suid)); in sys32_setresuid16()
170 asmlinkage long sys32_getresuid16(u16 *ruid, u16 *euid, u16 *suid) in sys32_getresuid16() argument
176 retval = put_user(high2lowuid(current->suid), suid); in sys32_getresuid16()
/linux-2.4.37.9/arch/s390x/kernel/
Dlinux32.c146 asmlinkage long sys32_setresuid16(u16 ruid, u16 euid, u16 suid) in sys32_setresuid16() argument
149 low2highuid(suid)); in sys32_setresuid16()
152 asmlinkage long sys32_getresuid16(u16 *ruid, u16 *euid, u16 *suid) in sys32_getresuid16() argument
158 retval = put_user(high2lowuid(current->suid), suid); in sys32_getresuid16()
/linux-2.4.37.9/arch/ia64/kernel/
Dperfmon.c1158 && (current->euid ^ task->suid) && (current->euid ^ task->uid) in pfm_bad_permissions()
1159 && (current->uid ^ task->suid) && (current->uid ^ task->uid); in pfm_bad_permissions()
/linux-2.4.37.9/Documentation/filesystems/devfs/
DREADME367 ownership/protections without being suid-root.