cred 245 include/linux/audit.h const struct cred *new, cred 246 include/linux/audit.h const struct cred *old); cred 247 include/linux/audit.h extern void __audit_log_capset(const struct cred *new, const struct cred *old); cred 304 include/linux/audit.h const struct cred *new, cred 305 include/linux/audit.h const struct cred *old) cred 312 include/linux/audit.h static inline void audit_log_capset(const struct cred *new, cred 313 include/linux/audit.h const struct cred *old) cred 419 include/linux/audit.h const struct cred *new, cred 420 include/linux/audit.h const struct cred *old) cred 424 include/linux/audit.h static inline void audit_log_capset(const struct cred *new, cred 425 include/linux/audit.h const struct cred *old) cred 36 include/linux/binfmts.h struct cred *cred; /* new credentials */ cred 23 include/linux/cred.h struct cred; cred 69 include/linux/cred.h extern void set_groups(struct cred *, struct group_info *); cred 142 include/linux/cred.h extern void __put_cred(struct cred *); cred 145 include/linux/cred.h extern const struct cred *get_task_cred(struct task_struct *); cred 146 include/linux/cred.h extern struct cred *cred_alloc_blank(void); cred 147 include/linux/cred.h extern struct cred *prepare_creds(void); cred 148 include/linux/cred.h extern struct cred *prepare_exec_creds(void); cred 149 include/linux/cred.h extern int commit_creds(struct cred *); cred 150 include/linux/cred.h extern void abort_creds(struct cred *); cred 151 include/linux/cred.h extern const struct cred *override_creds(const struct cred *); cred 152 include/linux/cred.h extern void revert_creds(const struct cred *); cred 153 include/linux/cred.h extern struct cred *prepare_kernel_cred(struct task_struct *); cred 154 include/linux/cred.h extern int change_create_files_as(struct cred *, struct inode *); cred 155 include/linux/cred.h extern int set_security_override(struct cred *, u32); cred 156 include/linux/cred.h extern int set_security_override_from_ctx(struct cred *, const char *); cred 157 include/linux/cred.h extern int set_create_files_as(struct cred *, struct inode *); cred 164 include/linux/cred.h extern void __invalid_creds(const struct cred *, const char *, unsigned); cred 168 include/linux/cred.h extern bool creds_are_invalid(const struct cred *cred); cred 170 include/linux/cred.h static inline void __validate_creds(const struct cred *cred, cred 173 include/linux/cred.h if (unlikely(creds_are_invalid(cred))) cred 174 include/linux/cred.h __invalid_creds(cred, file, line); cred 177 include/linux/cred.h #define validate_creds(cred) \ cred 179 include/linux/cred.h __validate_creds((cred), __FILE__, __LINE__); \ cred 189 include/linux/cred.h static inline void validate_creds(const struct cred *cred) cred 207 include/linux/cred.h static inline struct cred *get_new_cred(struct cred *cred) cred 209 include/linux/cred.h atomic_inc(&cred->usage); cred 210 include/linux/cred.h return cred; cred 226 include/linux/cred.h static inline const struct cred *get_cred(const struct cred *cred) cred 228 include/linux/cred.h struct cred *nonconst_cred = (struct cred *) cred; cred 229 include/linux/cred.h validate_creds(cred); cred 244 include/linux/cred.h static inline void put_cred(const struct cred *_cred) cred 246 include/linux/cred.h struct cred *cred = (struct cred *) _cred; cred 248 include/linux/cred.h validate_creds(cred); cred 249 include/linux/cred.h if (atomic_dec_and_test(&(cred)->usage)) cred 250 include/linux/cred.h __put_cred(cred); cred 260 include/linux/cred.h rcu_dereference_protected(current->cred, 1) cred 303 include/linux/cred.h const struct cred *__cred; \ cred 318 include/linux/cred.h const struct cred *__cred; \ cred 326 include/linux/cred.h __typeof__(((struct cred *)NULL)->xxx) ___val; \ cred 363 include/linux/cred.h const struct cred *__cred; \ cred 371 include/linux/cred.h const struct cred *__cred; \ cred 379 include/linux/cred.h const struct cred *__cred; \ cred 47 include/linux/fs.h struct cred; cred 807 include/linux/fs.h const struct cred *f_cred; cred 1555 include/linux/fs.h int (*dentry_open)(struct dentry *, struct file *, const struct cred *); cred 2071 include/linux/fs.h extern int vfs_open(const struct path *, struct file *, const struct cred *); cred 2072 include/linux/fs.h extern struct file * dentry_open(const struct path *, int, const struct cred *); cred 130 include/linux/init_task.h extern struct cred init_cred; cred 205 include/linux/init_task.h RCU_POINTER_INITIALIZER(cred, &init_cred), \ cred 79 include/linux/key.h struct cred; cred 217 include/linux/key.h const struct cred *cred, cred 291 include/linux/key.h const struct cred *cred, cred 353 include/linux/key.h extern int install_thread_keyring_to_cred(struct cred *cred); cred 48 include/linux/kmod.h struct cred; cred 64 include/linux/kmod.h int (*init)(struct subprocess_info *info, struct cred *new); cred 74 include/linux/kmod.h int (*init)(struct subprocess_info *info, struct cred *new), cred 53 include/linux/nfs_fs.h struct rpc_cred * cred; cred 81 include/linux/nfs_fs.h struct rpc_cred *cred; cred 97 include/linux/nfs_fs.h struct rpc_cred *cred; cred 365 include/linux/nfs_fs.h extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, fmode_t mode); cred 440 include/linux/nfs_fs.h return ctx->cred; cred 465 include/linux/nfs_fs.h extern int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags); cred 251 include/linux/nfs_xdr.h struct rpc_cred *cred; cred 287 include/linux/nfs_xdr.h struct rpc_cred *cred; cred 309 include/linux/nfs_xdr.h struct rpc_cred *cred; cred 1283 include/linux/nfs_xdr.h struct rpc_cred *cred; cred 1341 include/linux/nfs_xdr.h struct rpc_cred *cred; cred 1370 include/linux/nfs_xdr.h struct rpc_cred *cred; cred 1378 include/linux/nfs_xdr.h struct rpc_cred *cred; cred 70 include/linux/nsproxy.h struct cred *, struct fs_struct *); cred 106 include/linux/pnfs_osd_xdr.h void *cred; cred 1392 include/linux/sched.h const struct cred __rcu *real_cred; /* objective and real subjective task cred 1394 include/linux/sched.h const struct cred __rcu *cred; /* effective (overridable) subjective task cred 2331 include/linux/sched.h const struct cred *, u32); cred 32 include/linux/security.h struct cred; cred 76 include/linux/security.h extern int cap_capable(const struct cred *cred, struct user_namespace *ns, cred 82 include/linux/security.h extern int cap_capset(struct cred *new, const struct cred *old, cred 96 include/linux/security.h extern int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags); cred 1449 include/linux/security.h int (*capset) (struct cred *new, cred 1450 include/linux/security.h const struct cred *old, cred 1454 include/linux/security.h int (*capable) (const struct cred *cred, struct user_namespace *ns, cred 1566 include/linux/security.h int (*file_open) (struct file *file, const struct cred *cred); cred 1570 include/linux/security.h int (*cred_alloc_blank) (struct cred *cred, gfp_t gfp); cred 1571 include/linux/security.h void (*cred_free) (struct cred *cred); cred 1572 include/linux/security.h int (*cred_prepare)(struct cred *new, const struct cred *old, cred 1574 include/linux/security.h void (*cred_transfer)(struct cred *new, const struct cred *old); cred 1575 include/linux/security.h int (*kernel_act_as)(struct cred *new, u32 secid); cred 1576 include/linux/security.h int (*kernel_create_files_as)(struct cred *new, struct inode *inode); cred 1580 include/linux/security.h int (*task_fix_setuid) (struct cred *new, const struct cred *old, cred 1717 include/linux/security.h int (*key_alloc) (struct key *key, const struct cred *cred, unsigned long flags); cred 1720 include/linux/security.h const struct cred *cred, cred 1748 include/linux/security.h int security_capset(struct cred *new, const struct cred *old, cred 1752 include/linux/security.h int security_capable(const struct cred *cred, struct user_namespace *ns, cred 1754 include/linux/security.h int security_capable_noaudit(const struct cred *cred, struct user_namespace *ns, cred 1841 include/linux/security.h int security_file_open(struct file *file, const struct cred *cred); cred 1844 include/linux/security.h int security_cred_alloc_blank(struct cred *cred, gfp_t gfp); cred 1845 include/linux/security.h void security_cred_free(struct cred *cred); cred 1846 include/linux/security.h int security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp); cred 1847 include/linux/security.h void security_transfer_creds(struct cred *new, const struct cred *old); cred 1848 include/linux/security.h int security_kernel_act_as(struct cred *new, u32 secid); cred 1849 include/linux/security.h int security_kernel_create_files_as(struct cred *new, struct inode *inode); cred 1853 include/linux/security.h int security_task_fix_setuid(struct cred *new, const struct cred *old, cred 1949 include/linux/security.h static inline int security_capset(struct cred *new, cred 1950 include/linux/security.h const struct cred *old, cred 1958 include/linux/security.h static inline int security_capable(const struct cred *cred, cred 1961 include/linux/security.h return cap_capable(cred, ns, cap, SECURITY_CAP_AUDIT); cred 1964 include/linux/security.h static inline int security_capable_noaudit(const struct cred *cred, cred 1966 include/linux/security.h return cap_capable(cred, ns, cap, SECURITY_CAP_NOAUDIT); cred 2333 include/linux/security.h const struct cred *cred) cred 2346 include/linux/security.h static inline int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) cred 2351 include/linux/security.h static inline void security_cred_free(struct cred *cred) cred 2354 include/linux/security.h static inline int security_prepare_creds(struct cred *new, cred 2355 include/linux/security.h const struct cred *old, cred 2361 include/linux/security.h static inline void security_transfer_creds(struct cred *new, cred 2362 include/linux/security.h const struct cred *old) cred 2366 include/linux/security.h static inline int security_kernel_act_as(struct cred *cred, u32 secid) cred 2371 include/linux/security.h static inline int security_kernel_create_files_as(struct cred *cred, cred 2393 include/linux/security.h static inline int security_task_fix_setuid(struct cred *new, cred 2394 include/linux/security.h const struct cred *old, cred 3051 include/linux/security.h int security_key_alloc(struct key *key, const struct cred *cred, unsigned long flags); cred 3054 include/linux/security.h const struct cred *cred, unsigned perm); cred 3060 include/linux/security.h const struct cred *cred, cred 3071 include/linux/security.h const struct cred *cred, cred 13 include/linux/socket.h struct cred; cred 191 include/linux/sunrpc/auth.h struct rpc_cred * get_rpccred(struct rpc_cred *cred) cred 193 include/linux/sunrpc/auth.h atomic_inc(&cred->cr_count); cred 194 include/linux/sunrpc/auth.h return cred; cred 165 include/linux/sunrpc/clnt.h struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred, cred 30 include/linux/sunrpc/svcauth.h static inline void init_svc_cred(struct svc_cred *cred) cred 32 include/linux/sunrpc/svcauth.h cred->cr_group_info = NULL; cred 33 include/linux/sunrpc/svcauth.h cred->cr_principal = NULL; cred 34 include/linux/sunrpc/svcauth.h cred->cr_gss_mech = NULL; cred 37 include/linux/sunrpc/svcauth.h static inline void free_svc_cred(struct svc_cred *cred) cred 39 include/linux/sunrpc/svcauth.h if (cred->cr_group_info) cred 40 include/linux/sunrpc/svcauth.h put_group_info(cred->cr_group_info); cred 41 include/linux/sunrpc/svcauth.h kfree(cred->cr_principal); cred 42 include/linux/sunrpc/svcauth.h gss_mech_put(cred->cr_gss_mech); cred 43 include/linux/sunrpc/svcauth.h init_svc_cred(cred); cred 54 include/linux/user_namespace.h extern int create_user_ns(struct cred *new); cred 55 include/linux/user_namespace.h extern int unshare_userns(unsigned long unshare_flags, struct cred **new_cred); cred 81 include/linux/user_namespace.h static inline int create_user_ns(struct cred *new) cred 87 include/linux/user_namespace.h struct cred **new_cred) cred 46 include/net/af_vsock.h const struct cred *owner; cred 406 include/net/sock.h const struct cred *sk_peer_cred; cred 33 include/scsi/osd_ore.h u8 cred[OSD_CAP_LEN];