NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/41517: RLIMIT_AS description missing from 'man 2 setrlimit'



>Number:         41517
>Category:       misc
>Synopsis:       RLIMIT_AS description missing from 'man 2 setrlimit'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 01 06:55:00 +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



Home | Main Index | Thread Index | Old Index