Home
last modified time | relevance | path

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

12

/include/linux/
A Dcred.h20 struct cred;
111 struct cred { struct
197 static inline const struct cred *get_cred_many(const struct cred *cred, int nr) in get_cred_many() argument
199 struct cred *nonconst_cred = (struct cred *) cred; in get_cred_many()
200 if (!cred) in get_cred_many()
216 static inline const struct cred *get_cred(const struct cred *cred) in get_cred() argument
221 static inline const struct cred *get_cred_rcu(const struct cred *cred) in get_cred_rcu() argument
223 struct cred *nonconst_cred = (struct cred *) cred; in get_cred_rcu()
224 if (!cred) in get_cred_rcu()
246 struct cred *cred = (struct cred *) _cred; in put_cred_many() local
[all …]
A Dbacking-file.h16 const struct cred *cred; member
23 const struct cred *cred);
26 umode_t mode, const struct cred *cred);
A Dsecurity.h43 struct cred;
349 int security_capable(const struct cred *cred,
495 void security_cred_free(struct cred *cred);
524 int security_task_prlimit(const struct cred *cred, const struct cred *tcred,
532 int sig, const struct cred *cred);
536 int security_create_user_ns(const struct cred *cred);
1389 const struct cred *cred) in security_task_kill() argument
1618 const struct cred *cred,
1622 const struct cred *cred, in security_post_notification() argument
2149 const struct cred *cred, in security_key_alloc() argument
[all …]
A Dnsproxy.h69 const struct cred *cred; member
72 static inline struct cred *nsset_cred(struct nsset *set) in nsset_cred()
75 return (struct cred *)set->cred; in nsset_cred()
112 struct cred *, struct fs_struct *);
A Dwatch_queue.h19 struct cred;
63 const struct cred *cred; /* Creds of the owner of the watch */ member
81 const struct cred *,
104 const struct cred *cred, in post_watch_notification() argument
108 __post_watch_notification(wlist, n, cred, id); in post_watch_notification()
A Dlsm_hook_defs.h31 const struct cred *to)
33 const struct cred *to)
41 LSM_HOOK(int, 0, capset, struct cred *new, const struct cred *old,
44 LSM_HOOK(int, 0, capable, const struct cred *cred, struct user_namespace *ns,
88 struct qstr *name, const struct cred *old, struct cred *new)
216 LSM_HOOK(int, 0, cred_alloc_blank, struct cred *cred, gfp_t gfp)
217 LSM_HOOK(void, LSM_RET_VOID, cred_free, struct cred *cred)
249 LSM_HOOK(int, 0, task_prlimit, const struct cred *cred,
257 int sig, const struct cred *cred)
262 LSM_HOOK(int, 0, userns_create, const struct cred *cred)
[all …]
A Dumh.h11 struct cred;
28 int (*init)(struct subprocess_info *info, struct cred *new);
39 int (*init)(struct subprocess_info *info, struct cred *new),
A Dkey.h100 struct cred;
287 const struct cred *cred,
422 const struct cred *cred,
494 extern int install_thread_keyring_to_cred(struct cred *cred);
495 extern void key_fsuid_changed(struct cred *new_cred);
496 extern void key_fsgid_changed(struct cred *new_cred);
A Dkallsyms.h24 struct cred;
68 extern bool kallsyms_show_value(const struct cred *cred);
A Dnfs_fs.h102 const struct cred *cred; member
451 extern void nfs_access_add_cache(struct inode *, struct nfs_access_entry *, const struct cred *);
467 extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, const struct cred *cred,…
551 static inline const struct cred *nfs_file_cred(struct file *file) in nfs_file_cred()
557 return ctx->cred; in nfs_file_cred()
586 extern int nfs_may_open(struct inode *inode, const struct cred *cred, int openflags);
588 extern int nfs_access_get_cached(struct inode *inode, const struct cred *cred,
A Daudit.h415 const struct cred *new,
416 const struct cred *old);
417 extern void __audit_log_capset(const struct cred *new, const struct cred *old);
495 const struct cred *new, in audit_log_bprm_fcaps()
496 const struct cred *old) in audit_log_bprm_fcaps()
503 static inline void audit_log_capset(const struct cred *new, in audit_log_capset()
504 const struct cred *old) in audit_log_capset()
666 const struct cred *new, in audit_log_bprm_fcaps()
667 const struct cred *old) in audit_log_bprm_fcaps()
671 static inline void audit_log_capset(const struct cred *new, in audit_log_capset()
[all …]
A Dinit_task.h28 extern struct cred init_cred;
A Dnfslocalio.h61 const struct cred *,
74 struct rpc_clnt *, const struct cred *,
A Duser_namespace.h178 extern int create_user_ns(struct cred *new);
179 extern int unshare_userns(unsigned long unshare_flags, struct cred **new_cred);
209 static inline int create_user_ns(struct cred *new) in create_user_ns()
215 struct cred **new_cred) in unshare_userns()
A Dbinfmts.h56 struct cred *cred; /* new credentials */ member
A Dfs_context.h17 struct cred;
99 const struct cred *cred; /* The mounter's credentials */ member
/include/linux/sunrpc/
A Dsvcauth.h39 cred->cr_group_info = NULL; in init_svc_cred()
40 cred->cr_raw_principal = NULL; in init_svc_cred()
41 cred->cr_principal = NULL; in init_svc_cred()
42 cred->cr_targ_princ = NULL; in init_svc_cred()
43 cred->cr_gss_mech = NULL; in init_svc_cred()
48 if (cred->cr_group_info) in free_svc_cred()
50 kfree(cred->cr_raw_principal); in free_svc_cred()
51 kfree(cred->cr_principal); in free_svc_cred()
52 kfree(cred->cr_targ_princ); in free_svc_cred()
54 init_svc_cred(cred); in free_svc_cred()
[all …]
A Dauth.h39 const struct cred *cred; member
57 const struct cred *cr_cred;
66 const struct cred *rpc_machine_cred(void);
190 struct rpc_cred *get_rpccred(struct rpc_cred *cred) in get_rpccred() argument
192 if (cred != NULL && refcount_inc_not_zero(&cred->cr_count)) in get_rpccred()
193 return cred; in get_rpccred()
A Dsvcsock.h65 const struct cred *cred);
A Dsvc_xprt.h79 const struct cred *xpt_cred;
163 int flags, const struct cred *cred);
167 const struct cred *cred);
A Dclnt.h95 const struct cred *cl_cred;
153 const struct cred *cred; member
218 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred,
/include/trace/events/
A Dcapability.h28 TP_PROTO(const struct cred *cred, struct user_namespace *target_ns,
31 TP_ARGS(cred, target_ns, capable_ns, cap, ret),
34 __field(const struct cred *, cred)
42 __entry->cred = cred;
50 __entry->cred, __entry->target_ns, __entry->capable_ns, __entry->cap,
/include/linux/pds/
A Dpds_intr.h130 u32 cred, u32 flags) in pds_core_intr_credits() argument
132 if (WARN_ON_ONCE(cred > PDS_CORE_INTR_CRED_COUNT)) { in pds_core_intr_credits()
133 cred = ioread32(&intr_ctrl->credits); in pds_core_intr_credits()
134 cred &= PDS_CORE_INTR_CRED_COUNT_SIGNED; in pds_core_intr_credits()
137 iowrite32(cred | flags, &intr_ctrl->credits); in pds_core_intr_credits()
143 u32 cred; in pds_core_intr_clean_flags() local
145 cred = ioread32(&intr_ctrl->credits); in pds_core_intr_clean_flags()
146 cred &= PDS_CORE_INTR_CRED_COUNT_SIGNED; in pds_core_intr_clean_flags()
147 cred |= flags; in pds_core_intr_clean_flags()
148 iowrite32(cred, &intr_ctrl->credits); in pds_core_intr_clean_flags()
/include/linux/lockd/
A Dbind.h51 const struct cred *cred; member
82 extern int lockd_up(struct net *net, const struct cred *cred);
/include/keys/
A Drequest_key_auth-type.h20 const struct cred *cred; member

Completed in 51 milliseconds

12