Home
last modified time | relevance | path

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

1234

/Linux-v5.10/net/netfilter/
Dxt_owner.c52 if (!gid_valid(gid_min) || !gid_valid(gid_max) || in owner_check()
/Linux-v5.10/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()
/Linux-v5.10/security/keys/
Dpermission.c61 if (gid_valid(key->gid) && key->perm & KEY_GRP_ALL) { in key_task_permission()
/Linux-v5.10/fs/quota/
Dkqid.c126 return gid_valid(qid.gid); in qid_valid()
/Linux-v5.10/net/
Dsysctl_net.c69 if (gid_valid(ns_root_gid)) in net_ctl_set_ownership()
/Linux-v5.10/security/safesetid/
Dsecurityfs.c61 if (!gid_valid(rule->src_id.gid) || !gid_valid(rule->dst_id.gid)) in parse_policy_line()
/Linux-v5.10/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-v5.10/fs/hfsplus/
Doptions.c151 if (!gid_valid(sbi->gid)) { in hfsplus_parse_options()
/Linux-v5.10/kernel/
Dgroups.c73 if (!gid_valid(kgid)) in groups_from_user()
Duid16.c145 if (!gid_valid(kgid)) in groups16_from_user()
Dsys.c362 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setregid()
364 if ((egid != (gid_t) -1) && !gid_valid(kegid)) in __sys_setregid()
426 if (!gid_valid(kgid)) in __sys_setgid()
734 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setresgid()
736 if ((egid != (gid_t) -1) && !gid_valid(kegid)) in __sys_setresgid()
738 if ((sgid != (gid_t) -1) && !gid_valid(ksgid)) in __sys_setresgid()
865 if (!gid_valid(kgid)) in __sys_setfsgid()
/Linux-v5.10/fs/nfs_common/
Dnfsacl.c176 if (!gid_valid(entry->e_gid)) in xdr_nfsace_decode()
/Linux-v5.10/fs/
Dattr.c325 if (!(ia_valid & ATTR_GID) && !gid_valid(inode->i_gid)) in notify_change()
/Linux-v5.10/fs/proc/
Dproc_net.c376 if (!gid_valid(gid)) in proc_net_ns_init()
/Linux-v5.10/fs/cifs/
Dcifsacl.c381 if (gid_valid(gid)) { in sid_to_id()
439 if (gid_valid(gid)) in sid_to_id()
1067 if (gid_valid(gid)) { /* chgrp */ in build_sec_desc()
/Linux-v5.10/security/tomoyo/
Dtomoyo.c362 if (!error && gid_valid(gid)) in tomoyo_path_chown()
/Linux-v5.10/fs/autofs/
Dinode.c178 if (!gid_valid(gid)) in parse_options()
/Linux-v5.10/fs/jfs/
Dsuper.c356 if (!gid_valid(sbi->gid)) in parse_options()
703 if (gid_valid(sbi->gid)) in jfs_show_options()
/Linux-v5.10/fs/tracefs/
Dinode.c191 if (!gid_valid(gid)) in tracefs_parse_options()
/Linux-v5.10/fs/hfs/
Dsuper.c265 if (!gid_valid(hsb->s_gid)) { in parse_options()
/Linux-v5.10/fs/vboxsf/
Dsuper.c86 if (!gid_valid(gid)) in vboxsf_parse_param()
/Linux-v5.10/fs/adfs/
Dsuper.c157 if (!gid_valid(asb->s_gid)) in parse_options()
/Linux-v5.10/arch/s390/hypfs/
Dinode.c239 if (!gid_valid(gid)) in hypfs_parse_param()
/Linux-v5.10/fs/9p/
Dv9fs.c234 if (!gid_valid(v9ses->dfltgid)) { in v9fs_parse_options()
/Linux-v5.10/fs/devpts/
Dinode.c290 if (!gid_valid(gid)) in parse_mount_options()

1234