Lines Matching refs:cred

175 int security_capset(struct cred *new, const struct cred *old,  in security_capset()
184 int security_capable(const struct cred *cred, struct user_namespace *ns, in security_capable() argument
187 return call_int_hook(capable, 0, cred, ns, cap, SECURITY_CAP_AUDIT); in security_capable()
190 int security_capable_noaudit(const struct cred *cred, struct user_namespace *ns, in security_capable_noaudit() argument
193 return call_int_hook(capable, 0, cred, ns, cap, SECURITY_CAP_NOAUDIT); in security_capable_noaudit()
836 int security_file_open(struct file *file, const struct cred *cred) in security_file_open() argument
840 ret = call_int_hook(file_open, 0, file, cred); in security_file_open()
857 int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) in security_cred_alloc_blank() argument
859 return call_int_hook(cred_alloc_blank, 0, cred, gfp); in security_cred_alloc_blank()
862 void security_cred_free(struct cred *cred) in security_cred_free() argument
864 call_void_hook(cred_free, cred); in security_cred_free()
867 int security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp) in security_prepare_creds()
872 void security_transfer_creds(struct cred *new, const struct cred *old) in security_transfer_creds()
877 int security_kernel_act_as(struct cred *new, u32 secid) in security_kernel_act_as()
882 int security_kernel_create_files_as(struct cred *new, struct inode *inode) in security_kernel_create_files_as()
913 int security_task_fix_setuid(struct cred *new, const struct cred *old, in security_task_fix_setuid()
1491 int security_key_alloc(struct key *key, const struct cred *cred, in security_key_alloc() argument
1494 return call_int_hook(key_alloc, 0, key, cred, flags); in security_key_alloc()
1503 const struct cred *cred, unsigned perm) in security_key_permission() argument
1505 return call_int_hook(key_permission, 0, key_ref, cred, perm); in security_key_permission()