Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/sys Document ENOSYS return from MODCTL_EXIST.



details:   https://anonhg.NetBSD.org/src/rev/f5a43bda3662
branches:  trunk
changeset: 971521:f5a43bda3662
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sun Apr 26 18:56:49 2020 +0000

description:
Document ENOSYS return from MODCTL_EXIST.

Remove EMLINK since it is no longer returned.

diffstat:

 lib/libc/sys/modctl.2 |  17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diffs (45 lines):

diff -r f4ca71f9e254 -r f5a43bda3662 lib/libc/sys/modctl.2
--- a/lib/libc/sys/modctl.2     Sun Apr 26 18:53:31 2020 +0000
+++ b/lib/libc/sys/modctl.2     Sun Apr 26 18:56:49 2020 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: modctl.2,v 1.18 2020/02/22 14:06:05 pgoyette Exp $
+.\"    $NetBSD: modctl.2,v 1.19 2020/04/26 18:56:49 pgoyette Exp $
 .\"
 .\" Copyright (c) 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd February 22, 2020
+.Dd April 26, 2020
 .Dt MODCTL 2
 .Os
 .Sh NAME
@@ -261,12 +261,6 @@
 .Dv 0 .
 The kernel is unable to internalize the plist.
 Or, there is a problem with the module or <module>.plist.
-.It Bq Er EMLINK
-The argument
-.Fa operation
-is
-.Dv MODCTL_LOAD
-and the module has too many dependencies.
 .It Bq Er ENAMETOOLONG
 A module name/path is too long.
 .It Bq Er ENOENT
@@ -294,6 +288,13 @@
 .It Bq Er ENOMEM
 There was not enough memory to perform the
 .Fa operation .
+.It Bq Er ENOSYS
+The argument
+.Fa operation
+is
+.Dv MODLOAD_EXIST
+and the kernel does not include
+.Dq options MODULAR .
 .It Bq Er EPERM
 Not allowed to perform the
 .Fa operation .



Home | Main Index | Thread Index | Old Index