Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Add a couple more possible return values.



details:   https://anonhg.NetBSD.org/src/rev/074154f0ffb5
branches:  trunk
changeset: 757180:074154f0ffb5
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Aug 18 01:55:32 2010 +0000

description:
Add a couple more possible return values.

diffstat:

 lib/libc/sys/modctl.2 |  22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

diffs (43 lines):

diff -r 76f12429fc5d -r 074154f0ffb5 lib/libc/sys/modctl.2
--- a/lib/libc/sys/modctl.2     Tue Aug 17 23:36:51 2010 +0000
+++ b/lib/libc/sys/modctl.2     Wed Aug 18 01:55:32 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: modctl.2,v 1.4 2009/10/26 20:43:37 jnemeth Exp $
+.\"    $NetBSD: modctl.2,v 1.5 2010/08/18 01:55:32 pgoyette Exp $
 .\"
 .\" Copyright (c) 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -191,6 +191,13 @@
 .It Bq Er EFAULT
 A bad address was given for
 .Fa argp .
+.It Bq Er EFBIG
+The argument
+.Fa operation
+is
+.Dv MODCTL_LOAD ,
+the specified module resides in the file system, and the module's default
+proplib file was too large.
 .It Bq Er EINVAL
 The argument
 .Fa operation
@@ -248,6 +255,19 @@
 .It Bq Er EPERM
 Not allowed to perform the
 .Fa operation .
+.It Bq Er EPROGMISMATCH
+The argument
+.Fa operation
+is
+.Dv MODCTL_LOAD ,
+the
+.Fa ml_flags
+field in the
+.Em modctl_load_t
+structure does not include
+.Dv MODCTL_LOAD_FORCE ,
+and the requested module does not match the current kernel's version
+information.
 .El
 .Sh HISTORY
 The



Home | Main Index | Thread Index | Old Index