Home
last modified time | relevance | path

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

/linux/security/
A Dcommoncap.c813 if (__is_eff(root_uid, new) || __is_real(root_uid, new)) { in handle_privileged_root()
821 if (__is_eff(root_uid, new)) in handle_privileged_root()
895 kuid_t root_uid; in cap_bprm_creds_from_file() local
970 (!__is_real(root_uid, new) && in cap_bprm_creds_from_file()
1091 if ((uid_eq(old->uid, root_uid) || in cap_emulate_setxuid()
1092 uid_eq(old->euid, root_uid) || in cap_emulate_setxuid()
1094 (!uid_eq(new->uid, root_uid) && in cap_emulate_setxuid()
1109 if (uid_eq(old->euid, root_uid) && !uid_eq(new->euid, root_uid)) in cap_emulate_setxuid()
1111 if (!uid_eq(old->euid, root_uid) && uid_eq(new->euid, root_uid)) in cap_emulate_setxuid()
1147 if (uid_eq(old->fsuid, root_uid) && !uid_eq(new->fsuid, root_uid)) in cap_task_fix_setuid()
[all …]
/linux/usr/
A Dgen_initramfs.sh96 [ "$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)
/linux/drivers/android/
A Dbinderfs.c159 inode->i_uid = info->root_uid; in binderfs_binder_device_create()
450 inode->i_uid = info->root_uid; in binderfs_binder_ctl_create()
725 info->root_uid = make_kuid(sb->s_user_ns, 0); in binderfs_fill_super()
726 if (!uid_valid(info->root_uid)) in binderfs_fill_super()
727 info->root_uid = GLOBAL_ROOT_UID; in binderfs_fill_super()
A Dbinder_internal.h69 kuid_t root_uid; member
/linux/lib/
A Dkobject_uevent.c358 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()
/linux/net/netfilter/
A 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()
A Dx_tables.c1818 kuid_t root_uid; in xt_proto_init() local
1827 root_uid = make_kuid(net->user_ns, 0); in xt_proto_init()
1837 if (uid_valid(root_uid) && gid_valid(root_gid)) in xt_proto_init()
1838 proc_set_user(proc, root_uid, root_gid); in xt_proto_init()
1847 if (uid_valid(root_uid) && gid_valid(root_gid)) in xt_proto_init()
1848 proc_set_user(proc, root_uid, root_gid); in xt_proto_init()
1857 if (uid_valid(root_uid) && gid_valid(root_gid)) in xt_proto_init()
1858 proc_set_user(proc, root_uid, root_gid); in xt_proto_init()
A Dnf_conntrack_standalone.c475 kuid_t root_uid; in nf_conntrack_standalone_init_proc() local
483 root_uid = make_kuid(net->user_ns, 0); in nf_conntrack_standalone_init_proc()
485 if (uid_valid(root_uid) && gid_valid(root_gid)) in nf_conntrack_standalone_init_proc()
486 proc_set_user(pde, root_uid, root_gid); in nf_conntrack_standalone_init_proc()
A Dnfnetlink_log.c1111 kuid_t root_uid; in nfnl_log_net_init() local
1125 root_uid = make_kuid(net->user_ns, 0); in nfnl_log_net_init()
1127 if (uid_valid(root_uid) && gid_valid(root_gid)) in nfnl_log_net_init()
1128 proc_set_user(proc, root_uid, root_gid); in nfnl_log_net_init()
/linux/fs/
A Dopen.c360 kuid_t root_uid = make_kuid(override_cred->user_ns, 0); in access_override_creds() local
361 if (!uid_eq(override_cred->uid, root_uid)) in access_override_creds()

Completed in 26 milliseconds