Lines Matching refs:cred
191 int security_capset(struct cred *new, const struct cred *old, in security_capset()
200 int security_capable(const struct cred *cred, struct user_namespace *ns, in security_capable() argument
203 return security_ops->capable(cred, ns, cap, SECURITY_CAP_AUDIT); in security_capable()
206 int security_capable_noaudit(const struct cred *cred, struct user_namespace *ns, in security_capable_noaudit() argument
209 return security_ops->capable(cred, ns, cap, SECURITY_CAP_NOAUDIT); in security_capable_noaudit()
816 int security_file_open(struct file *file, const struct cred *cred) in security_file_open() argument
820 ret = security_ops->file_open(file, cred); in security_file_open()
840 int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) in security_cred_alloc_blank() argument
842 return security_ops->cred_alloc_blank(cred, gfp); in security_cred_alloc_blank()
845 void security_cred_free(struct cred *cred) in security_cred_free() argument
847 security_ops->cred_free(cred); in security_cred_free()
850 int security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp) in security_prepare_creds()
855 void security_transfer_creds(struct cred *new, const struct cred *old) in security_transfer_creds()
860 int security_kernel_act_as(struct cred *new, u32 secid) in security_kernel_act_as()
865 int security_kernel_create_files_as(struct cred *new, struct inode *inode) in security_kernel_create_files_as()
896 int security_task_fix_setuid(struct cred *new, const struct cred *old, in security_task_fix_setuid()
1444 int security_key_alloc(struct key *key, const struct cred *cred, in security_key_alloc() argument
1447 return security_ops->key_alloc(key, cred, flags); in security_key_alloc()
1456 const struct cred *cred, unsigned perm) in security_key_permission() argument
1458 return security_ops->key_permission(key_ref, cred, perm); in security_key_permission()