diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/security/security.c b/security/security.c index 2f15488dc6bc..549bddcc2116 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -937,6 +937,11 @@ int security_task_create(unsigned long clone_flags) | |||
937 | return call_int_hook(task_create, 0, clone_flags); | 937 | return call_int_hook(task_create, 0, clone_flags); |
938 | } | 938 | } |
939 | 939 | ||
940 | int security_task_alloc(struct task_struct *task, unsigned long clone_flags) | ||
941 | { | ||
942 | return call_int_hook(task_alloc, 0, task, clone_flags); | ||
943 | } | ||
944 | |||
940 | void security_task_free(struct task_struct *task) | 945 | void security_task_free(struct task_struct *task) |
941 | { | 946 | { |
942 | call_void_hook(task_free, task); | 947 | call_void_hook(task_free, task); |