Lines Matching defs:cred
110 struct cred { struct
111 atomic_t usage;
113 atomic_t subscribers; /* number of processes subscribed */
114 void *put_addr;
115 unsigned magic;
119 kuid_t uid; /* real UID of the task */
120 kgid_t gid; /* real GID of the task */
121 kuid_t suid; /* saved UID of the task */
122 kgid_t sgid; /* saved GID of the task */
123 kuid_t euid; /* effective UID of the task */
124 kgid_t egid; /* effective GID of the task */
125 kuid_t fsuid; /* UID for VFS ops */
126 kgid_t fsgid; /* GID for VFS ops */
127 unsigned securebits; /* SUID-less security management */
128 kernel_cap_t cap_inheritable; /* caps our children can inherit */
129 kernel_cap_t cap_permitted; /* caps we're permitted */
130 kernel_cap_t cap_effective; /* caps we can actually use */
131 kernel_cap_t cap_bset; /* capability bounding set */
155 extern void __put_cred(struct cred *); argument
184 static inline void __validate_creds(const struct cred *cred, in __validate_creds()
191 #define validate_creds(cred) \ argument
203 static inline void validate_creds(const struct cred *cred) in validate_creds()
214 static inline bool cap_ambient_invariant_ok(const struct cred *cred) in cap_ambient_invariant_ok()
228 static inline struct cred *get_new_cred(struct cred *cred) in get_new_cred()
247 static inline const struct cred *get_cred(const struct cred *cred) in get_cred()
257 static inline const struct cred *get_cred_rcu(const struct cred *cred) in get_cred_rcu()
282 struct cred *cred = (struct cred *) _cred; in put_cred() local