summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/seccomp
diff options
context:
space:
mode:
authorBamvor Jian Zhang <bamvor.zhangjian@linaro.org>2016-01-08 15:27:33 +0800
committerShuah Khan <shuahkh@osg.samsung.com>2016-02-25 09:47:52 -0700
commit8c749ce93ee69e789e46b3be98de9e0cbfcf8ed8 (patch)
tree37fc8338e51f58eb72d2b97a58c9b6cddaccf217 /tools/testing/selftests/seccomp
parentbfd092b8c272866ba1db3e63ebbe08f8ccf979cc (diff)
downloadlinux-8c749ce93ee69e789e46b3be98de9e0cbfcf8ed8.tar.gz
selftests: create test-specific kconfig fragments
Create the config file in each directory of testcase which need more kernel configuration than the default defconfig. User could use these configs with merge_config.sh script: Enable config for specific testcase: (export ARCH=xxx #for cross compiling) ./scripts/kconfig/merge_config.sh .config \ tools/testing/selftests/xxx/config Enable configs for all testcases: (export ARCH=xxx #for cross compiling) ./scripts/kconfig/merge_config.sh .config \ tools/testing/selftests/*/config Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> Reviewed-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/seccomp')
-rw-r--r--tools/testing/selftests/seccomp/config2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/seccomp/config b/tools/testing/selftests/seccomp/config
new file mode 100644
index 000000000000..db1e11b08c8a
--- /dev/null
+++ b/tools/testing/selftests/seccomp/config
@@ -0,0 +1,2 @@
+CONFIG_SECCOMP=y
+CONFIG_SECCOMP_FILTER=y