Searched refs:root_uid (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/security/ |
H A D | commoncap.c | 495 kuid_t root_uid; cap_bprm_set_creds() local 505 root_uid = make_kuid(new->user_ns, 0); cap_bprm_set_creds() 513 if (has_cap && !uid_eq(new->uid, root_uid) && uid_eq(new->euid, root_uid)) { cap_bprm_set_creds() 524 if (uid_eq(new->euid, root_uid) || uid_eq(new->uid, root_uid)) { cap_bprm_set_creds() 529 if (uid_eq(new->euid, root_uid)) cap_bprm_set_creds() 600 !uid_eq(new->euid, root_uid) || !uid_eq(new->uid, root_uid) || cap_bprm_set_creds() 629 kuid_t root_uid = make_kuid(cred->user_ns, 0); cap_bprm_secureexec() local 631 if (!uid_eq(cred->uid, root_uid)) { cap_bprm_secureexec() 729 kuid_t root_uid = make_kuid(old->user_ns, 0); cap_emulate_setxuid() local 731 if ((uid_eq(old->uid, root_uid) || cap_emulate_setxuid() 732 uid_eq(old->euid, root_uid) || cap_emulate_setxuid() 733 uid_eq(old->suid, root_uid)) && cap_emulate_setxuid() 734 (!uid_eq(new->uid, root_uid) && cap_emulate_setxuid() 735 !uid_eq(new->euid, root_uid) && cap_emulate_setxuid() 736 !uid_eq(new->suid, root_uid))) { cap_emulate_setxuid() 749 if (uid_eq(old->euid, root_uid) && !uid_eq(new->euid, root_uid)) cap_emulate_setxuid() 751 if (!uid_eq(old->euid, root_uid) && uid_eq(new->euid, root_uid)) cap_emulate_setxuid() 784 kuid_t root_uid = make_kuid(old->user_ns, 0); cap_task_fix_setuid() local 785 if (uid_eq(old->fsuid, root_uid) && !uid_eq(new->fsuid, root_uid)) cap_task_fix_setuid() 789 if (!uid_eq(old->fsuid, root_uid) && uid_eq(new->fsuid, root_uid)) cap_task_fix_setuid()
|
/linux-4.4.14/net/ |
H A D | sysctl_net.c | 45 kuid_t root_uid = make_kuid(net->user_ns, 0); net_ctl_permissions() local 50 uid_eq(root_uid, current_euid())) { net_ctl_permissions()
|
/linux-4.4.14/scripts/ |
H A D | gen_initramfs_list.sh | 116 [ "$root_uid" = "squash" ] && uid=0 || [ "$uid" -eq "$root_uid" ] && uid=0 221 root_uid=0 270 root_uid="$1"
|
/linux-4.4.14/fs/devpts/ |
H A D | inode.c | 250 kuid_t root_uid; mknod_ptmx() local 253 root_uid = make_kuid(current_user_ns(), 0); mknod_ptmx() 255 if (!uid_valid(root_uid) || !gid_valid(root_gid)) mknod_ptmx() 287 inode->i_uid = root_uid; mknod_ptmx()
|
/linux-4.4.14/fs/ |
H A D | open.c | 358 kuid_t root_uid = make_kuid(override_cred->user_ns, 0); SYSCALL_DEFINE3() local 359 if (!uid_eq(override_cred->uid, root_uid)) SYSCALL_DEFINE3()
|
Completed in 149 milliseconds