Home
last modified time | relevance | path

Searched refs:cred (Results 1 – 21 of 21) sorted by relevance

/include/linux/
Dcred.h23 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 …]
Dsecurity.h32 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 …]
Duser_namespace.h54 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()
Dkmod.h48 struct cred;
64 int (*init)(struct subprocess_info *info, struct cred *new);
74 int (*init)(struct subprocess_info *info, struct cred *new),
Dkey.h79 struct cred;
218 const struct cred *cred,
293 const struct cred *cred,
355 extern int install_thread_keyring_to_cred(struct cred *cred);
Daudit.h245 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 …]
Dbinfmts.h36 struct cred *cred; /* new credentials */ member
Dnsproxy.h70 struct cred *, struct fs_struct *);
Dnfs_fs.h53 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);
Dinit_task.h130 extern struct cred init_cred;
208 RCU_POINTER_INITIALIZER(cred, &init_cred), \
Dpnfs_osd_xdr.h106 void *cred; member
Dnfs_xdr.h251 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
Dsocket.h13 struct cred;
Dsched.h1511 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);
Dfs.h47 struct cred;
813 const struct cred *f_cred;
2106 extern struct file * dentry_open(const struct path *, int, const struct cred *);
/include/linux/sunrpc/
Dsvcauth.h30 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()
Dauth.h191 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()
Dclnt.h164 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred,
/include/scsi/
Dosd_ore.h33 u8 cred[OSD_CAP_LEN]; member
/include/net/
Daf_vsock.h46 const struct cred *owner;
Dsock.h408 const struct cred *sk_peer_cred;