Lines Matching refs:cred

29 LSM_HOOK(int, 0, binder_set_context_mgr, const struct cred *mgr)
30 LSM_HOOK(int, 0, binder_transaction, const struct cred *from,
31 const struct cred *to)
32 LSM_HOOK(int, 0, binder_transfer_binder, const struct cred *from,
33 const struct cred *to)
34 LSM_HOOK(int, 0, binder_transfer_file, const struct cred *from,
35 const struct cred *to, struct file *file)
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,
87 struct qstr *name, const struct cred *old, struct cred *new)
158 LSM_HOOK(int, 0, inode_copy_up, struct dentry *src, struct cred **new)
183 LSM_HOOK(int, 0, cred_alloc_blank, struct cred *cred, gfp_t gfp)
184 LSM_HOOK(void, LSM_RET_VOID, cred_free, struct cred *cred)
185 LSM_HOOK(int, 0, cred_prepare, struct cred *new, const struct cred *old,
187 LSM_HOOK(void, LSM_RET_VOID, cred_transfer, struct cred *new,
188 const struct cred *old)
189 LSM_HOOK(void, LSM_RET_VOID, cred_getsecid, const struct cred *c, u32 *secid)
190 LSM_HOOK(int, 0, kernel_act_as, struct cred *new, u32 secid)
191 LSM_HOOK(int, 0, kernel_create_files_as, struct cred *new, struct inode *inode)
200 LSM_HOOK(int, 0, task_fix_setuid, struct cred *new, const struct cred *old,
202 LSM_HOOK(int, 0, task_fix_setgid, struct cred *new, const struct cred * old,
204 LSM_HOOK(int, 0, task_fix_setgroups, struct cred *new, const struct cred * old)
214 LSM_HOOK(int, 0, task_prlimit, const struct cred *cred,
215 const struct cred *tcred, unsigned int flags)
222 int sig, const struct cred *cred)
227 LSM_HOOK(int, 0, userns_create, const struct cred *cred)
272 LSM_HOOK(int, 0, post_notification, const struct cred *w_cred,
273 const struct cred *cred, struct watch_notification *n)
372 LSM_HOOK(int, 0, key_alloc, struct key *key, const struct cred *cred,
375 LSM_HOOK(int, 0, key_permission, key_ref_t key_ref, const struct cred *cred,
409 LSM_HOOK(int, 0, uring_override_creds, const struct cred *new)