Module Name: src Committed By: pgoyette Date: Sun Apr 26 18:56:49 UTC 2020
Modified Files: src/lib/libc/sys: modctl.2 Log Message: Document ENOSYS return from MODCTL_EXIST. Remove EMLINK since it is no longer returned. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/lib/libc/sys/modctl.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/modctl.2 diff -u src/lib/libc/sys/modctl.2:1.18 src/lib/libc/sys/modctl.2:1.19 --- src/lib/libc/sys/modctl.2:1.18 Sat Feb 22 14:06:05 2020 +++ src/lib/libc/sys/modctl.2 Sun Apr 26 18:56:49 2020 @@ -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 @@ is not .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 @@ in-kernel linker. .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 .