VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Kenta.Tada@sony.com <Kenta.Tada@sony.com> 2021-03-21 15:52:19 +0000 committer: Kees Cook <keescook@chromium.org> 2021-03-30 22:33:50 -0700 commit: 64bdc0244054f7d4bb621c8b4455e292f4e421bc parent: a38fd8748464831584a19438cbb3082b5a2dab15
Commit Summary:
seccomp: Fix CONFIG tests for Seccomp_filters
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/init/init_task.c b/init/init_task.c
index 3711cdaafed2..8b08c2e19cbb 100644
--- a/init/init_task.c
+++ b/init/init_task.c
@@ -210,7 +210,7 @@ struct task_struct init_task
 #ifdef CONFIG_SECURITY
 	.security	= NULL,
 #endif
-#ifdef CONFIG_SECCOMP
+#ifdef CONFIG_SECCOMP_FILTER
 	.seccomp	= { .filter_count = ATOMIC_INIT(0) },
 #endif
 };