Home
last modified time | relevance | path

Searched refs:make_kgid (Results 1 – 25 of 111) sorted by relevance

12345

/openbmc/linux/net/netfilter/
H A Dxt_owner.c49 kgid_t gid_min = make_kgid(net->user_ns, info->gid_min); in owner_check()
50 kgid_t gid_max = make_kgid(net->user_ns, info->gid_max); in owner_check()
100 kgid_t gid_min = make_kgid(net->user_ns, info->gid_min); in owner_mt()
101 kgid_t gid_max = make_kgid(net->user_ns, info->gid_max); in owner_mt()
/openbmc/linux/fs/
H A Dmnt_idmapping.c149 return VFSGIDT_INIT(make_kgid(mnt_userns, gid)); in make_vfsgid()
205 return make_kgid(fs_userns, gid); in from_vfsgid()
/openbmc/linux/include/linux/
H A Duidgid.h124 extern kgid_t make_kgid(struct user_namespace *from, gid_t gid);
148 static inline kgid_t make_kgid(struct user_namespace *from, gid_t gid) in make_kgid() function
H A Dquota.h108 kqid.gid = make_kgid(from, qid); in make_kqid()
/openbmc/linux/security/safesetid/
H A Dsecurityfs.c59 rule->src_id.gid = make_kgid(file->f_cred->user_ns, parsed_parent); in parse_policy_line()
60 rule->dst_id.gid = make_kgid(file->f_cred->user_ns, parsed_child); in parse_policy_line()
/openbmc/linux/fs/smb/client/
H A Dreparse.h47 return make_kgid(current_user_ns(), gid); in wsl_make_kgid()
/openbmc/linux/net/core/
H A Dscm.c50 kgid_t gid = make_kgid(cred->user_ns, creds->gid); in scm_check_creds()
194 gid = make_kgid(current_user_ns(), creds.gid); in __scm_send()
/openbmc/linux/net/
H A Dsysctl_net.c67 ns_root_gid = make_kgid(net->user_ns, 0); in net_ctl_set_ownership()
/openbmc/linux/ipc/
H A Dmq_sysctl.c87 kgid_t ns_root_gid = make_kgid(ns->user_ns, 0); in mq_set_ownership()
/openbmc/linux/fs/coda/
H A Dcoda_linux.c118 inode->i_gid = make_kgid(&init_user_ns, (gid_t) attr->va_gid); in coda_vattr_to_iattr()
/openbmc/linux/fs/hfsplus/
H A Doptions.c152 sbi->gid = make_kgid(current_user_ns(), (gid_t)tmp); in hfsplus_parse_options()
/openbmc/linux/kernel/
H A Dgroups.c67 kgid = make_kgid(user_ns, gid); in groups_from_user()
H A Duid16.c144 kgid = make_kgid(user_ns, low2highgid(group)); in groups16_from_user()
H A Dsys.c380 krgid = make_kgid(ns, rgid); in __sys_setregid()
381 kegid = make_kgid(ns, egid); in __sys_setregid()
446 kgid = make_kgid(ns, gid); in __sys_setgid()
778 krgid = make_kgid(ns, rgid); in __sys_setresgid()
779 kegid = make_kgid(ns, egid); in __sys_setresgid()
780 ksgid = make_kgid(ns, sgid); in __sys_setresgid()
917 kgid = make_kgid(old->user_ns, gid); in __sys_setfsgid()
H A Duser_namespace.c476 kgid_t make_kgid(struct user_namespace *ns, gid_t gid) in make_kgid() function
481 EXPORT_SYMBOL(make_kgid);
1180 kgid_t gid = make_kgid(ns->parent, id); in new_idmap_permitted()
/openbmc/linux/fs/ext2/
H A Dacl.c71 make_kgid(&init_user_ns, in ext2_acl_from_disk()
/openbmc/linux/net/ipv4/
H A Dsysctl_net_ipv4.c185 low = make_kgid(user_ns, urange[0]); in ipv4_ping_group_range()
186 high = make_kgid(user_ns, urange[1]); in ipv4_ping_group_range()
190 low = make_kgid(&init_user_ns, 1); in ipv4_ping_group_range()
191 high = make_kgid(&init_user_ns, 0); in ipv4_ping_group_range()
/openbmc/linux/net/sunrpc/
H A Dsvcauth_unix.c529 kgid = make_kgid(current_user_ns(), gid); in unix_gid_parse()
953 cred->cr_gid = make_kgid(userns, i); in svcauth_unix_accept()
966 kgid_t kgid = make_kgid(userns, be32_to_cpup(p++)); in svcauth_unix_accept()
/openbmc/linux/fs/xfs/
H A Dxfs_acl.c78 acl_e->e_gid = make_kgid(&init_user_ns, in xfs_acl_from_disk()
/openbmc/linux/fs/ext4/
H A Dacl.c70 make_kgid(&init_user_ns, in ext4_acl_from_disk()
/openbmc/linux/net/sunrpc/auth_gss/
H A Dgss_rpc_xdr.c196 creds->cr_gid = make_kgid(&init_user_ns, tmp); in gssx_dec_linux_creds()
216 kgid = make_kgid(&init_user_ns, tmp); in gssx_dec_linux_creds()
/openbmc/linux/fs/jffs2/
H A Dacl.c112 make_kgid(&init_user_ns, in jffs2_acl_from_medium()
/openbmc/linux/fs/proc/
H A Droot.c152 fs_info->pid_gid = make_kgid(user_ns, ctx->gid); in proc_apply_options()
H A Dproc_net.c377 gid = make_kgid(net->user_ns, 0); in proc_net_ns_init()
/openbmc/linux/fs/nfs_common/
H A Dnfsacl.c246 entry->e_gid = make_kgid(&init_user_ns, id); in xdr_nfsace_decode()

12345