Searched refs:root_uid (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/security/ |
H A D | commoncap.c | 489 kuid_t root_uid; cap_bprm_set_creds() local 496 root_uid = make_kuid(new->user_ns, 0); cap_bprm_set_creds() 504 if (has_cap && !uid_eq(new->uid, root_uid) && uid_eq(new->euid, root_uid)) { cap_bprm_set_creds() 515 if (uid_eq(new->euid, root_uid) || uid_eq(new->uid, root_uid)) { cap_bprm_set_creds() 520 if (uid_eq(new->euid, root_uid)) cap_bprm_set_creds() 572 !uid_eq(new->euid, root_uid) || !uid_eq(new->uid, root_uid) || cap_bprm_set_creds() 597 kuid_t root_uid = make_kuid(cred->user_ns, 0); cap_bprm_secureexec() local 599 if (!uid_eq(cred->uid, root_uid)) { cap_bprm_secureexec() 697 kuid_t root_uid = make_kuid(old->user_ns, 0); cap_emulate_setxuid() local 699 if ((uid_eq(old->uid, root_uid) || cap_emulate_setxuid() 700 uid_eq(old->euid, root_uid) || cap_emulate_setxuid() 701 uid_eq(old->suid, root_uid)) && cap_emulate_setxuid() 702 (!uid_eq(new->uid, root_uid) && cap_emulate_setxuid() 703 !uid_eq(new->euid, root_uid) && cap_emulate_setxuid() 704 !uid_eq(new->suid, root_uid)) && cap_emulate_setxuid() 709 if (uid_eq(old->euid, root_uid) && !uid_eq(new->euid, root_uid)) cap_emulate_setxuid() 711 if (!uid_eq(old->euid, root_uid) && uid_eq(new->euid, root_uid)) cap_emulate_setxuid() 744 kuid_t root_uid = make_kuid(old->user_ns, 0); cap_task_fix_setuid() local 745 if (uid_eq(old->fsuid, root_uid) && !uid_eq(new->fsuid, root_uid)) cap_task_fix_setuid() 749 if (!uid_eq(old->fsuid, root_uid) && uid_eq(new->fsuid, root_uid)) cap_task_fix_setuid()
|
/linux-4.1.27/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.1.27/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.1.27/fs/devpts/ |
H A D | inode.c | 248 kuid_t root_uid; mknod_ptmx() local 251 root_uid = make_kuid(current_user_ns(), 0); mknod_ptmx() 253 if (!uid_valid(root_uid) || !gid_valid(root_gid)) mknod_ptmx() 285 inode->i_uid = root_uid; mknod_ptmx()
|
/linux-4.1.27/fs/ |
H A D | open.c | 356 kuid_t root_uid = make_kuid(override_cred->user_ns, 0); SYSCALL_DEFINE3() local 357 if (!uid_eq(override_cred->uid, root_uid)) SYSCALL_DEFINE3()
|
Completed in 147 milliseconds