Home
last modified time | relevance | path

Searched refs:root_gid (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/usr/
Dgen_initramfs.sh97 [ "$root_gid" = "squash" ] && gid=0 || [ "$gid" -eq "$root_gid" ] && gid=0
191 root_gid=0
217 root_gid="$1"
218 [ "$root_gid" = "-1" ] && root_gid=$(id -g || echo 0)
/Linux-v6.1/drivers/android/
Dbinderfs.c161 inode->i_gid = info->root_gid; in binderfs_binder_device_create()
440 inode->i_gid = info->root_gid; in binderfs_binder_ctl_create()
690 info->root_gid = make_kgid(sb->s_user_ns, 0); in binderfs_fill_super()
691 if (!gid_valid(info->root_gid)) in binderfs_fill_super()
692 info->root_gid = GLOBAL_ROOT_GID; in binderfs_fill_super()
Dbinder_internal.h70 kgid_t root_gid; member
/Linux-v6.1/lib/
Dkobject_uevent.c359 kgid_t root_gid; in uevent_net_broadcast_tagged() local
367 root_gid = make_kgid(owning_user_ns, 0); in uevent_net_broadcast_tagged()
368 if (gid_valid(root_gid)) in uevent_net_broadcast_tagged()
369 parms->creds.gid = root_gid; in uevent_net_broadcast_tagged()
/Linux-v6.1/net/netfilter/
Dnf_conntrack_expect.c683 kgid_t root_gid; in exp_proc_init() local
691 root_gid = make_kgid(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 kgid_t root_gid; in xt_proto_init() local
1828 root_gid = make_kgid(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()
Dnf_conntrack_standalone.c479 kgid_t root_gid; in nf_conntrack_standalone_init_proc() local
487 root_gid = make_kgid(net->user_ns, 0); in nf_conntrack_standalone_init_proc()
488 if (uid_valid(root_uid) && gid_valid(root_gid)) in nf_conntrack_standalone_init_proc()
489 proc_set_user(pde, root_uid, root_gid); in nf_conntrack_standalone_init_proc()
Dnfnetlink_log.c1115 kgid_t root_gid; in nfnl_log_net_init() local
1129 root_gid = make_kgid(net->user_ns, 0); in nfnl_log_net_init()
1130 if (uid_valid(root_uid) && gid_valid(root_gid)) in nfnl_log_net_init()
1131 proc_set_user(proc, root_uid, root_gid); in nfnl_log_net_init()