]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/fork.c
ifdef struct task_struct::security
[linux-2.6-omap-h63xx.git] / kernel / fork.c
index 3e764f6f2be1995363309c732c06387ad686b3f7..490495a39c7e65cb0eb239b2b6474ce5d58b718b 100644 (file)
@@ -1079,7 +1079,9 @@ static struct task_struct *copy_process(unsigned long clone_flags,
        do_posix_clock_monotonic_gettime(&p->start_time);
        p->real_start_time = p->start_time;
        monotonic_to_bootbased(&p->real_start_time);
+#ifdef CONFIG_SECURITY
        p->security = NULL;
+#endif
        p->io_context = NULL;
        p->io_wait = NULL;
        p->audit_context = NULL;