Merge tag 'audit-pr-20180605' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoor...
[linux-2.6-microblaze.git] / kernel / fork.c
index a5d21c4..80b48a8 100644 (file)
@@ -1712,7 +1712,7 @@ static __latent_entropy struct task_struct *copy_process(
        p->start_time = ktime_get_ns();
        p->real_start_time = ktime_get_boot_ns();
        p->io_context = NULL;
-       p->audit_context = NULL;
+       audit_set_context(p, NULL);
        cgroup_fork(p);
 #ifdef CONFIG_NUMA
        p->mempolicy = mpol_dup(p->mempolicy);