diff options
author | 2023-04-02 19:56:34 -0700 | |
---|---|---|
committer | 2023-05-16 14:07:05 -0700 | |
commit | 4d9060981f886ba881aa3e8de688433c1f1ed11f (patch) | |
tree | 3b5764dd817fb272228507d86afdfc1fe772a7e3 /tools/testing/kunit/configs/arch_uml.config | |
parent | fortify: strscpy: Fix flipped q and p docstring typo (diff) | |
download | wireguard-linux-4d9060981f886ba881aa3e8de688433c1f1ed11f.tar.xz wireguard-linux-4d9060981f886ba881aa3e8de688433c1f1ed11f.zip |
kunit: tool: Enable CONFIG_FORTIFY_SOURCE under UML
Since commit ba38961a069b ("um: Enable FORTIFY_SOURCE"), it's possible
to run the FORTIFY tests under UML. Enable CONFIG_FORTIFY_SOURCE when
running with --alltests to gain additional coverage, and by default under
UML.
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to '')
-rw-r--r-- | tools/testing/kunit/configs/arch_uml.config | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/kunit/configs/arch_uml.config b/tools/testing/kunit/configs/arch_uml.config index e824ce43b05a..54ad8972681a 100644 --- a/tools/testing/kunit/configs/arch_uml.config +++ b/tools/testing/kunit/configs/arch_uml.config @@ -3,3 +3,6 @@ # Enable virtio/pci, as a lot of tests require it. CONFIG_VIRTIO_UML=y CONFIG_UML_PCI_OVER_VIRTIO=y + +# Enable FORTIFY_SOURCE for wider checking. +CONFIG_FORTIFY_SOURCE=y |