Home
last modified time | relevance | path

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

12345

/linux-6.1.9/net/netfilter/
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()
95 kgid_t gid_min = make_kgid(net->user_ns, info->gid_min); in owner_mt()
96 kgid_t gid_max = make_kgid(net->user_ns, info->gid_max); in owner_mt()
/linux-6.1.9/include/linux/
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
Dmnt_idmapping.h253 return VFSGIDT_INIT(make_kgid(mnt_userns, gid)); in make_vfsgid()
373 return make_kgid(fs_userns, gid); in from_vfsgid()
Dquota.h108 kqid.gid = make_kgid(from, qid); in make_kqid()
/linux-6.1.9/security/safesetid/
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()
/linux-6.1.9/net/core/
Dscm.c49 kgid_t gid = make_kgid(cred->user_ns, creds->gid); in scm_check_creds()
187 gid = make_kgid(current_user_ns(), creds.gid); in __scm_send()
/linux-6.1.9/net/
Dsysctl_net.c68 ns_root_gid = make_kgid(net->user_ns, 0); in net_ctl_set_ownership()
/linux-6.1.9/fs/coda/
Dcoda_linux.c118 inode->i_gid = make_kgid(&init_user_ns, (gid_t) attr->va_gid); in coda_vattr_to_iattr()
/linux-6.1.9/fs/hfsplus/
Doptions.c152 sbi->gid = make_kgid(current_user_ns(), (gid_t)tmp); in hfsplus_parse_options()
/linux-6.1.9/kernel/
Dgroups.c67 kgid = make_kgid(user_ns, gid); in groups_from_user()
Duid16.c144 kgid = make_kgid(user_ns, low2highgid(group)); in groups16_from_user()
Dsys.c373 krgid = make_kgid(ns, rgid); in __sys_setregid()
374 kegid = make_kgid(ns, egid); in __sys_setregid()
439 kgid = make_kgid(ns, gid); in __sys_setgid()
765 krgid = make_kgid(ns, rgid); in __sys_setresgid()
766 kegid = make_kgid(ns, egid); in __sys_setresgid()
767 ksgid = make_kgid(ns, sgid); in __sys_setresgid()
899 kgid = make_kgid(old->user_ns, gid); in __sys_setfsgid()
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()
/linux-6.1.9/net/ipv4/
Dsysctl_net_ipv4.c180 low = make_kgid(user_ns, urange[0]); in ipv4_ping_group_range()
181 high = make_kgid(user_ns, urange[1]); in ipv4_ping_group_range()
185 low = make_kgid(&init_user_ns, 1); in ipv4_ping_group_range()
186 high = make_kgid(&init_user_ns, 0); in ipv4_ping_group_range()
/linux-6.1.9/fs/
Dposix_acl.c764 gid = make_kgid(&init_user_ns, le32_to_cpu(entry->e_id)); in posix_acl_getxattr_idmapped_mnt()
796 gid = make_kgid(from, le32_to_cpu(entry->e_id)); in posix_acl_fix_xattr_userns()
1035 return make_kgid(fs_userns, le32_to_cpu(e->e_id)); in posix_acl_from_xattr_kgid()
/linux-6.1.9/fs/ext2/
Dacl.c71 make_kgid(&init_user_ns, in ext2_acl_from_disk()
/linux-6.1.9/fs/xfs/
Dxfs_acl.c78 acl_e->e_gid = make_kgid(&init_user_ns, in xfs_acl_from_disk()
/linux-6.1.9/net/sunrpc/
Dsvcauth_unix.c519 kgid = make_kgid(current_user_ns(), gid); in unix_gid_parse()
881 cred->cr_gid = make_kgid(userns, svc_getnl(argv)); /* gid */ in svcauth_unix_accept()
889 kgid_t kgid = make_kgid(userns, svc_getnl(argv)); in svcauth_unix_accept()
/linux-6.1.9/fs/ext4/
Dacl.c70 make_kgid(&init_user_ns, in ext4_acl_from_disk()
/linux-6.1.9/fs/jffs2/
Dacl.c112 make_kgid(&init_user_ns, in jffs2_acl_from_medium()
/linux-6.1.9/net/sunrpc/auth_gss/
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()
/linux-6.1.9/fs/proc/
Droot.c152 fs_info->pid_gid = make_kgid(user_ns, ctx->gid); in proc_apply_options()
Dproc_net.c376 gid = make_kgid(net->user_ns, 0); in proc_net_ns_init()
/linux-6.1.9/fs/reiserfs/
Dxattr_acl.c117 make_kgid(&init_user_ns, in reiserfs_posix_acl_from_disk()
/linux-6.1.9/fs/nfs_common/
Dnfsacl.c246 entry->e_gid = make_kgid(&init_user_ns, id); in xdr_nfsace_decode()

12345