/linux/include/linux/ |
A 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 …]
|
A D | sysfs.h | 329 int sysfs_file_change_owner(struct kobject *kobj, const char *name, kuid_t kuid, 331 int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid); 333 const char *name, kuid_t kuid, kgid_t kgid); 336 kuid_t kuid, kgid_t kgid); 338 const struct attribute_group *groups, kuid_t kuid, 558 const char *name, kuid_t kuid, in sysfs_file_change_owner() 566 const char *name, kuid_t kuid, in sysfs_link_change_owner() 572 static inline int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid) in sysfs_change_owner() 579 kuid_t kuid, kgid_t kgid) in sysfs_groups_change_owner() 586 kuid_t kuid, kgid_t kgid) in sysfs_group_change_owner()
|
A D | user_namespace.h | 72 kuid_t owner; 107 kuid_t uid; 117 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, enum ucount_type type); 119 struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid);
|
A D | ipc.h | 17 kuid_t uid; 19 kuid_t cuid;
|
A 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 */
|
A D | kernfs.h | 372 kuid_t uid, kgid_t gid, 378 kuid_t uid, kgid_t gid, 469 umode_t mode, kuid_t uid, kgid_t gid, in kernfs_create_dir_ns() 475 umode_t mode, kuid_t uid, kgid_t gid, in __kernfs_create_file()
|
/linux/kernel/ |
A 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; 228 extern int audit_uid_comparator(kuid_t left, u32 op, kuid_t right);
|
A 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/fs/gfs2/ |
A 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/include/linux/sched/ |
A D | user.h | 24 kuid_t uid; 40 extern struct user_struct *find_user(kuid_t); 47 extern struct user_struct * alloc_uid(kuid_t);
|
/linux/security/ |
A D | commoncap.c | 330 static bool rootid_owns_currentns(kuid_t kroot) in rootid_owns_currentns() 382 kuid_t kroot; in cap_inode_getsecurity() 503 kuid_t rootkid; in rootid_from_xattr() 547 kuid_t rootid; in cap_convert_nscap() 654 kuid_t rootkuid; in get_vfs_caps_from_disk() 773 static inline bool __is_eff(kuid_t uid, struct cred *cred) in __is_eff() 792 bool *effective, kuid_t root_uid) in handle_privileged_root() 856 kuid_t root, bool has_fcap) in nonroot_raised_pE() 895 kuid_t root_uid; in cap_bprm_creds_from_file() 1089 kuid_t root_uid = make_kuid(old->user_ns, 0); in cap_emulate_setxuid() [all …]
|
/linux/net/netfilter/ |
A 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/fs/sysfs/ |
A 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()
|
A D | sysfs.h | 31 const struct attribute *attr, umode_t amode, kuid_t uid, 35 kuid_t uid, kgid_t gid, const void *ns);
|
A 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/include/net/9p/ |
A D | 9p.h | 396 kuid_t n_uid; /* 9p2000.u extensions */ 398 kuid_t n_muid; /* 9p2000.u extensions */ 405 kuid_t st_uid; 460 kuid_t uid;
|
/linux/fs/nfsd/ |
A 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/fs/nfs/ |
A 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/security/keys/ |
A 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/fs/9p/ |
A D | fid.c | 48 static struct p9_fid *v9fs_fid_find_inode(struct inode *inode, kuid_t uid) in v9fs_fid_find_inode() 91 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find() 150 kuid_t uid, int any) in v9fs_fid_lookup_with_uid() 272 kuid_t uid; in v9fs_fid_lookup()
|
/linux/fs/ksmbd/ |
A D | smbacl.h | 151 kuid_t cf_uid; 166 kuid_t uid; 216 kuid_t kuid; in posix_acl_uid_translate()
|
/linux/fs/cifs/ |
A D | fs_context.h | 177 kuid_t cred_uid; 178 kuid_t linux_uid; 180 kuid_t backupuid;
|
/linux/drivers/android/ |
A D | binder_internal.h | 21 kuid_t binder_context_mgr_uid; 69 kuid_t root_uid; 546 kuid_t sender_euid;
|
/linux/fs/kernfs/ |
A D | kernfs-internal.h | 23 kuid_t ia_uid; 135 kuid_t uid, kgid_t gid,
|
/linux/net/ |
A 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()
|