Lines Matching refs:cred
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)
159 LSM_HOOK(int, 0, inode_copy_up, struct dentry *src, struct cred **new)
184 LSM_HOOK(int, 0, cred_alloc_blank, struct cred *cred, gfp_t gfp)
185 LSM_HOOK(void, LSM_RET_VOID, cred_free, struct cred *cred)
186 LSM_HOOK(int, 0, cred_prepare, struct cred *new, const struct cred *old,
188 LSM_HOOK(void, LSM_RET_VOID, cred_transfer, struct cred *new,
189 const struct cred *old)
190 LSM_HOOK(void, LSM_RET_VOID, cred_getsecid, const struct cred *c, u32 *secid)
191 LSM_HOOK(int, 0, kernel_act_as, struct cred *new, u32 secid)
192 LSM_HOOK(int, 0, kernel_create_files_as, struct cred *new, struct inode *inode)
201 LSM_HOOK(int, 0, task_fix_setuid, struct cred *new, const struct cred *old,
203 LSM_HOOK(int, 0, task_fix_setgid, struct cred *new, const struct cred * old,
215 LSM_HOOK(int, 0, task_prlimit, const struct cred *cred,
216 const struct cred *tcred, unsigned int flags)
223 int sig, 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)
370 LSM_HOOK(int, 0, key_alloc, struct key *key, const struct cred *cred,
373 LSM_HOOK(int, 0, key_permission, key_ref_t key_ref, const struct cred *cred,