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, const 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,
88 struct qstr *name, const struct cred *old, struct cred *new)
181 LSM_HOOK(int, 0, inode_copy_up, struct dentry *src, struct cred **new)
214 LSM_HOOK(int, 0, cred_alloc_blank, struct cred *cred, gfp_t gfp)
215 LSM_HOOK(void, LSM_RET_VOID, cred_free, struct cred *cred)
216 LSM_HOOK(int, 0, cred_prepare, struct cred *new, const struct cred *old,
218 LSM_HOOK(void, LSM_RET_VOID, cred_transfer, struct cred *new,
219 const struct cred *old)
220 LSM_HOOK(void, LSM_RET_VOID, cred_getsecid, const struct cred *c, u32 *secid)
221 LSM_HOOK(void, LSM_RET_VOID, cred_getlsmprop, const struct cred *c,
223 LSM_HOOK(int, 0, kernel_act_as, struct cred *new, u32 secid)
224 LSM_HOOK(int, 0, kernel_create_files_as, struct cred *new, struct inode *inode)
233 LSM_HOOK(int, 0, task_fix_setuid, struct cred *new, const struct cred *old,
235 LSM_HOOK(int, 0, task_fix_setgid, struct cred *new, const struct cred * old,
237 LSM_HOOK(int, 0, task_fix_setgroups, struct cred *new, const struct cred * old)
247 LSM_HOOK(int, 0, task_prlimit, const struct cred *cred,
248 const struct cred *tcred, unsigned int flags)
255 int sig, const struct cred *cred)
260 LSM_HOOK(int, 0, userns_create, const struct cred *cred)
310 LSM_HOOK(int, 0, post_notification, const struct cred *w_cred,
311 const struct cred *cred, struct watch_notification *n)
409 LSM_HOOK(int, 0, key_alloc, struct key *key, const struct cred *cred,
411 LSM_HOOK(int, 0, key_permission, key_ref_t key_ref, const struct cred *cred,
455 LSM_HOOK(int, 0, uring_override_creds, const struct cred *new)