]> git.baikalelectronics.ru Git - kernel.git/commit
module: Fix prefix for module.sig_enforce module param
authorSaravana Kannan <saravanak@google.com>
Thu, 2 Jun 2022 03:56:52 +0000 (20:56 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 2 Jun 2022 19:44:33 +0000 (12:44 -0700)
commitc0af0a3ba00ff2a5efa74a60255391124247c31f
tree07dd76aa191d7c8eda489d572b1363cd2877052e
parentffbc6c9efbaeeb1f6afb803702ca12de78b5125b
module: Fix prefix for module.sig_enforce module param

Commit 2c85ee92a950 ("module: Move all into module/") changed the prefix
of the module param by moving/renaming files.  A later commit also moves
the module_param() into a different file, thereby changing the prefix
yet again.

This would break kernel cmdline compatibility and also userspace
compatibility at /sys/module/module/parameters/sig_enforce.

So, set the prefix back to "module.".

Fixes: 2c85ee92a950 ("module: Move all into module/")
Link: https://lore.kernel.org/lkml/20220602034111.4163292-1-saravanak@google.com/
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Aaron Tomlin <atomlin@redhat.com>
Acked-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Saravana Kannan <saravanak@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/module/signing.c