]> git.baikalelectronics.ru Git - kernel.git/commit
module: Allow to always show the status of modsign
authorJia Zhang <zhang.jia@linux.alibaba.com>
Wed, 11 Apr 2018 03:53:34 +0000 (11:53 +0800)
committerJessica Yu <jeyu@kernel.org>
Mon, 16 Apr 2018 21:49:33 +0000 (23:49 +0200)
commitf2190a98f18ff80e74c6b1382f66ca2ac7b06745
treecfce5c199a75d18d9a45f8969cba9544b59f2c68
parent2bece52af9b1a18ad9d153957ed165f77505bae5
module: Allow to always show the status of modsign

The sig_enforce parameter could be always shown to reflect the current
status of signature enforcement. For the case of
CONFIG_MODULE_SIG_FORCE=y, this modification doesn't do anything, since
sig_enforce can only be enabled, and not disabled, even via the kernel
cmdline.

Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com>
[jeyu: reworded commit message to provide clarification]
Signed-off-by: Jessica Yu <jeyu@kernel.org>
kernel/module.c