/linux-2.4.37.9/kernel/ |
D | sys.c | 235 if (p->uid != current->euid && in sys_setpriority() 499 (current->uid != 0 && current->euid != 0 && current->suid != 0) && in cap_emulate_setxuid() 504 if (old_euid == 0 && current->euid != 0) { in cap_emulate_setxuid() 507 if (old_euid != 0 && current->euid == 0) { in cap_emulate_setxuid() 545 asmlinkage long sys_setreuid(uid_t ruid, uid_t euid) in sys_setreuid() argument 550 new_euid = old_euid = current->euid; in sys_setreuid() 556 (current->euid != ruid) && in sys_setreuid() 561 if (euid != (uid_t) -1) { in sys_setreuid() 562 new_euid = euid; in sys_setreuid() 563 if ((old_ruid != euid) && in sys_setreuid() [all …]
|
D | uid16.c | 55 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 76 !(retval = put_user(high2lowuid(current->euid), euid))) in sys_getresuid16() 152 return high2lowuid(current->euid); in sys_geteuid16()
|
D | ptrace.c | 65 if(((current->uid != task->euid) || in ptrace_attach()
|
D | sched.c | 987 if ((current->euid != p->euid) && (current->euid != p->uid) && in setscheduler()
|
D | kmod.c | 125 curtask->euid = curtask->uid = curtask->suid = curtask->fsuid = 0; in exec_usermodehelper()
|
/linux-2.4.37.9/fs/ |
D | fcntl.c | 303 filp->f_owner.euid = current->euid; in do_fcntl() 405 if ((fown->euid != 0) && in send_sigio_to_task() 406 (fown->euid ^ p->suid) && (fown->euid ^ p->uid) && in send_sigio_to_task()
|
D | dnotify.c | 110 filp->f_owner.euid = current->euid; in fcntl_dirnotify()
|
D | exec.c | 627 if (current->euid == current->uid && current->egid == current->gid) { in flush_old_exec() 650 if (bprm->e_uid != current->euid || bprm->e_gid != current->egid) { in flush_old_exec() 709 bprm->e_uid = current->euid; in prepare_binprm() 812 current->suid = current->euid = current->fsuid = bprm->e_uid; in compute_creds()
|
D | file_table.c | 57 if (files_stat.nr_free_files && !current->euid) in get_empty_filp()
|
D | quota.c | 96 if (((type == USRQUOTA && current->euid != id) || in check_quotactl_valid() 309 if (((type == USRQUOTA && current->euid != id) || in check_compat_quotactl_valid()
|
/linux-2.4.37.9/ipc/ |
D | util.c | 161 new->cuid = new->uid = current->euid; in ipc_addid() 257 if (current->euid == ipcp->cuid || current->euid == ipcp->uid) in ipcperms()
|
D | shm.c | 508 if (current->euid != shp->shm_perm.uid && in sys_shmctl() 509 current->euid != shp->shm_perm.cuid && in sys_shmctl() 538 if (current->euid != shp->shm_perm.uid && in sys_shmctl() 539 current->euid != shp->shm_perm.cuid && in sys_shmctl()
|
/linux-2.4.37.9/include/asm-cris/ |
D | eshlibld.h | 79 int euid, int is_suid);
|
/linux-2.4.37.9/drivers/net/ |
D | tun.c | 367 if (current->euid != tun->owner && !capable(CAP_NET_ADMIN)) in tun_set_iff() 520 file->f_owner.euid = current->euid; in tun_chr_fasync()
|
/linux-2.4.37.9/fs/proc/ |
D | array.c | 166 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()
|
/linux-2.4.37.9/mm/ |
D | oom_kill.c | 97 p->uid == 0 || p->euid == 0) in badness()
|
/linux-2.4.37.9/include/linux/ |
D | sched.h | 371 uid_t uid,euid,suid,fsuid; member 723 if (!issecure(SECURE_NOROOT) && current->euid == 0) { in suser() 750 if (cap_is_fs_cap(cap) ? current->fsuid == 0 : current->euid == 0) in capable()
|
/linux-2.4.37.9/fs/intermezzo/ |
D | dir.c | 131 return (current->euid == izo_authorized_uid || in presto_can_ilookup() 147 current->euid, izo_authorized_uid); in presto_iget_ilookup() 972 if (current->euid != 0 && current->euid != izo_authorized_uid) { in presto_ioctl()
|
/linux-2.4.37.9/drivers/char/drm/ |
D | drm_fops.h | 53 priv->uid = current->euid; in DRM()
|
/linux-2.4.37.9/fs/devfs/ |
D | base.c | 1519 if (devfsd_notify_de (de, type, de->mode, current->euid, in devfsd_notify() 2427 current->euid, current->egid, fs_info, 0) ) in try_modload() 2816 inode->i_uid = current->euid; in devfs_open() 2821 current->euid, current->egid, fs_info, 0); in devfs_open() 2920 current->euid, current->egid, fs_info, 1); in devfs_d_delete() 3115 de->inode.uid = current->euid; in devfs_symlink() 3146 de->inode.uid = current->euid; in devfs_mkdir() 3215 de->inode.uid = current->euid; in devfs_mknod()
|
/linux-2.4.37.9/net/core/ |
D | scm.c | 43 ((creds->uid == current->uid || creds->uid == current->euid || in scm_check_creds()
|
/linux-2.4.37.9/drivers/char/drm-4.0/ |
D | fops.c | 55 priv->uid = current->euid; in drm_open_helper()
|
/linux-2.4.37.9/fs/coda/ |
D | coda_linux.c | 56 cred->cr_euid = (vuid_t) current->euid; in coda_load_creds()
|
/linux-2.4.37.9/fs/umsdos/ |
D | ioctl.c | 113 if (current->euid != 0 && cmd != UMSDOS_GETVERSION) in UMSDOS_ioctl_dir()
|
/linux-2.4.37.9/arch/ia64/ia32/ |
D | sys_ia32.c | 3537 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 4222 seuid = (euid == (__kernel_uid_t32)-1) ? ((uid_t)-1) : ((uid_t)euid); 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 4235 seuid = (euid == (__kernel_uid_t32)-1) ? ((uid_t)-1) : ((uid_t)euid); in sys32_setresuid()
|