Luis R. Rodriguez
ceb1813224
firmware: enable run time change of forcing fallback loader
...
Currently one requires to test four kernel configurations to test the
firmware API completely:
0)
CONFIG_FW_LOADER=y
1)
o CONFIG_FW_LOADER=y
o CONFIG_FW_LOADER_USER_HELPER=y
2)
o CONFIG_FW_LOADER=y
o CONFIG_FW_LOADER_USER_HELPER=y
o CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
3) When CONFIG_FW_LOADER=m the built-in stuff is disabled, we have
no current tests for this.
We can reduce the requirements to three kernel configurations by making
fw_config.force_sysfs_fallback a proc knob we flip on off. For kernels that
disable CONFIG_IKCONFIG_PROC this can also enable one to inspect if
CONFIG_FW_LOADER_USER_HELPER_FALLBACK was enabled at build time by checking
the proc value at boot time.
Acked-by: Kees Cook <keescook@chromium.org >
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2018-03-20 09:28:47 +01:00
..
2018-02-23 14:33:39 -08:00
2018-02-06 18:32:47 -08:00
2018-02-10 13:16:35 -08:00
2018-01-03 18:01:08 -06:00
2018-03-09 08:03:02 +01:00
2017-11-02 11:10:55 +01:00
2018-02-22 22:05:43 +01:00
2018-01-31 16:36:38 +01:00
2018-03-09 11:06:16 +01:00
2018-02-02 23:33:50 +01:00
2018-03-01 10:06:39 -08:00
2018-01-31 11:23:28 -08:00
2018-02-13 13:04:03 +01:00
2018-02-28 23:34:33 +01:00
2018-02-14 08:59:37 -08:00
2018-01-04 16:45:09 -08:00
2018-02-06 18:32:44 -08:00
2017-11-14 14:08:20 -08:00
2017-08-16 16:48:34 -07:00
2017-11-10 16:08:47 -05:00
2017-11-15 13:28:48 -08:00
2017-11-10 16:08:56 -05:00
2017-11-15 13:28:48 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-02 21:31:55 +00:00
2017-07-31 13:09:49 +02:00
2017-12-31 12:30:34 -08:00
2018-01-13 10:42:48 -08:00
2018-01-16 03:29:36 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-04 16:45:09 -08:00
2018-02-21 16:54:06 +01:00
2018-01-12 17:33:38 -08:00
2018-02-21 15:35:42 -08:00
2017-11-02 11:10:55 +01:00
2018-02-06 18:32:46 -08:00
2017-12-14 16:00:49 -08:00
2018-01-08 19:43:15 +01:00
2018-02-21 16:54:06 +01:00
2018-02-01 13:36:15 -08:00
2017-11-02 11:10:55 +01:00
2018-02-06 18:32:46 -08:00
2017-07-18 11:38:04 +02:00
2017-11-07 15:35:57 +01:00
2017-11-02 11:10:55 +01:00
2017-07-12 16:26:00 -07:00
2017-09-08 18:26:51 -07:00
2018-02-16 09:12:58 +01:00
2017-07-12 16:25:59 -07:00
2017-11-21 16:35:54 -08:00
2018-01-12 17:33:38 -08:00
2018-03-02 19:34:50 -08:00
2018-02-07 14:29:34 -08:00
2018-01-05 18:43:00 +11:00
2018-03-09 16:40:01 -08:00
2017-10-03 17:54:26 -07:00
2017-11-17 16:10:04 -08:00
2018-02-06 18:32:46 -08:00
2018-02-06 18:32:46 -08:00
2017-11-02 11:10:55 +01:00
2017-11-17 16:10:04 -08:00
2018-02-21 15:35:43 -08:00
2018-02-06 22:15:42 -08:00
2018-02-22 10:50:24 -08:00
2018-01-31 13:02:18 -08:00
2017-11-08 11:13:50 +01:00
2017-10-04 10:53:54 +02:00
2017-11-02 11:10:55 +01:00
2017-12-04 10:28:58 -08:00
2017-11-02 11:10:55 +01:00
2017-12-14 16:01:45 -06:00
2017-11-02 11:10:55 +01:00
2018-03-20 09:28:47 +01:00
2017-12-17 13:57:15 +01:00
2018-02-06 18:32:46 -08:00
2017-10-20 11:02:54 +02:00
2017-12-11 09:18:30 -08:00
2017-12-04 10:52:56 -08:00
2017-12-14 16:00:49 -08:00
2017-11-17 16:10:01 -08:00
2017-08-29 15:14:38 +02:00
2017-11-16 12:20:15 -08:00
2018-02-22 10:21:02 -08:00
2017-11-04 08:53:04 +01:00
2017-11-08 10:17:15 +01:00
2017-11-06 12:26:49 -08:00
2018-02-22 08:39:26 +10:00