/include/linux/ |
D | cred.h | 23 struct cred; 69 extern void set_groups(struct cred *, struct group_info *); 103 struct cred { struct 143 extern void __put_cred(struct cred *); argument 146 extern const struct cred *get_task_cred(struct task_struct *); 147 extern struct cred *cred_alloc_blank(void); 148 extern struct cred *prepare_creds(void); 149 extern struct cred *prepare_exec_creds(void); 150 extern int commit_creds(struct cred *); 151 extern void abort_creds(struct cred *); [all …]
|
D | security.h | 32 struct cred; 76 extern int cap_capable(const struct cred *cred, struct user_namespace *ns, 82 extern int cap_capset(struct cred *new, const struct cred *old, 96 extern int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags); 1454 int (*capset) (struct cred *new, 1455 const struct cred *old, 1459 int (*capable) (const struct cred *cred, struct user_namespace *ns, 1571 int (*file_open) (struct file *file, const struct cred *cred); 1575 int (*cred_alloc_blank) (struct cred *cred, gfp_t gfp); 1576 void (*cred_free) (struct cred *cred); [all …]
|
D | user_namespace.h | 54 extern int create_user_ns(struct cred *new); 55 extern int unshare_userns(unsigned long unshare_flags, struct cred **new_cred); 81 static inline int create_user_ns(struct cred *new) in create_user_ns() 87 struct cred **new_cred) in unshare_userns()
|
D | kmod.h | 48 struct cred; 64 int (*init)(struct subprocess_info *info, struct cred *new); 74 int (*init)(struct subprocess_info *info, struct cred *new),
|
D | key.h | 79 struct cred; 218 const struct cred *cred, 293 const struct cred *cred, 355 extern int install_thread_keyring_to_cred(struct cred *cred);
|
D | audit.h | 245 const struct cred *new, 246 const struct cred *old); 247 extern void __audit_log_capset(const struct cred *new, const struct cred *old); 318 const struct cred *new, in audit_log_bprm_fcaps() 319 const struct cred *old) in audit_log_bprm_fcaps() 326 static inline void audit_log_capset(const struct cred *new, in audit_log_capset() 327 const struct cred *old) in audit_log_capset() 439 const struct cred *new, in audit_log_bprm_fcaps() 440 const struct cred *old) in audit_log_bprm_fcaps() 444 static inline void audit_log_capset(const struct cred *new, in audit_log_capset() [all …]
|
D | binfmts.h | 36 struct cred *cred; /* new credentials */ member
|
D | nsproxy.h | 70 struct cred *, struct fs_struct *);
|
D | nfs_fs.h | 53 struct rpc_cred * cred; member 81 struct rpc_cred *cred; member 97 struct rpc_cred *cred; member 365 extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, f… 440 return ctx->cred; in nfs_file_cred() 465 extern int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags);
|
D | init_task.h | 130 extern struct cred init_cred; 208 RCU_POINTER_INITIALIZER(cred, &init_cred), \
|
D | pnfs_osd_xdr.h | 106 void *cred; member
|
D | nfs_xdr.h | 251 struct rpc_cred *cred; member 287 struct rpc_cred *cred; member 309 struct rpc_cred *cred; member 1283 struct rpc_cred *cred; member 1341 struct rpc_cred *cred; member 1370 struct rpc_cred *cred; member 1378 struct rpc_cred *cred; member
|
D | socket.h | 13 struct cred;
|
D | sched.h | 1511 const struct cred __rcu *real_cred; /* objective and real subjective task 1513 const struct cred __rcu *cred; /* effective (overridable) subjective task member 2460 const struct cred *, u32);
|
D | fs.h | 47 struct cred; 813 const struct cred *f_cred; 2106 extern struct file * dentry_open(const struct path *, int, const struct cred *);
|
/include/linux/sunrpc/ |
D | svcauth.h | 30 static inline void init_svc_cred(struct svc_cred *cred) in init_svc_cred() argument 32 cred->cr_group_info = NULL; in init_svc_cred() 33 cred->cr_principal = NULL; in init_svc_cred() 34 cred->cr_gss_mech = NULL; in init_svc_cred() 37 static inline void free_svc_cred(struct svc_cred *cred) in free_svc_cred() argument 39 if (cred->cr_group_info) in free_svc_cred() 40 put_group_info(cred->cr_group_info); in free_svc_cred() 41 kfree(cred->cr_principal); in free_svc_cred() 42 gss_mech_put(cred->cr_gss_mech); in free_svc_cred() 43 init_svc_cred(cred); in free_svc_cred()
|
D | auth.h | 191 struct rpc_cred * get_rpccred(struct rpc_cred *cred) in get_rpccred() argument 193 atomic_inc(&cred->cr_count); in get_rpccred() 194 return cred; in get_rpccred()
|
D | clnt.h | 164 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred,
|
/include/scsi/ |
D | osd_ore.h | 33 u8 cred[OSD_CAP_LEN]; member
|
/include/net/ |
D | af_vsock.h | 46 const struct cred *owner;
|
D | sock.h | 408 const struct cred *sk_peer_cred;
|