From: John Crispin Date: Thu, 8 Jan 2015 21:23:18 +0000 (+0000) Subject: kernel: add SECCOMP to menuconfig X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=baad87ae3d492e16079134fc8275c2c5cdfcf4dd;p=openwrt%2Fstaging%2Fyousong.git kernel: add SECCOMP to menuconfig Signed-off-by: John Crispin SVN-Revision: 43888 --- diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 51cc31f515..656fce3eb8 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 9251e6c17b..4299c57895 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 d9f92eea01..8dff7e163d 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 2faf7f912b..7b6055a2e2 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 9e4dec3846..ce2ec5c68c 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 6567bca5b3..4de7995fe4 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 b647075dc1..343c0dda0c 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