summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2026-03-05 12:31:40 +0300
committerSami Tolvanen <samitolvanen@google.com>2026-03-25 00:42:37 +0300
commit2ae4ea2d9aaf25cb74fbc23450b1b8f0a5b7aa89 (patch)
treece6184d3177ad5c16fabed5b8b3270fc04756bb8 /include
parentacd87264af525dba6e9355310e8acdf066a5f6b5 (diff)
downloadlinux-2ae4ea2d9aaf25cb74fbc23450b1b8f0a5b7aa89.tar.xz
module: Give MODULE_SIG_STRING a more descriptive name
The purpose of the constant it is not entirely clear from its name. As this constant is going to be exposed in a UAPI header, give it a more specific name for clarity. As all its users call it 'marker', use that wording in the constant itself. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Reviewed-by: Petr Pavlu <petr.pavlu@suse.com> Reviewed-by: Nicolas Schier <nsc@kernel.org> Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/module_signature.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/module_signature.h b/include/linux/module_signature.h
index c3a05d4cfe67..915549c779dc 100644
--- a/include/linux/module_signature.h
+++ b/include/linux/module_signature.h
@@ -12,7 +12,7 @@
#include <linux/types.h>
/* In stripped ARM and x86-64 modules, ~ is surprisingly rare. */
-#define MODULE_SIG_STRING "~Module signature appended~\n"
+#define MODULE_SIGNATURE_MARKER "~Module signature appended~\n"
enum module_signature_type {
MODULE_SIGNATURE_TYPE_PKCS7 = 2, /* Signature in PKCS#7 message */