Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'modules-for-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux

Pull module updates from Jessica Yu:
"Minor code cleanup and also allow sig_enforce param to be shown in
sysfs with CONFIG_MODULE_SIG_FORCE"

* tag 'modules-for-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux:
module: Allow to always show the status of modsign
module: Do not access sig_enforce directly

+1 -3
+1 -3
kernel/module.c
··· 274 274 } 275 275 276 276 static bool sig_enforce = IS_ENABLED(CONFIG_MODULE_SIG_FORCE); 277 - #ifndef CONFIG_MODULE_SIG_FORCE 278 277 module_param(sig_enforce, bool_enable_only, 0644); 279 - #endif /* !CONFIG_MODULE_SIG_FORCE */ 280 278 281 279 /* 282 280 * Export sig_enforce kernel cmdline parameter to allow other subsystems rely ··· 2783 2785 } 2784 2786 2785 2787 /* Not having a signature is only an error if we're strict. */ 2786 - if (err == -ENOKEY && !sig_enforce) 2788 + if (err == -ENOKEY && !is_module_sig_enforced()) 2787 2789 err = 0; 2788 2790 2789 2791 return err;