diff options
author | 2021-06-22 13:36:41 +0200 | |
---|---|---|
committer | 2021-06-22 11:13:19 -0700 | |
commit | 0c18f29aae7ce3dadd26d8ee3505d07cc982df75 (patch) | |
tree | 51bdd30e0767c17e9f617eda0b6440ac1085fe39 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm (diff) | |
download | linux-dev-0c18f29aae7ce3dadd26d8ee3505d07cc982df75.tar.xz linux-dev-0c18f29aae7ce3dadd26d8ee3505d07cc982df75.zip |
module: limit enabling module.sig_enforce
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions