diff options
author | Kees Cook <keescook@chromium.org> | 2014-07-14 17:38:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-17 21:44:19 -0400 |
commit | 0a8adf584759cbcbce5d88d419db01a8d0373abf (patch) | |
tree | 30f1901d7c12756f558d259d89299c505697b41c /lib/Kconfig.debug | |
parent | b1425189d0f928babb62bdc0609a4cd4d341654d (diff) |
test: add firmware_class loader test
This provides a simple interface to trigger the firmware_class loader
to test built-in, filesystem, and user helper modes. Additionally adds
tests via the new interface to the selftests tree.
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 7a638aa3545b..213cd9f7e957 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -1649,6 +1649,19 @@ config TEST_BPF | |||
1649 | 1649 | ||
1650 | If unsure, say N. | 1650 | If unsure, say N. |
1651 | 1651 | ||
1652 | config TEST_FIRMWARE | ||
1653 | tristate "Test firmware loading via userspace interface" | ||
1654 | default n | ||
1655 | depends on FW_LOADER | ||
1656 | help | ||
1657 | This builds the "test_firmware" module that creates a userspace | ||
1658 | interface for testing firmware loading. This can be used to | ||
1659 | control the triggering of firmware loading without needing an | ||
1660 | actual firmware-using device. The contents can be rechecked by | ||
1661 | userspace. | ||
1662 | |||
1663 | If unsure, say N. | ||
1664 | |||
1652 | source "samples/Kconfig" | 1665 | source "samples/Kconfig" |
1653 | 1666 | ||
1654 | source "lib/Kconfig.kgdb" | 1667 | source "lib/Kconfig.kgdb" |