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,
86 struct qstr *name, const struct cred *old, struct cred *new)
154 LSM_HOOK(int, 0, inode_copy_up, struct dentry *src, struct cred **new)
179 LSM_HOOK(int, 0, cred_alloc_blank, struct cred *cred, gfp_t gfp)
180 LSM_HOOK(void, LSM_RET_VOID, cred_free, struct cred *cred)
181 LSM_HOOK(int, 0, cred_prepare, struct cred *new, const struct cred *old,
183 LSM_HOOK(void, LSM_RET_VOID, cred_transfer, struct cred *new,
184 const struct cred *old)
185 LSM_HOOK(void, LSM_RET_VOID, cred_getsecid, const struct cred *c, u32 *secid)
186 LSM_HOOK(int, 0, kernel_act_as, struct cred *new, u32 secid)
187 LSM_HOOK(int, 0, kernel_create_files_as, struct cred *new, struct inode *inode)
196 LSM_HOOK(int, 0, task_fix_setuid, struct cred *new, const struct cred *old,
198 LSM_HOOK(int, 0, task_fix_setgid, struct cred *new, const struct cred * old,
207 LSM_HOOK(int, 0, task_prlimit, const struct cred *cred,
208 const struct cred *tcred, unsigned int flags)
215 int sig, const struct cred *cred)
264 LSM_HOOK(int, 0, post_notification, const struct cred *w_cred,
265 const struct cred *cred, struct watch_notification *n)
363 LSM_HOOK(int, 0, key_alloc, struct key *key, const struct cred *cred,
366 LSM_HOOK(int, 0, key_permission, key_ref_t key_ref, const struct cred *cred,