Home
last modified time | relevance | path

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

12345678

/Linux-v4.19/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()
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 …]
Dipc.h17 kuid_t uid;
19 kuid_t cuid;
Duser_namespace.h62 kuid_t owner;
84 kuid_t uid;
93 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, enum ucount_type type);
Dcred.h125 kuid_t uid; /* real UID of the task */
127 kuid_t suid; /* saved UID of the task */
129 kuid_t euid; /* effective UID of the task */
131 kuid_t fsuid; /* UID for VFS ops */
Dkernfs.h329 kuid_t uid, kgid_t gid,
335 kuid_t uid, kgid_t gid,
421 umode_t mode, kuid_t uid, kgid_t gid, in kernfs_create_dir_ns()
427 umode_t mode, kuid_t uid, kgid_t gid, in __kernfs_create_file()
513 umode_t mode, kuid_t uid, kgid_t gid, in kernfs_create_file_ns()
Dkey.h170 kuid_t uid;
239 kuid_t uid, kgid_t gid,
316 extern struct key *keyring_alloc(const char *description, kuid_t uid, kgid_t gid,
/Linux-v4.19/fs/gfs2/
Dquota.h23 extern int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid);
26 extern int gfs2_quota_lock(struct gfs2_inode *ip, kuid_t uid, kgid_t gid);
29 extern int gfs2_quota_check(struct gfs2_inode *ip, kuid_t uid, kgid_t gid,
32 kuid_t uid, kgid_t gid);
/Linux-v4.19/kernel/
Daudit.h89 kuid_t uid;
140 kuid_t uid, euid, suid, fsuid;
146 kuid_t target_auid;
147 kuid_t target_uid;
163 kuid_t uid;
237 extern int audit_uid_comparator(kuid_t left, u32 op, kuid_t right);
330 extern kuid_t audit_sig_uid;
Duser.c120 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find()
154 struct user_struct *find_user(kuid_t uid) in find_user()
176 struct user_struct *alloc_uid(kuid_t uid) in alloc_uid()
Ducount.c121 static struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashe… in find_ucounts()
132 static struct ucounts *get_ucounts(struct user_namespace *ns, kuid_t uid) in get_ucounts()
196 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, in inc_ucount()
/Linux-v4.19/include/linux/sched/
Duser.h40 kuid_t uid;
53 extern struct user_struct *find_user(kuid_t);
60 extern struct user_struct * alloc_uid(kuid_t);
/Linux-v4.19/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()
/Linux-v4.19/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);
/Linux-v4.19/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);
/Linux-v4.19/fs/cifs/
Dcifs_fs_sb.h64 kuid_t mnt_uid;
66 kuid_t mnt_backupuid;
/Linux-v4.19/security/
Dcommoncap.c329 static bool rootid_owns_currentns(kuid_t kroot) in rootid_owns_currentns()
380 kuid_t kroot; in cap_inode_getsecurity()
460 static kuid_t rootid_from_xattr(const void *value, size_t size, in rootid_from_xattr()
492 kuid_t rootid; in cap_convert_nscap()
586 kuid_t rootkuid; in get_vfs_caps_from_disk()
700 static inline bool __is_real(kuid_t uid, struct cred *cred) in __is_real()
703 static inline bool __is_eff(kuid_t uid, struct cred *cred) in __is_eff()
706 static inline bool __is_suid(kuid_t uid, struct cred *cred) in __is_suid()
722 bool *effective, kuid_t root_uid) in handle_privileged_root()
786 kuid_t root, bool has_fcap) in nonroot_raised_pE()
[all …]
/Linux-v4.19/include/net/9p/
D9p.h410 kuid_t n_uid; /* 9p2000.u extensions */
412 kuid_t n_muid; /* 9p2000.u extensions */
419 kuid_t st_uid;
474 kuid_t uid;
/Linux-v4.19/security/keys/
Dpersistent.c44 static key_ref_t key_create_persistent(struct user_namespace *ns, kuid_t uid, in key_create_persistent()
77 static long key_get_persistent(struct user_namespace *ns, kuid_t uid, in key_get_persistent()
135 kuid_t uid; in keyctl_get_persistent()
/Linux-v4.19/net/
Dsysctl_net.c57 kuid_t *uid, kgid_t *gid) in net_ctl_set_ownership()
60 kuid_t ns_root_uid; in net_ctl_set_ownership()
/Linux-v4.19/fs/9p/
Dfid.c64 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find()
117 kuid_t uid, int any) in v9fs_fid_lookup_with_uid()
233 kuid_t uid; in v9fs_fid_lookup()
Dv9fs.h113 kuid_t dfltuid; /* default uid/muid for legacy support */
115 kuid_t uid; /* if ACCESS_SINGLE, the uid that has access */
/Linux-v4.19/net/ax25/
Dax25_uid.c53 ax25_uid_assoc *ax25_findbyuid(kuid_t uid) in ax25_findbyuid()
94 kuid_t sax25_kuid; in ax25_uid_ioctl()
/Linux-v4.19/include/net/
Dscm.h20 kuid_t uid;
57 struct pid *pid, kuid_t uid, kgid_t gid) in scm_set_cred()
/Linux-v4.19/include/linux/sunrpc/
Dauth.h49 kuid_t uid;
72 kuid_t cr_uid;
/Linux-v4.19/fs/jfs/
Djfs_incore.h41 kuid_t saved_uid; /* saved for uid mount option */
199 kuid_t uid; /* uid to override on-disk uid */

12345678