From baad87ae3d492e16079134fc8275c2c5cdfcf4dd Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 8 Jan 2015 21:23:18 +0000 Subject: [PATCH] kernel: add SECCOMP to menuconfig Signed-off-by: John Crispin SVN-Revision: 43888 --- config/Config-kernel.in | 14 ++++++++++++++ target/linux/generic/config-3.10 | 1 - target/linux/generic/config-3.13 | 1 - target/linux/generic/config-3.14 | 1 - target/linux/generic/config-3.18 | 1 - target/linux/generic/config-3.3 | 1 - target/linux/generic/config-3.8 | 1 - 7 files changed, 14 insertions(+), 6 deletions(-) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 51cc31f5154..656fce3eb8a 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -465,3 +465,17 @@ if KERNEL_LXC_MISC operations on message queues. endif + +config KERNEL_SECCOMP + bool "Enable seccomp support" + depends on !(TARGET_uml || TARGET_avr32) + default n + help + Build kernel with support for seccomp. + +config KERNEL_SECCOMP_FILTER + bool "Enable seccomp filter support" + depends on KERNEL_SECCOMP + default n + help + Build kernel with support for seccomp BPF programs. diff --git a/target/linux/generic/config-3.10 b/target/linux/generic/config-3.10 index 9251e6c17ba..4299c578956 100644 --- a/target/linux/generic/config-3.10 +++ b/target/linux/generic/config-3.10 @@ -2892,7 +2892,6 @@ CONFIG_SCSI_PROC_FS=y # CONFIG_SCSI_UFSHCD is not set # CONFIG_SCSI_ULTRASTOR is not set # CONFIG_SDIO_UART is not set -# CONFIG_SECCOMP is not set # CONFIG_SECURITY is not set # CONFIG_SECURITYFS is not set # CONFIG_SECURITY_DMESG_RESTRICT is not set diff --git a/target/linux/generic/config-3.13 b/target/linux/generic/config-3.13 index d9f92eea01b..8dff7e163d6 100644 --- a/target/linux/generic/config-3.13 +++ b/target/linux/generic/config-3.13 @@ -3043,7 +3043,6 @@ CONFIG_SCSI_PROC_FS=y # CONFIG_SCSI_UFSHCD is not set # CONFIG_SCSI_ULTRASTOR is not set # CONFIG_SDIO_UART is not set -# CONFIG_SECCOMP is not set # CONFIG_SECURITY is not set # CONFIG_SECURITYFS is not set # CONFIG_SECURITY_DMESG_RESTRICT is not set diff --git a/target/linux/generic/config-3.14 b/target/linux/generic/config-3.14 index 2faf7f912bf..7b6055a2e26 100644 --- a/target/linux/generic/config-3.14 +++ b/target/linux/generic/config-3.14 @@ -3104,7 +3104,6 @@ CONFIG_SCSI_PROC_FS=y # CONFIG_SCSI_UFSHCD is not set # CONFIG_SCSI_ULTRASTOR is not set # CONFIG_SDIO_UART is not set -# CONFIG_SECCOMP is not set # CONFIG_SECURITY is not set # CONFIG_SECURITYFS is not set # CONFIG_SECURITY_DMESG_RESTRICT is not set diff --git a/target/linux/generic/config-3.18 b/target/linux/generic/config-3.18 index 9e4dec38460..ce2ec5c68cc 100644 --- a/target/linux/generic/config-3.18 +++ b/target/linux/generic/config-3.18 @@ -3230,7 +3230,6 @@ CONFIG_SCSI_PROC_FS=y # CONFIG_SCSI_UFSHCD is not set # CONFIG_SCSI_ULTRASTOR is not set # CONFIG_SDIO_UART is not set -# CONFIG_SECCOMP is not set # CONFIG_SECURITY is not set # CONFIG_SECURITYFS is not set # CONFIG_SECURITY_DMESG_RESTRICT is not set diff --git a/target/linux/generic/config-3.3 b/target/linux/generic/config-3.3 index 6567bca5b31..4de7995fe4d 100644 --- a/target/linux/generic/config-3.3 +++ b/target/linux/generic/config-3.3 @@ -2483,7 +2483,6 @@ CONFIG_SCSI_PROC_FS=y # CONFIG_SCSI_U14_34F is not set # CONFIG_SCSI_ULTRASTOR is not set # CONFIG_SDIO_UART is not set -# CONFIG_SECCOMP is not set # CONFIG_SECURITY is not set # CONFIG_SECURITYFS is not set # CONFIG_SECURITY_DMESG_RESTRICT is not set diff --git a/target/linux/generic/config-3.8 b/target/linux/generic/config-3.8 index b647075dc11..343c0dda0c7 100644 --- a/target/linux/generic/config-3.8 +++ b/target/linux/generic/config-3.8 @@ -2782,7 +2782,6 @@ CONFIG_SCSI_PROC_FS=y # CONFIG_SCSI_UFSHCD is not set # CONFIG_SCSI_ULTRASTOR is not set # CONFIG_SDIO_UART is not set -# CONFIG_SECCOMP is not set # CONFIG_SECURITY is not set # CONFIG_SECURITYFS is not set # CONFIG_SECURITY_DMESG_RESTRICT is not set