NetBSD Problem Report #41517
From www@NetBSD.org Mon Jun 1 06:51:43 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 0CA9D63C2BC
for <gnats-bugs@gnats.netbsd.org>; Mon, 1 Jun 2009 06:51:43 +0000 (UTC)
Message-Id: <20090601065142.9813E63C282@www.NetBSD.org>
Date: Mon, 1 Jun 2009 06:51:42 +0000 (UTC)
From: mtbakerguy@yahoo.com
Reply-To: mtbakerguy@yahoo.com
To: gnats-bugs@NetBSD.org
Subject: RLIMIT_AS description missing from 'man 2 setrlimit'
X-Send-Pr-Version: www-1.0
>Number: 41517
>Category: misc
>Synopsis: RLIMIT_AS description missing from 'man 2 setrlimit'
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: mrg
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 01 06:55:00 +0000 2009
>Closed-Date: Wed Jul 01 23:55:37 +0000 2009
>Last-Modified: Wed Jul 01 23:55:37 +0000 2009
>Originator: B K
>Release: 5.0
>Organization:
home
>Environment:
N/A
>Description:
RLIMIT_AS is defined by the opengroup and found in /usr/include/sys/resource.h. For illustrative purposes, I've pasted in the paragraph from the opengroup's webpage:
RLIMIT_AS
This is the maximum size of a process' total available memory, in bytes. If this limit is exceeded, the malloc() and mmap() functions shall fail with errno set to [ENOMEM]. In addition, the automatic stack growth fails with the effects outlined above.
BTW: I've no idea if the call actually works according to the above specification. For the purposes of this bug report, I'll assume it is and that the documentation has a minor omission.
>How-To-Repeat:
N/A
>Fix:
N/A
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: misc-bug-people->mrg
Responsible-Changed-By: mrg@NetBSD.org
Responsible-Changed-When: Tue, 30 Jun 2009 20:06:35 +0000
Responsible-Changed-Why:
i'll take care of this - but i'm going to use the freebsd text.
From: matthew green <mrg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/41517 CVS commit: src/lib/libc/sys
Date: Wed, 1 Jul 2009 06:01:43 +0000
Module Name: src
Committed By: mrg
Date: Wed Jul 1 06:01:42 UTC 2009
Modified Files:
src/lib/libc/sys: getrlimit.2
Log Message:
document RLIMIT_AS. text from freebsd. fixes PR#41517.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/lib/libc/sys/getrlimit.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/41517 CVS commit: [netbsd-5] src/lib/libc/sys
Date: Wed, 1 Jul 2009 22:53:03 +0000
Module Name: src
Committed By: snj
Date: Wed Jul 1 22:53:03 UTC 2009
Modified Files:
src/lib/libc/sys [netbsd-5]: getrlimit.2
Log Message:
Pull up following revision(s) (requested by mrg in ticket #846):
lib/libc/sys/getrlimit.2: revision 1.31, 1.32
document RLIMIT_AS. text from freebsd. fixes PR#41517.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.29.32.1 src/lib/libc/sys/getrlimit.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/41517 CVS commit: [netbsd-5-0] src/lib/libc/sys
Date: Wed, 1 Jul 2009 22:53:45 +0000
Module Name: src
Committed By: snj
Date: Wed Jul 1 22:53:45 UTC 2009
Modified Files:
src/lib/libc/sys [netbsd-5-0]: getrlimit.2
Log Message:
Pull up following revision(s) (requested by mrg in ticket #846):
lib/libc/sys/getrlimit.2: revision 1.31, 1.32
document RLIMIT_AS. text from freebsd. fixes PR#41517.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.29.38.1 src/lib/libc/sys/getrlimit.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Wed, 01 Jul 2009 23:55:37 +0000
State-Changed-Why:
all pulled up.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.