Module Name: src
Committed By: pgoyette
Date: Tue Jul 15 18:24:45 UTC 2014
Modified Files:
src/lib/libc/sys: modctl.2
Log Message:
Document the upper limit on size of props dictionary that was recently
imposed.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 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.9 src/lib/libc/sys/modctl.2:1.10
--- src/lib/libc/sys/modctl.2:1.9 Tue Aug 7 01:19:05 2012
+++ src/lib/libc/sys/modctl.2 Tue Jul 15 18:24:44 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: modctl.2,v 1.9 2012/08/07 01:19:05 jnemeth Exp $
+.\" $NetBSD: modctl.2,v 1.10 2014/07/15 18:24:44 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 August 3, 2012
+.Dd July 15, 2014
.Dt MODCTL 2
.Os
.Sh NAME
@@ -133,6 +133,9 @@ in which case
.Fa ml_propslen
must be
.Dv 0 .
+An upper limit of 4096 bytes is imposed on the value of ml_propslen.
+Attempting to load a proplib dictionary larger than this size will return
+.Er ENOMEM .
.El
.Pp
The