Module Name: src Committed By: pgoyette Date: Wed Aug 18 01:55:32 UTC 2010
Modified Files: src/lib/libc/sys: modctl.2 Log Message: Add a couple more possible return values. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 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.4 src/lib/libc/sys/modctl.2:1.5 --- src/lib/libc/sys/modctl.2:1.4 Mon Oct 26 20:43:37 2009 +++ src/lib/libc/sys/modctl.2 Wed Aug 18 01:55:32 2010 @@ -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