Revision 0c18f29aae7ce3dadd26d8ee3505d07cc982df75 authored by Mimi Zohar on 22 June 2021, 11:36:41 UTC, committed by Linus Torvalds on 22 June 2021, 18:13:19 UTC
Irrespective as to whether CONFIG_MODULE_SIG is configured, specifying "module.sig_enforce=1" on the boot command line sets "sig_enforce". Only allow "sig_enforce" to be set when CONFIG_MODULE_SIG is configured. This patch makes the presence of /sys/module/module/parameters/sig_enforce dependent on CONFIG_MODULE_SIG=y. Fixes: fda784e50aac ("module: export module signature enforcement status") Reported-by: Nayna Jain <nayna@linux.ibm.com> Tested-by: Mimi Zohar <zohar@linux.ibm.com> Tested-by: Jessica Yu <jeyu@kernel.org> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com> Signed-off-by: Jessica Yu <jeyu@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent a96bfed
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 638 bytes |
cp1emu.c | -rw-r--r-- | 70.0 KB |
dp_2008class.c | -rw-r--r-- | 974 bytes |
dp_add.c | -rw-r--r-- | 3.7 KB |
dp_cmp.c | -rw-r--r-- | 936 bytes |
dp_div.c | -rw-r--r-- | 3.4 KB |
dp_fint.c | -rw-r--r-- | 820 bytes |
dp_flong.c | -rw-r--r-- | 955 bytes |
dp_fmax.c | -rw-r--r-- | 6.6 KB |
dp_fmin.c | -rw-r--r-- | 6.6 KB |
dp_fsp.c | -rw-r--r-- | 1.1 KB |
dp_maddf.c | -rw-r--r-- | 7.8 KB |
dp_mul.c | -rw-r--r-- | 3.8 KB |
dp_rint.c | -rw-r--r-- | 1.4 KB |
dp_simple.c | -rw-r--r-- | 909 bytes |
dp_sqrt.c | -rw-r--r-- | 3.4 KB |
dp_sub.c | -rw-r--r-- | 4.0 KB |
dp_tint.c | -rw-r--r-- | 1.9 KB |
dp_tlong.c | -rw-r--r-- | 2.0 KB |
dsemul.c | -rw-r--r-- | 9.1 KB |
ieee754.c | -rw-r--r-- | 2.9 KB |
ieee754.h | -rw-r--r-- | 9.8 KB |
ieee754d.c | -rw-r--r-- | 2.6 KB |
ieee754dp.c | -rw-r--r-- | 4.2 KB |
ieee754dp.h | -rw-r--r-- | 1.7 KB |
ieee754int.h | -rw-r--r-- | 3.5 KB |
ieee754sp.c | -rw-r--r-- | 4.2 KB |
ieee754sp.h | -rw-r--r-- | 1.7 KB |
me-debugfs.c | -rw-r--r-- | 11.9 KB |
sp_2008class.c | -rw-r--r-- | 974 bytes |
sp_add.c | -rw-r--r-- | 3.7 KB |
sp_cmp.c | -rw-r--r-- | 918 bytes |
sp_div.c | -rw-r--r-- | 3.4 KB |
sp_fdp.c | -rw-r--r-- | 1.4 KB |
sp_fint.c | -rw-r--r-- | 938 bytes |
sp_flong.c | -rw-r--r-- | 960 bytes |
sp_fmax.c | -rw-r--r-- | 6.6 KB |
sp_fmin.c | -rw-r--r-- | 6.6 KB |
sp_maddf.c | -rw-r--r-- | 6.4 KB |
sp_mul.c | -rw-r--r-- | 3.8 KB |
sp_rint.c | -rw-r--r-- | 1.5 KB |
sp_simple.c | -rw-r--r-- | 891 bytes |
sp_sqrt.c | -rw-r--r-- | 1.8 KB |
sp_sub.c | -rw-r--r-- | 3.9 KB |
sp_tint.c | -rw-r--r-- | 2.0 KB |
sp_tlong.c | -rw-r--r-- | 1.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...