Home
last modified time | relevance | path

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

1234

/Linux-v6.1/net/netfilter/
Dxt_owner.c52 if (!gid_valid(gid_min) || !gid_valid(gid_max) || in owner_check()
/Linux-v6.1/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.h419 return gid_valid(from_vfsgid(mnt_userns, fs_userns, vfsgid)); in vfsgid_has_fsmapping()
/Linux-v6.1/security/keys/
Dpermission.c61 if (gid_valid(key->gid) && key->perm & KEY_GRP_ALL) { in key_task_permission()
/Linux-v6.1/fs/quota/
Dkqid.c126 return gid_valid(qid.gid); in qid_valid()
/Linux-v6.1/security/safesetid/
Dsecurityfs.c61 if (!gid_valid(rule->src_id.gid) || !gid_valid(rule->dst_id.gid)) in parse_policy_line()
/Linux-v6.1/net/core/
Dscm.c51 if (!uid_valid(uid) || !gid_valid(gid)) in scm_check_creds()
188 if (!uid_valid(uid) || !gid_valid(gid)) in __scm_send()
/Linux-v6.1/net/
Dsysctl_net.c69 if (gid_valid(ns_root_gid)) in net_ctl_set_ownership()
/Linux-v6.1/fs/hfsplus/
Doptions.c151 if (!gid_valid(sbi->gid)) { in hfsplus_parse_options()
/Linux-v6.1/kernel/
Dgroups.c68 if (!gid_valid(kgid)) in groups_from_user()
Duid16.c145 if (!gid_valid(kgid)) in groups16_from_user()
Dsys.c376 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setregid()
378 if ((egid != (gid_t) -1) && !gid_valid(kegid)) in __sys_setregid()
440 if (!gid_valid(kgid)) in __sys_setgid()
769 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setresgid()
771 if ((egid != (gid_t) -1) && !gid_valid(kegid)) in __sys_setresgid()
773 if ((sgid != (gid_t) -1) && !gid_valid(ksgid)) in __sys_setresgid()
900 if (!gid_valid(kgid)) in __sys_setfsgid()
/Linux-v6.1/fs/proc/
Dproc_net.c377 if (!gid_valid(gid)) in proc_net_ns_init()
/Linux-v6.1/fs/nfs_common/
Dnfsacl.c247 if (!gid_valid(entry->e_gid)) in xdr_nfsace_decode()
/Linux-v6.1/fs/autofs/
Dinode.c179 if (!gid_valid(gid)) in parse_options()
/Linux-v6.1/security/tomoyo/
Dtomoyo.c369 if (!error && gid_valid(gid)) in tomoyo_path_chown()
/Linux-v6.1/fs/jfs/
Dsuper.c355 if (!gid_valid(sbi->gid)) in parse_options()
697 if (gid_valid(sbi->gid)) in jfs_show_options()
/Linux-v6.1/fs/vboxsf/
Dsuper.c83 if (!gid_valid(gid)) in vboxsf_parse_param()
/Linux-v6.1/fs/hfs/
Dsuper.c265 if (!gid_valid(hsb->s_gid)) { in parse_options()
/Linux-v6.1/security/integrity/ima/
Dima_policy.c1635 if (gid_valid(entry->gid)) { in ima_parse_rule()
1644 if (!gid_valid(entry->gid) || in ima_parse_rule()
1688 if (gid_valid(entry->fgroup)) { in ima_parse_rule()
1697 if (!gid_valid(entry->fgroup) || in ima_parse_rule()
/Linux-v6.1/fs/cifs/
Dcifsacl.c373 if (gid_valid(gid)) { in sid_to_id()
429 if (gid_valid(gid)) in sid_to_id()
1330 if (gid_valid(gid)) { /* chgrp */ in build_sec_desc()
/Linux-v6.1/fs/adfs/
Dsuper.c157 if (!gid_valid(asb->s_gid)) in parse_options()
/Linux-v6.1/arch/s390/hypfs/
Dinode.c239 if (!gid_valid(gid)) in hypfs_parse_param()
/Linux-v6.1/fs/tracefs/
Dinode.c267 if (!gid_valid(gid)) in tracefs_parse_options()
/Linux-v6.1/fs/9p/
Dv9fs.c235 if (!gid_valid(v9ses->dfltgid)) { in v9fs_parse_options()

1234