kernel: add SECCOMP to menuconfig
[openwrt/openwrt.git] / config / Config-kernel.in
index 51cc31f515447fd0d9b202b393f98c235d6c5310..656fce3eb8a453cb561300e513f7e82f0dc6b695 100644 (file)
@@ -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.