Commit 7206c124 authored by Masahiro Yamada's avatar Masahiro Yamada

samples: seccomp: turn CONFIG_SAMPLE_SECCOMP into a bool option

The prompt of CONFIG_SAMPLE_SECCOMP claims this is "loadable module
only", which is invalid.

samples/seccomp/ only contains host programs, so having it tristate
is pointless.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 1eaca4b9
...@@ -103,8 +103,8 @@ config SAMPLE_CONNECTOR ...@@ -103,8 +103,8 @@ config SAMPLE_CONNECTOR
See also Documentation/connector/connector.txt See also Documentation/connector/connector.txt
config SAMPLE_SECCOMP config SAMPLE_SECCOMP
tristate "Build seccomp sample code -- loadable modules only" bool "Build seccomp sample code"
depends on SECCOMP_FILTER && m depends on SECCOMP_FILTER
help help
Build samples of seccomp filters using various methods of Build samples of seccomp filters using various methods of
BPF filter construction. BPF filter construction.
......
...@@ -40,5 +40,5 @@ HOSTLDLIBS_bpf-fancy += $(MFLAG) ...@@ -40,5 +40,5 @@ HOSTLDLIBS_bpf-fancy += $(MFLAG)
HOSTLDLIBS_dropper += $(MFLAG) HOSTLDLIBS_dropper += $(MFLAG)
HOSTLDLIBS_user-trap += $(MFLAG) HOSTLDLIBS_user-trap += $(MFLAG)
endif endif
always := $(hostprogs-m) always := $(hostprogs-y)
endif endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment