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 the upper limit on size of props dicti...



details:   https://anonhg.NetBSD.org/src/rev/b887738ad0eb
branches:  trunk
changeset: 797370:b887738ad0eb
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Jul 15 18:24:44 2014 +0000

description:
Document the upper limit on size of props dictionary that was recently
imposed.

diffstat:

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

diffs (28 lines):

diff -r d3f0d2055d37 -r b887738ad0eb lib/libc/sys/modctl.2
--- a/lib/libc/sys/modctl.2     Tue Jul 15 17:39:21 2014 +0000
+++ b/lib/libc/sys/modctl.2     Tue Jul 15 18:24:44 2014 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index