Lines Matching defs:cred
111 struct cred { struct
112 atomic_long_t usage;
113 kuid_t uid; /* real UID of the task */
114 kgid_t gid; /* real GID of the task */
115 kuid_t suid; /* saved UID of the task */
116 kgid_t sgid; /* saved GID of the task */
117 kuid_t euid; /* effective UID of the task */
118 kgid_t egid; /* effective GID of the task */
119 kuid_t fsuid; /* UID for VFS ops */
120 kgid_t fsgid; /* GID for VFS ops */
121 unsigned securebits; /* SUID-less security management */
122 kernel_cap_t cap_inheritable; /* caps our children can inherit */
123 kernel_cap_t cap_permitted; /* caps we're permitted */
124 kernel_cap_t cap_effective; /* caps we can actually use */
125 kernel_cap_t cap_bset; /* capability bounding set */
149 extern void __put_cred(struct cred *); argument
166 static inline bool cap_ambient_invariant_ok(const struct cred *cred) in cap_ambient_invariant_ok()
197 static inline const struct cred *get_cred_many(const struct cred *cred, int nr) in get_cred_many()
216 static inline const struct cred *get_cred(const struct cred *cred) in get_cred()
221 static inline const struct cred *get_cred_rcu(const struct cred *cred) in get_cred_rcu()
246 struct cred *cred = (struct cred *) _cred; in put_cred_many() local
261 static inline void put_cred(const struct cred *cred) in put_cred()