Home
last modified time | relevance | path

Searched refs:root_uid (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/security/
Dcommoncap.c790 bool *effective, kuid_t root_uid) in handle_privileged_root() argument
802 if (has_fcap && __is_suid(root_uid, new)) { in handle_privileged_root()
811 if (__is_eff(root_uid, new) || __is_real(root_uid, new)) { in handle_privileged_root()
819 if (__is_eff(root_uid, new)) in handle_privileged_root()
893 kuid_t root_uid; in cap_bprm_creds_from_file() local
902 root_uid = make_kuid(new->user_ns, 0); in cap_bprm_creds_from_file()
904 handle_privileged_root(bprm, has_fcap, &effective, root_uid); in cap_bprm_creds_from_file()
955 if (nonroot_raised_pE(new, old, root_uid, has_fcap)) { in cap_bprm_creds_from_file()
968 (!__is_real(root_uid, new) && in cap_bprm_creds_from_file()
1087 kuid_t root_uid = make_kuid(old->user_ns, 0); in cap_emulate_setxuid() local
[all …]
/linux-6.12.1/usr/
Dgen_initramfs.sh97 [ "$root_uid" = "squash" ] && uid=0 || [ "$uid" -eq "$root_uid" ] && uid=0
191 root_uid=0
214 root_uid="$1"
215 [ "$root_uid" = "-1" ] && root_uid=$(id -u || echo 0)
/linux-6.12.1/drivers/android/
Dbinderfs.c160 inode->i_uid = info->root_uid; in binderfs_binder_device_create()
439 inode->i_uid = info->root_uid; in binderfs_binder_ctl_create()
699 info->root_uid = make_kuid(sb->s_user_ns, 0); in binderfs_fill_super()
700 if (!uid_valid(info->root_uid)) in binderfs_fill_super()
701 info->root_uid = GLOBAL_ROOT_UID; in binderfs_fill_super()
Dbinder_internal.h70 kuid_t root_uid; member
/linux-6.12.1/lib/
Dkobject_uevent.c359 kuid_t root_uid; in uevent_net_broadcast_tagged() local
363 root_uid = make_kuid(owning_user_ns, 0); in uevent_net_broadcast_tagged()
364 if (uid_valid(root_uid)) in uevent_net_broadcast_tagged()
365 parms->creds.uid = root_uid; in uevent_net_broadcast_tagged()
/linux-6.12.1/net/netfilter/
Dnf_conntrack_expect.c682 kuid_t root_uid; in exp_proc_init() local
690 root_uid = make_kuid(net->user_ns, 0); in exp_proc_init()
692 if (uid_valid(root_uid) && gid_valid(root_gid)) in exp_proc_init()
693 proc_set_user(proc, root_uid, root_gid); in exp_proc_init()
Dx_tables.c1819 kuid_t root_uid; in xt_proto_init() local
1828 root_uid = make_kuid(net->user_ns, 0); in xt_proto_init()
1838 if (uid_valid(root_uid) && gid_valid(root_gid)) in xt_proto_init()
1839 proc_set_user(proc, root_uid, root_gid); in xt_proto_init()
1848 if (uid_valid(root_uid) && gid_valid(root_gid)) in xt_proto_init()
1849 proc_set_user(proc, root_uid, root_gid); in xt_proto_init()
1858 if (uid_valid(root_uid) && gid_valid(root_gid)) in xt_proto_init()
1859 proc_set_user(proc, root_uid, root_gid); in xt_proto_init()
Dnf_conntrack_standalone.c471 kuid_t root_uid; in nf_conntrack_standalone_init_proc() local
479 root_uid = make_kuid(net->user_ns, 0); in nf_conntrack_standalone_init_proc()
481 if (uid_valid(root_uid) && gid_valid(root_gid)) in nf_conntrack_standalone_init_proc()
482 proc_set_user(pde, root_uid, root_gid); in nf_conntrack_standalone_init_proc()
Dnfnetlink_log.c1122 kuid_t root_uid; in nfnl_log_net_init() local
1136 root_uid = make_kuid(net->user_ns, 0); in nfnl_log_net_init()
1138 if (uid_valid(root_uid) && gid_valid(root_gid)) in nfnl_log_net_init()
1139 proc_set_user(proc, root_uid, root_gid); in nfnl_log_net_init()
/linux-6.12.1/fs/
Dopen.c397 kuid_t root_uid = make_kuid(cred->user_ns, 0); in access_need_override_creds() local
398 if (!uid_eq(cred->uid, root_uid)) { in access_need_override_creds()
431 kuid_t root_uid = make_kuid(override_cred->user_ns, 0); in access_override_creds() local
432 if (!uid_eq(override_cred->uid, root_uid)) in access_override_creds()