diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 3e764f6f2be1..490495a39c7e 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1079,7 +1079,9 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
1079 | do_posix_clock_monotonic_gettime(&p->start_time); | 1079 | do_posix_clock_monotonic_gettime(&p->start_time); |
1080 | p->real_start_time = p->start_time; | 1080 | p->real_start_time = p->start_time; |
1081 | monotonic_to_bootbased(&p->real_start_time); | 1081 | monotonic_to_bootbased(&p->real_start_time); |
1082 | #ifdef CONFIG_SECURITY | ||
1082 | p->security = NULL; | 1083 | p->security = NULL; |
1084 | #endif | ||
1083 | p->io_context = NULL; | 1085 | p->io_context = NULL; |
1084 | p->io_wait = NULL; | 1086 | p->io_wait = NULL; |
1085 | p->audit_context = NULL; | 1087 | p->audit_context = NULL; |