Home
last modified time | relevance | path

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

12345

/linux-6.12.1/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()
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()
/linux-6.12.1/include/linux/
Duidgid.h116 extern kgid_t make_kgid(struct user_namespace *from, gid_t gid);
143 static inline kgid_t make_kgid(struct user_namespace *from, gid_t gid) in make_kgid() function
/linux-6.12.1/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.12.1/fs/smb/client/
Dreparse.h45 return make_kgid(current_user_ns(), gid); in wsl_make_kgid()
/linux-6.12.1/net/core/
Dscm.c51 kgid_t gid = make_kgid(cred->user_ns, creds->gid); in scm_check_creds()
205 gid = make_kgid(current_user_ns(), creds.gid); in __scm_send()
/linux-6.12.1/net/
Dsysctl_net.c67 ns_root_gid = make_kgid(net->user_ns, 0); in net_ctl_set_ownership()
/linux-6.12.1/ipc/
Dmq_sysctl.c86 kgid_t ns_root_gid = make_kgid(ns->user_ns, 0); in mq_set_ownership()
Dipc_sysctl.c200 kgid_t ns_root_gid = make_kgid(ns->user_ns, 0); in ipc_set_ownership()
/linux-6.12.1/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.12.1/fs/hfsplus/
Doptions.c152 sbi->gid = make_kgid(current_user_ns(), (gid_t)tmp); in hfsplus_parse_options()
/linux-6.12.1/fs/
Dmnt_idmapping.c192 return make_kgid(fs_userns, gid); in from_vfsgid()
/linux-6.12.1/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.c389 krgid = make_kgid(ns, rgid); in __sys_setregid()
390 kegid = make_kgid(ns, egid); in __sys_setregid()
455 kgid = make_kgid(ns, gid); in __sys_setgid()
787 krgid = make_kgid(ns, rgid); in __sys_setresgid()
788 kegid = make_kgid(ns, egid); in __sys_setresgid()
789 ksgid = make_kgid(ns, sgid); in __sys_setresgid()
926 kgid = make_kgid(old->user_ns, gid); in __sys_setfsgid()
Duser_namespace.c479 kgid_t make_kgid(struct user_namespace *ns, gid_t gid) in make_kgid() function
484 EXPORT_SYMBOL(make_kgid);
1182 kgid_t gid = make_kgid(ns->parent, id); in new_idmap_permitted()
/linux-6.12.1/fs/ext2/
Dacl.c71 make_kgid(&init_user_ns, in ext2_acl_from_disk()
/linux-6.12.1/net/ipv4/
Dsysctl_net_ipv4.c183 low = make_kgid(user_ns, urange[0]); in ipv4_ping_group_range()
184 high = make_kgid(user_ns, urange[1]); in ipv4_ping_group_range()
188 low = make_kgid(&init_user_ns, 1); in ipv4_ping_group_range()
189 high = make_kgid(&init_user_ns, 0); in ipv4_ping_group_range()
/linux-6.12.1/net/sunrpc/
Dsvcauth_unix.c529 kgid = make_kgid(current_user_ns(), gid); in unix_gid_parse()
954 cred->cr_gid = make_kgid(userns, i); in svcauth_unix_accept()
967 kgid_t kgid = make_kgid(userns, be32_to_cpup(p++)); in svcauth_unix_accept()
/linux-6.12.1/fs/smb/server/
Dsmb_common.c762 cred->fsgid = make_kgid(&init_user_ns, gid); in __ksmbd_override_fsids()
771 gi->gid[i] = make_kgid(&init_user_ns, user->sgid[i]); in __ksmbd_override_fsids()
/linux-6.12.1/fs/xfs/
Dxfs_acl.c78 acl_e->e_gid = make_kgid(&init_user_ns, in xfs_acl_from_disk()
/linux-6.12.1/fs/ext4/
Dacl.c70 make_kgid(&init_user_ns, in ext4_acl_from_disk()
/linux-6.12.1/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.12.1/fs/jffs2/
Dacl.c112 make_kgid(&init_user_ns, in jffs2_acl_from_medium()
/linux-6.12.1/fs/proc/
Droot.c152 fs_info->pid_gid = make_kgid(user_ns, ctx->gid); in proc_apply_options()
/linux-6.12.1/fs/nfs_common/
Dnfsacl.c247 entry->e_gid = make_kgid(&init_user_ns, id); in xdr_nfsace_decode()

12345