Home
last modified time | relevance | path

Searched refs:kuid_t (Results 1 – 25 of 225) sorted by relevance

123456789

/kernel/linux/linux-5.10/include/linux/
Duidgid.h23 } 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()
65 static inline bool uid_eq(kuid_t left, kuid_t right) in uid_eq()
75 static inline bool uid_gt(kuid_t left, kuid_t right) in uid_gt()
85 static inline bool uid_gte(kuid_t left, kuid_t right) in uid_gte()
95 static inline bool uid_lt(kuid_t left, kuid_t right) in uid_lt()
105 static inline bool uid_lte(kuid_t left, kuid_t right) in uid_lte()
115 static inline bool uid_valid(kuid_t uid) in uid_valid()
[all …]
Dsysfs.h321 int sysfs_file_change_owner(struct kobject *kobj, const char *name, kuid_t kuid,
323 int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid);
325 const char *name, kuid_t kuid, kgid_t kgid);
328 kuid_t kuid, kgid_t kgid);
330 const struct attribute_group *groups, kuid_t kuid,
550 const char *name, kuid_t kuid, in sysfs_file_change_owner()
558 const char *name, kuid_t kuid, in sysfs_link_change_owner()
564 static inline int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid) in sysfs_change_owner()
571 kuid_t kuid, kgid_t kgid) in sysfs_groups_change_owner()
578 kuid_t kuid, kgid_t kgid) in sysfs_group_change_owner()
Dipc.h17 kuid_t uid;
19 kuid_t cuid;
Duser_namespace.h63 kuid_t owner;
98 kuid_t uid;
107 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, enum ucount_type type);
Dcred.h120 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 */
Dkernfs.h371 kuid_t uid, kgid_t gid,
377 kuid_t uid, kgid_t gid,
468 umode_t mode, kuid_t uid, kgid_t gid, in kernfs_create_dir_ns()
474 umode_t mode, kuid_t uid, kgid_t gid, in __kernfs_create_file()
568 umode_t mode, kuid_t uid, kgid_t gid, in kernfs_create_file_ns()
/kernel/linux/linux-5.10/fs/hmdfs/authority/
Dauthentication.h198 static inline kuid_t get_inode_uid(struct inode *inode) in get_inode_uid()
200 kuid_t uid = inode->i_uid; in get_inode_uid()
204 static inline void set_inode_uid(struct inode *inode, kuid_t uid) in set_inode_uid()
209 static inline kuid_t hmdfs_override_inode_uid(struct inode *inode) in hmdfs_override_inode_uid()
211 kuid_t uid = get_inode_uid(inode); in hmdfs_override_inode_uid()
217 static inline void hmdfs_revert_inode_uid(struct inode *inode, kuid_t uid) in hmdfs_revert_inode_uid()
330 kuid_t hmdfs_override_inode_uid(struct inode *inode) in hmdfs_override_inode_uid()
336 void hmdfs_revert_inode_uid(struct inode *inode, kuid_t uid) in hmdfs_revert_inode_uid()
/kernel/linux/linux-5.10/fs/gfs2/
Dquota.h20 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);
/kernel/linux/linux-5.10/kernel/
Daudit.h59 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);
Duser.c121 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()
Ducount.c117 static struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashe… in find_ucounts()
128 static struct ucounts *get_ucounts(struct user_namespace *ns, kuid_t uid) in get_ucounts()
192 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, in inc_ucount()
/kernel/linux/linux-5.10/include/linux/sched/
Duser.h33 kuid_t uid;
49 extern struct user_struct *find_user(kuid_t);
56 extern struct user_struct * alloc_uid(kuid_t);
/kernel/linux/linux-5.10/net/netfilter/
Dxt_owner.c37 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()
/kernel/linux/linux-5.10/fs/nfsd/
Didmap.h55 __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);
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4idmap.h60 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);
/kernel/linux/linux-5.10/security/
Dcommoncap.c322 static bool rootid_owns_currentns(kuid_t kroot) in rootid_owns_currentns()
373 kuid_t kroot; in cap_inode_getsecurity()
472 static kuid_t rootid_from_xattr(const void *value, size_t size, in rootid_from_xattr()
504 kuid_t rootid; in cap_convert_nscap()
598 kuid_t rootkuid; in get_vfs_caps_from_disk()
712 static inline bool __is_real(kuid_t uid, struct cred *cred) in __is_real()
715 static inline bool __is_eff(kuid_t uid, struct cred *cred) in __is_eff()
718 static inline bool __is_suid(kuid_t uid, struct cred *cred) in __is_suid()
734 bool *effective, kuid_t root_uid) in handle_privileged_root()
798 kuid_t root, bool has_fcap) in nonroot_raised_pE()
[all …]
/kernel/linux/linux-5.10/include/net/9p/
D9p.h398 kuid_t n_uid; /* 9p2000.u extensions */
400 kuid_t n_muid; /* 9p2000.u extensions */
407 kuid_t st_uid;
462 kuid_t uid;
/kernel/linux/linux-5.10/fs/cifs/
Dcifs_fs_sb.h69 kuid_t mnt_uid;
71 kuid_t mnt_backupuid;
/kernel/linux/linux-5.10/security/keys/
Dpersistent.c40 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()
/kernel/linux/linux-5.10/fs/sysfs/
Dfile.c248 umode_t mode, kuid_t uid, kgid_t gid, const void *ns) in sysfs_add_file_mode_ns()
325 kuid_t uid; in sysfs_create_file_ns()
362 kuid_t uid; in sysfs_add_file_to_group()
540 kuid_t uid; in sysfs_create_bin_file()
564 static int internal_change_owner(struct kernfs_node *kn, kuid_t kuid, in internal_change_owner()
590 const char *name, kuid_t kuid, kgid_t kgid) in sysfs_link_change_owner()
628 int sysfs_file_change_owner(struct kobject *kobj, const char *name, kuid_t kuid, in sysfs_file_change_owner()
670 int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid) in sysfs_change_owner()
Dgroup.c35 kuid_t uid, kgid_t gid, in create_files()
112 kuid_t uid; in internal_create_group()
330 kuid_t uid; in sysfs_merge_group()
518 const struct attribute_group *grp, kuid_t kuid, in sysfs_group_change_owner()
562 kuid_t kuid, kgid_t kgid) in sysfs_groups_change_owner()
/kernel/linux/linux-5.10/fs/kernfs/
Dkernfs-internal.h22 kuid_t ia_uid;
112 kuid_t uid, kgid_t gid,
/kernel/linux/linux-5.10/drivers/android/
Dbinder_internal.h19 kuid_t binder_context_mgr_uid;
67 kuid_t root_uid;
/kernel/linux/linux-5.10/net/
Dsysctl_net.c58 kuid_t *uid, kgid_t *gid) in net_ctl_set_ownership()
61 kuid_t ns_root_uid; in net_ctl_set_ownership()
/kernel/linux/linux-5.10/fs/9p/
Dfid.c49 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()

123456789