/linux-6.1.9/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 | mnt_idmapping.h | 24 static_assert(sizeof(vfsuid_t) == sizeof(kuid_t)); 26 static_assert(offsetof(vfsuid_t, val) == offsetof(kuid_t, val)); 81 static inline bool vfsuid_eq_kuid(vfsuid_t vfsuid, kuid_t kuid) in vfsuid_eq_kuid() 115 #define AS_KUIDT(val) (kuid_t){ __vfsuid_val(val) } 196 kuid_t kuid) in make_vfsuid() 211 static inline kuid_t mapped_kuid_fs(struct user_namespace *mnt_userns, in mapped_kuid_fs() 213 kuid_t kuid) in mapped_kuid_fs() 274 static inline kuid_t from_vfsuid(struct user_namespace *mnt_userns, in from_vfsuid() 310 static inline kuid_t mapped_kuid_user(struct user_namespace *mnt_userns, in mapped_kuid_user() 312 kuid_t kuid) in mapped_kuid_user() [all …]
|
D | sysfs.h | 345 int sysfs_file_change_owner(struct kobject *kobj, const char *name, kuid_t kuid, 347 int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid); 349 const char *name, kuid_t kuid, kgid_t kgid); 352 kuid_t kuid, kgid_t kgid); 354 const struct attribute_group *groups, kuid_t kuid, 574 const char *name, kuid_t kuid, in sysfs_file_change_owner() 582 const char *name, kuid_t kuid, in sysfs_link_change_owner() 588 static inline int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid) in sysfs_change_owner() 595 kuid_t kuid, kgid_t kgid) in sysfs_groups_change_owner() 602 kuid_t kuid, kgid_t kgid) in sysfs_group_change_owner()
|
D | ipc.h | 17 kuid_t uid; 19 kuid_t cuid;
|
D | user_namespace.h | 74 kuid_t owner; 110 kuid_t uid; 121 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, enum ucount_type type); 123 struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid);
|
D | cred.h | 119 kuid_t uid; /* real UID of the task */ 121 kuid_t suid; /* saved UID of the task */ 123 kuid_t euid; /* effective UID of the task */ 125 kuid_t fsuid; /* UID for VFS ops */
|
/linux-6.1.9/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-6.1.9/kernel/ |
D | audit.h | 63 kuid_t rootid; 81 kuid_t uid; 137 kuid_t uid, euid, suid, fsuid; 143 kuid_t target_auid; 144 kuid_t target_uid; 160 kuid_t uid; 232 extern int audit_uid_comparator(kuid_t left, u32 op, kuid_t right);
|
D | user.c | 118 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find() 167 struct user_struct *find_user(kuid_t uid) in find_user() 189 struct user_struct *alloc_uid(kuid_t uid) in alloc_uid()
|
/linux-6.1.9/include/linux/sched/ |
D | user.h | 24 kuid_t uid; 41 extern struct user_struct *find_user(kuid_t); 48 extern struct user_struct * alloc_uid(kuid_t);
|
/linux-6.1.9/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-6.1.9/security/ |
D | commoncap.c | 331 static bool rootid_owns_currentns(kuid_t kroot) in rootid_owns_currentns() 383 kuid_t kroot; in cap_inode_getsecurity() 502 static kuid_t rootid_from_xattr(const void *value, size_t size, in rootid_from_xattr() 508 kuid_t rootkid; in rootid_from_xattr() 552 kuid_t rootid; in cap_convert_nscap() 659 kuid_t rootkuid; in get_vfs_caps_from_disk() 775 static inline bool __is_real(kuid_t uid, struct cred *cred) in __is_real() 778 static inline bool __is_eff(kuid_t uid, struct cred *cred) in __is_eff() 781 static inline bool __is_suid(kuid_t uid, struct cred *cred) in __is_suid() 797 bool *effective, kuid_t root_uid) in handle_privileged_root() [all …]
|
/linux-6.1.9/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-6.1.9/fs/sysfs/ |
D | sysfs.h | 31 const struct attribute *attr, umode_t amode, kuid_t uid, 35 kuid_t uid, kgid_t gid, const void *ns);
|
D | file.c | 255 const struct attribute *attr, umode_t mode, kuid_t uid, in sysfs_add_file_mode_ns() 306 kuid_t uid, kgid_t gid, const void *ns) in sysfs_add_bin_file_mode_ns() 348 kuid_t uid; in sysfs_create_file_ns() 383 kuid_t uid; in sysfs_add_file_to_group() 561 kuid_t uid; in sysfs_create_bin_file() 585 static int internal_change_owner(struct kernfs_node *kn, kuid_t kuid, in internal_change_owner() 611 const char *name, kuid_t kuid, kgid_t kgid) in sysfs_link_change_owner() 649 int sysfs_file_change_owner(struct kobject *kobj, const char *name, kuid_t kuid, in sysfs_file_change_owner() 691 int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid) in sysfs_change_owner()
|
D | group.c | 35 kuid_t uid, kgid_t gid, in create_files() 111 kuid_t uid; in internal_create_group() 329 kuid_t uid; in sysfs_merge_group() 517 const struct attribute_group *grp, kuid_t kuid, in sysfs_group_change_owner() 561 kuid_t kuid, kgid_t kgid) in sysfs_groups_change_owner()
|
/linux-6.1.9/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-6.1.9/include/net/9p/ |
D | 9p.h | 399 kuid_t n_uid; /* 9p2000.u extensions */ 401 kuid_t n_muid; /* 9p2000.u extensions */ 408 kuid_t st_uid; 463 kuid_t uid;
|
/linux-6.1.9/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-6.1.9/fs/9p/ |
D | fid.c | 52 static struct p9_fid *v9fs_fid_find_inode(struct inode *inode, kuid_t uid) in v9fs_fid_find_inode() 99 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find() 157 kuid_t uid, int any) in v9fs_fid_lookup_with_uid() 276 kuid_t uid; in v9fs_fid_lookup()
|
/linux-6.1.9/fs/cifs/ |
D | fs_context.h | 179 kuid_t cred_uid; 180 kuid_t linux_uid; 182 kuid_t backupuid;
|
/linux-6.1.9/drivers/android/ |
D | binder_internal.h | 21 kuid_t binder_context_mgr_uid; 69 kuid_t root_uid; 529 kuid_t sender_euid;
|
/linux-6.1.9/fs/kernfs/ |
D | kernfs-internal.h | 23 kuid_t ia_uid; 152 kuid_t uid, kgid_t gid,
|
/linux-6.1.9/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-6.1.9/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()
|