Home
last modified time | relevance | path

Searched refs:uid_valid (Results 1 – 25 of 82) sorted by relevance

1234

/kernel/linux/linux-5.10/net/netfilter/
Dxt_owner.c40 if (!uid_valid(uid_min) || !uid_valid(uid_max) || in owner_check()
/kernel/linux/linux-5.10/include/linux/
Duidgid.h119 static inline bool uid_valid(kuid_t uid) in uid_valid() function
189 return uid_valid(uid); in kuid_has_mapping()
/kernel/linux/linux-5.10/fs/quota/
Dkqid.c124 return uid_valid(qid.uid); in qid_valid()
/kernel/linux/linux-5.10/net/
Dsysctl_net.c65 if (uid_valid(ns_root_uid)) in net_ctl_set_ownership()
/kernel/linux/linux-5.10/security/safesetid/
Dsecurityfs.c56 if (!uid_valid(rule->src_id.uid) || !uid_valid(rule->dst_id.uid)) in parse_policy_line()
/kernel/linux/linux-5.10/net/core/
Dscm.c52 if (!uid_valid(uid) || !gid_valid(gid)) in scm_check_creds()
194 if (!uid_valid(uid) || !gid_valid(gid)) in __scm_send()
/kernel/linux/linux-5.10/security/keys/
Dpersistent.c141 if (!uid_valid(uid)) in keyctl_get_persistent()
/kernel/linux/linux-5.10/net/ax25/
Dax25_uid.c95 if (!uid_valid(sax25_kuid)) in ax25_uid_ioctl()
/kernel/linux/linux-5.10/fs/hfsplus/
Doptions.c140 if (!uid_valid(sbi->uid)) { in hfsplus_parse_options()
/kernel/linux/linux-5.10/block/
Dioprio.c137 if (!uid_valid(uid)) in SYSCALL_DEFINE3()
/kernel/linux/linux-5.10/fs/9p/
Dv9fs.c219 if (!uid_valid(v9ses->dfltuid)) { in v9fs_parse_options()
333 if (!uid_valid(v9ses->uid)) { in v9fs_parse_options()
/kernel/linux/linux-5.10/kernel/
Dsys.c514 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setreuid()
516 if ((euid != (uid_t) -1) && !uid_valid(keuid)) in __sys_setreuid()
588 if (!uid_valid(kuid)) in __sys_setuid()
643 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setresuid()
646 if ((euid != (uid_t) -1) && !uid_valid(keuid)) in __sys_setresuid()
649 if ((suid != (uid_t) -1) && !uid_valid(ksuid)) in __sys_setresuid()
822 if (!uid_valid(kuid)) in __sys_setfsuid()
/kernel/linux/linux-5.10/fs/nfs_common/
Dnfsacl.c171 if (!uid_valid(entry->e_uid)) in xdr_nfsace_decode()
/kernel/linux/linux-5.10/fs/
Dattr.c325 if (!(ia_valid & ATTR_UID) && !uid_valid(inode->i_uid)) in notify_change()
/kernel/linux/linux-5.10/fs/proc/
Dproc_net.c356 if (!uid_valid(uid)) in proc_net_ns_init()
/kernel/linux/linux-5.10/fs/cifs/
Dcifsacl.c391 if (uid_valid(uid)) { in sid_to_id()
432 if (uid_valid(uid)) in sid_to_id()
1036 if (uid_valid(uid)) { /* chown */ in build_sec_desc()
/kernel/linux/linux-5.10/security/integrity/ima/
Dima_policy.c1362 if (uid_valid(entry->uid)) { in ima_parse_rule()
1371 if (!uid_valid(entry->uid) || in ima_parse_rule()
1390 if (uid_valid(entry->fowner)) { in ima_parse_rule()
1398 if (!uid_valid(entry->fowner) || (((uid_t)lnum) != lnum)) in ima_parse_rule()
/kernel/linux/linux-5.10/security/tomoyo/
Dtomoyo.c359 if (uid_valid(uid)) in tomoyo_path_chown()
/kernel/linux/linux-5.10/fs/autofs/
Dinode.c170 if (!uid_valid(uid)) in parse_options()
/kernel/linux/linux-5.10/fs/jfs/
Dsuper.c342 if (!uid_valid(sbi->uid)) in parse_options()
701 if (uid_valid(sbi->uid)) in jfs_show_options()
/kernel/linux/linux-5.10/fs/vboxsf/
Dsuper.c77 if (!uid_valid(uid)) in vboxsf_parse_param()
/kernel/linux/linux-5.10/fs/hfs/
Dsuper.c254 if (!uid_valid(hsb->s_uid)) { in parse_options()
/kernel/linux/linux-5.10/security/
Dcommoncap.c326 if (!uid_valid(kroot)) in rootid_owns_currentns()
521 if (!uid_valid(rootid)) in cap_convert_nscap()
/kernel/linux/linux-5.10/fs/adfs/
Dsuper.c150 if (!uid_valid(asb->s_uid)) in parse_options()
/kernel/linux/linux-5.10/arch/s390/hypfs/
Dinode.c233 if (!uid_valid(uid)) in hypfs_parse_param()

1234