/Linux-v5.4/include/linux/ |
D | uidgid.h | 23 } kuid_t; typedef 30 #define KUIDT_INIT(value) (kuid_t){ value } 34 static inline uid_t __kuid_val(kuid_t uid) in __kuid_val() 44 static inline uid_t __kuid_val(kuid_t uid) in __kuid_val() 61 static inline bool uid_eq(kuid_t left, kuid_t right) in uid_eq() 71 static inline bool uid_gt(kuid_t left, kuid_t right) in uid_gt() 81 static inline bool uid_gte(kuid_t left, kuid_t right) in uid_gte() 91 static inline bool uid_lt(kuid_t left, kuid_t right) in uid_lt() 101 static inline bool uid_lte(kuid_t left, kuid_t right) in uid_lte() 111 static inline bool uid_valid(kuid_t uid) in uid_valid() [all …]
|
D | ipc.h | 17 kuid_t uid; 19 kuid_t cuid;
|
D | user_namespace.h | 62 kuid_t owner; 94 kuid_t uid; 103 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, enum ucount_type type);
|
D | cred.h | 120 kuid_t uid; /* real UID of the task */ 122 kuid_t suid; /* saved UID of the task */ 124 kuid_t euid; /* effective UID of the task */ 126 kuid_t fsuid; /* UID for VFS ops */
|
D | kernfs.h | 345 kuid_t uid, kgid_t gid, 351 kuid_t uid, kgid_t gid, 442 umode_t mode, kuid_t uid, kgid_t gid, in kernfs_create_dir_ns() 448 umode_t mode, kuid_t uid, kgid_t gid, in __kernfs_create_file() 542 umode_t mode, kuid_t uid, kgid_t gid, in kernfs_create_file_ns()
|
/Linux-v5.4/security/safesetid/ |
D | lsm.h | 36 kuid_t src_uid; 37 kuid_t dst_uid; 49 kuid_t src, kuid_t dst);
|
D | lsm.c | 31 kuid_t src, kuid_t dst) in _setuid_policy_lookup() 50 static enum sid_policy_type setuid_policy_lookup(kuid_t src, kuid_t dst) in setuid_policy_lookup() 100 static bool uid_permitted_for_cred(const struct cred *old, kuid_t new_uid) in uid_permitted_for_cred()
|
/Linux-v5.4/kernel/ |
D | audit.h | 59 kuid_t rootid; 77 kuid_t uid; 128 kuid_t uid, euid, suid, fsuid; 134 kuid_t target_auid; 135 kuid_t target_uid; 151 kuid_t uid; 218 extern int audit_uid_comparator(kuid_t left, u32 op, kuid_t right); 331 extern kuid_t audit_sig_uid;
|
D | user.c | 121 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find() 153 struct user_struct *find_user(kuid_t uid) in find_user() 175 struct user_struct *alloc_uid(kuid_t uid) in alloc_uid()
|
D | ucount.c | 114 static struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashe… in find_ucounts() 125 static struct ucounts *get_ucounts(struct user_namespace *ns, kuid_t uid) in get_ucounts() 189 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, in inc_ucount()
|
/Linux-v5.4/fs/gfs2/ |
D | quota.h | 20 extern int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid); 23 extern int gfs2_quota_lock(struct gfs2_inode *ip, kuid_t uid, kgid_t gid); 26 extern int gfs2_quota_check(struct gfs2_inode *ip, kuid_t uid, kgid_t gid, 29 kuid_t uid, kgid_t gid);
|
/Linux-v5.4/include/linux/sched/ |
D | user.h | 33 kuid_t uid; 46 extern struct user_struct *find_user(kuid_t); 53 extern struct user_struct * alloc_uid(kuid_t);
|
/Linux-v5.4/net/netfilter/ |
D | xt_owner.c | 37 kuid_t uid_min = make_kuid(net->user_ns, info->uid_min); in owner_check() 38 kuid_t uid_max = make_kuid(net->user_ns, info->uid_max); in owner_check() 85 kuid_t uid_min = make_kuid(net->user_ns, info->uid_min); in owner_mt() 86 kuid_t uid_max = make_kuid(net->user_ns, info->uid_max); in owner_mt()
|
/Linux-v5.4/fs/nfsd/ |
D | idmap.h | 55 __be32 nfsd_map_name_to_uid(struct svc_rqst *, const char *, size_t, kuid_t *); 57 __be32 nfsd4_encode_user(struct xdr_stream *, struct svc_rqst *, kuid_t);
|
/Linux-v5.4/fs/nfs/ |
D | nfs4idmap.h | 60 int nfs_map_name_to_uid(const struct nfs_server *, const char *, size_t, kuid_t *); 62 int nfs_map_uid_to_name(const struct nfs_server *, kuid_t, char *, size_t);
|
/Linux-v5.4/security/ |
D | commoncap.c | 322 static bool rootid_owns_currentns(kuid_t kroot) in rootid_owns_currentns() 373 kuid_t kroot; in cap_inode_getsecurity() 453 static kuid_t rootid_from_xattr(const void *value, size_t size, in rootid_from_xattr() 485 kuid_t rootid; in cap_convert_nscap() 579 kuid_t rootkuid; in get_vfs_caps_from_disk() 692 static inline bool __is_real(kuid_t uid, struct cred *cred) in __is_real() 695 static inline bool __is_eff(kuid_t uid, struct cred *cred) in __is_eff() 698 static inline bool __is_suid(kuid_t uid, struct cred *cred) in __is_suid() 714 bool *effective, kuid_t root_uid) in handle_privileged_root() 778 kuid_t root, bool has_fcap) in nonroot_raised_pE() [all …]
|
/Linux-v5.4/include/net/9p/ |
D | 9p.h | 398 kuid_t n_uid; /* 9p2000.u extensions */ 400 kuid_t n_muid; /* 9p2000.u extensions */ 407 kuid_t st_uid; 462 kuid_t uid;
|
/Linux-v5.4/fs/cifs/ |
D | cifs_fs_sb.h | 69 kuid_t mnt_uid; 71 kuid_t mnt_backupuid;
|
/Linux-v5.4/security/keys/ |
D | persistent.c | 40 static key_ref_t key_create_persistent(struct user_namespace *ns, kuid_t uid, in key_create_persistent() 73 static long key_get_persistent(struct user_namespace *ns, kuid_t uid, in key_get_persistent() 133 kuid_t uid; in keyctl_get_persistent()
|
/Linux-v5.4/drivers/android/ |
D | binder_internal.h | 18 kuid_t binder_context_mgr_uid; 65 kuid_t root_uid;
|
/Linux-v5.4/fs/kernfs/ |
D | kernfs-internal.h | 22 kuid_t ia_uid; 110 kuid_t uid, kgid_t gid,
|
/Linux-v5.4/net/ |
D | sysctl_net.c | 58 kuid_t *uid, kgid_t *gid) in net_ctl_set_ownership() 61 kuid_t ns_root_uid; in net_ctl_set_ownership()
|
/Linux-v5.4/fs/9p/ |
D | fid.c | 49 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find() 102 kuid_t uid, int any) in v9fs_fid_lookup_with_uid() 218 kuid_t uid; in v9fs_fid_lookup()
|
D | v9fs.h | 98 kuid_t dfltuid; /* default uid/muid for legacy support */ 100 kuid_t uid; /* if ACCESS_SINGLE, the uid that has access */
|
/Linux-v5.4/net/ax25/ |
D | ax25_uid.c | 50 ax25_uid_assoc *ax25_findbyuid(kuid_t uid) in ax25_findbyuid() 91 kuid_t sax25_kuid; in ax25_uid_ioctl()
|