Home
last modified time | relevance | path

Searched refs:gid_valid (Results 1 – 25 of 83) sorted by relevance

1234

/linux-6.6.21/net/netfilter/
Dxt_owner.c52 if (!gid_valid(gid_min) || !gid_valid(gid_max) || in owner_check()
/linux-6.6.21/include/linux/
Duidgid.h116 static inline bool gid_valid(kgid_t gid) in gid_valid() function
186 return gid_valid(gid); in kgid_has_mapping()
Dmnt_idmapping.h184 return gid_valid(from_vfsgid(idmap, fs_userns, vfsgid)); in vfsgid_has_fsmapping()
/linux-6.6.21/security/keys/
Dpermission.c61 if (gid_valid(key->gid) && key->perm & KEY_GRP_ALL) { in key_task_permission()
/linux-6.6.21/fs/quota/
Dkqid.c126 return gid_valid(qid.gid); in qid_valid()
/linux-6.6.21/security/safesetid/
Dsecurityfs.c61 if (!gid_valid(rule->src_id.gid) || !gid_valid(rule->dst_id.gid)) in parse_policy_line()
/linux-6.6.21/net/core/
Dscm.c52 if (!uid_valid(uid) || !gid_valid(gid)) in scm_check_creds()
195 if (!uid_valid(uid) || !gid_valid(gid)) in __scm_send()
/linux-6.6.21/net/
Dsysctl_net.c69 if (gid_valid(ns_root_gid)) in net_ctl_set_ownership()
/linux-6.6.21/fs/hfsplus/
Doptions.c153 if (!gid_valid(sbi->gid)) { in hfsplus_parse_options()
/linux-6.6.21/kernel/
Dgroups.c68 if (!gid_valid(kgid)) in groups_from_user()
Duid16.c145 if (!gid_valid(kgid)) in groups16_from_user()
Dsys.c383 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setregid()
385 if ((egid != (gid_t) -1) && !gid_valid(kegid)) in __sys_setregid()
447 if (!gid_valid(kgid)) in __sys_setgid()
782 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setresgid()
784 if ((egid != (gid_t) -1) && !gid_valid(kegid)) in __sys_setresgid()
786 if ((sgid != (gid_t) -1) && !gid_valid(ksgid)) in __sys_setresgid()
918 if (!gid_valid(kgid)) in __sys_setfsgid()
/linux-6.6.21/fs/nfs_common/
Dnfsacl.c247 if (!gid_valid(entry->e_gid)) in xdr_nfsace_decode()
/linux-6.6.21/fs/proc/
Dproc_net.c378 if (!gid_valid(gid)) in proc_net_ns_init()
/linux-6.6.21/security/tomoyo/
Dtomoyo.c381 if (!error && gid_valid(gid)) in tomoyo_path_chown()
/linux-6.6.21/fs/autofs/
Dinode.c179 if (!gid_valid(gid)) in parse_options()
/linux-6.6.21/fs/jfs/
Dsuper.c355 if (!gid_valid(sbi->gid)) in parse_options()
697 if (gid_valid(sbi->gid)) in jfs_show_options()
/linux-6.6.21/fs/vboxsf/
Dsuper.c83 if (!gid_valid(gid)) in vboxsf_parse_param()
/linux-6.6.21/fs/hfs/
Dsuper.c265 if (!gid_valid(hsb->s_gid)) { in parse_options()
/linux-6.6.21/fs/adfs/
Dsuper.c157 if (!gid_valid(asb->s_gid)) in parse_options()
/linux-6.6.21/arch/s390/hypfs/
Dinode.c239 if (!gid_valid(gid)) in hypfs_parse_param()
/linux-6.6.21/security/integrity/ima/
Dima_policy.c1685 if (gid_valid(entry->gid)) { in ima_parse_rule()
1694 if (!gid_valid(entry->gid) || in ima_parse_rule()
1738 if (gid_valid(entry->fgroup)) { in ima_parse_rule()
1747 if (!gid_valid(entry->fgroup) || in ima_parse_rule()
/linux-6.6.21/fs/devpts/
Dinode.c272 if (!gid_valid(gid)) in parse_mount_options()
/linux-6.6.21/fs/smb/client/
Dcifsacl.c378 if (gid_valid(gid)) { in sid_to_id()
434 if (gid_valid(gid)) in sid_to_id()
1335 if (gid_valid(gid)) { /* chgrp */ in build_sec_desc()
/linux-6.6.21/fs/9p/
Dv9fs.c237 if (!gid_valid(v9ses->dfltgid)) { in v9fs_parse_options()

1234