Searched refs:root_uid (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/security/ |
D | commoncap.c | 734 bool *effective, kuid_t root_uid) in handle_privileged_root() argument 746 if (has_fcap && __is_suid(root_uid, new)) { in handle_privileged_root() 755 if (__is_eff(root_uid, new) || __is_real(root_uid, new)) { in handle_privileged_root() 763 if (__is_eff(root_uid, new)) in handle_privileged_root() 835 kuid_t root_uid; in cap_bprm_creds_from_file() local 844 root_uid = make_kuid(new->user_ns, 0); in cap_bprm_creds_from_file() 846 handle_privileged_root(bprm, has_fcap, &effective, root_uid); in cap_bprm_creds_from_file() 897 if (nonroot_raised_pE(new, old, root_uid, has_fcap)) { in cap_bprm_creds_from_file() 910 (!__is_real(root_uid, new) && in cap_bprm_creds_from_file() 1020 kuid_t root_uid = make_kuid(old->user_ns, 0); in cap_emulate_setxuid() local [all …]
|
/kernel/linux/linux-5.10/usr/ |
D | gen_initramfs.sh | 96 [ "$root_uid" = "squash" ] && uid=0 || [ "$uid" -eq "$root_uid" ] && uid=0 190 root_uid=0 212 root_uid="$1" 213 [ "$root_uid" = "-1" ] && root_uid=$(id -u || echo 0)
|
/kernel/linux/linux-5.10/drivers/android/ |
D | binderfs.c | 151 inode->i_uid = info->root_uid; in binderfs_binder_device_create() 428 inode->i_uid = info->root_uid; in binderfs_binder_ctl_create() 676 info->root_uid = make_kuid(sb->s_user_ns, 0); in binderfs_fill_super() 677 if (!uid_valid(info->root_uid)) in binderfs_fill_super() 678 info->root_uid = GLOBAL_ROOT_UID; in binderfs_fill_super()
|
D | binder_internal.h | 67 kuid_t root_uid; member
|
/kernel/linux/linux-5.10/lib/ |
D | kobject_uevent.c | 358 kuid_t root_uid; in uevent_net_broadcast_tagged() local 362 root_uid = make_kuid(owning_user_ns, 0); in uevent_net_broadcast_tagged() 363 if (uid_valid(root_uid)) in uevent_net_broadcast_tagged() 364 parms->creds.uid = root_uid; in uevent_net_broadcast_tagged()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_conntrack_expect.c | 662 kuid_t root_uid; in exp_proc_init() local 670 root_uid = make_kuid(net->user_ns, 0); in exp_proc_init() 672 if (uid_valid(root_uid) && gid_valid(root_gid)) in exp_proc_init() 673 proc_set_user(proc, root_uid, root_gid); in exp_proc_init()
|
D | x_tables.c | 1723 kuid_t root_uid; in xt_proto_init() local 1732 root_uid = make_kuid(net->user_ns, 0); in xt_proto_init() 1742 if (uid_valid(root_uid) && gid_valid(root_gid)) in xt_proto_init() 1743 proc_set_user(proc, root_uid, root_gid); in xt_proto_init() 1752 if (uid_valid(root_uid) && gid_valid(root_gid)) in xt_proto_init() 1753 proc_set_user(proc, root_uid, root_gid); in xt_proto_init() 1762 if (uid_valid(root_uid) && gid_valid(root_gid)) in xt_proto_init() 1763 proc_set_user(proc, root_uid, root_gid); in xt_proto_init()
|
D | nf_conntrack_standalone.c | 470 kuid_t root_uid; in nf_conntrack_standalone_init_proc() local 478 root_uid = make_kuid(net->user_ns, 0); in nf_conntrack_standalone_init_proc() 480 if (uid_valid(root_uid) && gid_valid(root_gid)) in nf_conntrack_standalone_init_proc() 481 proc_set_user(pde, root_uid, root_gid); in nf_conntrack_standalone_init_proc()
|
D | nfnetlink_log.c | 1109 kuid_t root_uid; in nfnl_log_net_init() local 1123 root_uid = make_kuid(net->user_ns, 0); in nfnl_log_net_init() 1125 if (uid_valid(root_uid) && gid_valid(root_gid)) in nfnl_log_net_init() 1126 proc_set_user(proc, root_uid, root_gid); in nfnl_log_net_init()
|
/kernel/linux/linux-5.10/fs/ |
D | open.c | 362 kuid_t root_uid = make_kuid(override_cred->user_ns, 0); in access_override_creds() local 363 if (!uid_eq(override_cred->uid, root_uid)) in access_override_creds()
|