diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/security/security.c b/security/security.c index 81c956a12300..d058f7d5b10a 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -616,14 +616,14 @@ int security_task_create(unsigned long clone_flags) | |||
616 | return security_ops->task_create(clone_flags); | 616 | return security_ops->task_create(clone_flags); |
617 | } | 617 | } |
618 | 618 | ||
619 | int security_task_alloc(struct task_struct *p) | 619 | int security_cred_alloc(struct cred *cred) |
620 | { | 620 | { |
621 | return security_ops->task_alloc_security(p); | 621 | return security_ops->cred_alloc_security(cred); |
622 | } | 622 | } |
623 | 623 | ||
624 | void security_task_free(struct task_struct *p) | 624 | void security_cred_free(struct cred *cred) |
625 | { | 625 | { |
626 | security_ops->task_free_security(p); | 626 | security_ops->cred_free(cred); |
627 | } | 627 | } |
628 | 628 | ||
629 | int security_task_setuid(uid_t id0, uid_t id1, uid_t id2, int flags) | 629 | int security_task_setuid(uid_t id0, uid_t id1, uid_t id2, int flags) |