Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/drivers/android/
Dbinderfs.c160 inode->i_gid = info->root_gid; in binderfs_binder_device_create()
451 inode->i_gid = info->root_gid; in binderfs_binder_ctl_create()
722 info->root_gid = make_kgid(sb->s_user_ns, 0); in binderfs_fill_super()
723 if (!gid_valid(info->root_gid)) in binderfs_fill_super()
724 info->root_gid = GLOBAL_ROOT_GID; in binderfs_fill_super()
Dbinder_internal.h70 kgid_t root_gid; member
/Linux-v5.15/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-v5.15/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.c476 kgid_t root_gid; in nf_conntrack_standalone_init_proc() local
484 root_gid = make_kgid(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()
Dnfnetlink_log.c1111 kgid_t root_gid; in nfnl_log_net_init() local
1125 root_gid = make_kgid(net->user_ns, 0); in nfnl_log_net_init()
1126 if (uid_valid(root_uid) && gid_valid(root_gid)) in nfnl_log_net_init()
1127 proc_set_user(proc, root_uid, root_gid); in nfnl_log_net_init()