Lines Matching defs:cred
111 struct cred { struct
112 atomic_t usage;
114 atomic_t subscribers; /* number of processes subscribed */
115 void *put_addr;
116 unsigned magic;
120 kuid_t uid; /* real UID of the task */
121 kgid_t gid; /* real GID of the task */
122 kuid_t suid; /* saved UID of the task */
123 kgid_t sgid; /* saved GID of the task */
124 kuid_t euid; /* effective UID of the task */
125 kgid_t egid; /* effective GID of the task */
126 kuid_t fsuid; /* UID for VFS ops */
127 kgid_t fsgid; /* GID for VFS ops */
128 unsigned securebits; /* SUID-less security management */
129 kernel_cap_t cap_inheritable; /* caps our children can inherit */
130 kernel_cap_t cap_permitted; /* caps we're permitted */
131 kernel_cap_t cap_effective; /* caps we can actually use */
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