aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2013-01-07 02:36:17 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-01-10 01:57:43 +0100
commit1428ae81ced8b2c9c0f01059841df22d379a7ccc (patch)
treee82fae077bcda17888a1a4f891d897064c1ce51b
parent98a683a78542d4ef62c5cdf8bb48304e52047587 (diff)
downloadman-pages-1428ae81ced8b2c9c0f01059841df22d379a7ccc.tar.gz
init_module.2: ERRORS: Add errors for module signatures (EBADMSG, ENOKEY)
Reviewed-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/init_module.214
1 files changed, 14 insertions, 0 deletions
diff --git a/man2/init_module.2 b/man2/init_module.2
index 9d1098acf3..8e5a6b2ee6 100644
--- a/man2/init_module.2
+++ b/man2/init_module.2
@@ -154,6 +154,9 @@ is set appropriately.
.SH ERRORS
.TP
+.BR EBADMSG " (since Linux 3.7)"
+Module signature is misformatted.
+.TP
.B EBUSY
Timeout while trying to resolve a symbol reference by this module.
.TP
@@ -161,6 +164,17 @@ Timeout while trying to resolve a symbol reference by this module.
An address argument referred to a location that
is outside the process's accessible address space.
.TP
+.BR ENOKEY " (since Linux 3.7)"
+.\" commit 48ba2462ace6072741fd8d0058207d630ce93bf1
+.\" commit 1d0059f3a468825b5fc5405c636a2f6e02707ffa
+.\" commit 106a4ee258d14818467829bf0e12aeae14c16cd7
+Module signature is invalid or
+the kernel does not have a key for this module.
+This error is returned only if the kernel was configured with
+.BR CONFIG_MODULE_SIG_FORCE ;
+if the kernel was not configured with this option,
+then an invalid or usigned module simply taints the kernel.
+.TP
.B ENOMEM
Out of memory.
.TP