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)
165 LSM_HOOK(int, 0, inode_copy_up, struct dentry *src, struct cred **new)
191 LSM_HOOK(int, 0, cred_alloc_blank, struct cred *cred, gfp_t gfp)
192 LSM_HOOK(void, LSM_RET_VOID, cred_free, struct cred *cred)
193 LSM_HOOK(int, 0, cred_prepare, struct cred *new, const struct cred *old,
195 LSM_HOOK(void, LSM_RET_VOID, cred_transfer, struct cred *new,
196 const struct cred *old)
197 LSM_HOOK(void, LSM_RET_VOID, cred_getsecid, const struct cred *c, u32 *secid)
198 LSM_HOOK(int, 0, kernel_act_as, struct cred *new, u32 secid)
199 LSM_HOOK(int, 0, kernel_create_files_as, struct cred *new, struct inode *inode)
208 LSM_HOOK(int, 0, task_fix_setuid, struct cred *new, const struct cred *old,
210 LSM_HOOK(int, 0, task_fix_setgid, struct cred *new, const struct cred * old,
212 LSM_HOOK(int, 0, task_fix_setgroups, struct cred *new, const struct cred * old)
222 LSM_HOOK(int, 0, task_prlimit, const struct cred *cred,
223 const struct cred *tcred, unsigned int flags)
230 int sig, const struct cred *cred)
235 LSM_HOOK(int, 0, userns_create, const struct cred *cred)
280 LSM_HOOK(int, 0, post_notification, const struct cred *w_cred,
281 const struct cred *cred, struct watch_notification *n)
381 LSM_HOOK(int, 0, key_alloc, struct key *key, const struct cred *cred,
384 LSM_HOOK(int, 0, key_permission, key_ref_t key_ref, const struct cred *cred,
418 LSM_HOOK(int, 0, uring_override_creds, const struct cred *new)