Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Dec 1997 12:03:02 GMT
From:      njs3@doc.ic.ac.uk
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   docs/5260: fork(2) typo
Message-ID:  <199712091203.MAA27341@sprite56.doc.ic.ac.uk>
Resent-Message-ID: <199712091210.EAA27160@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         5260
>Category:       docs
>Synopsis:       typo in fork(2)
>Confidential:   yes
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec  9 04:10:02 PST 1997
>Last-Modified:
>Originator:     Niall Smart
>Organization:
None
>Release:        FreeBSD 2.2.5-RELEASE i386
>Environment:

>Description:

>From the ERRORS section of the fork(2) page:

     [EAGAIN]  The user is not the super user, and the soft resource limit
               corresponding to the resource parameter RLIMIT_NOFILE would be
               exceeded (see getrlimit(2)).
	       
Shouldn't RLIMIT_NOFILE read RLIMIT_NPROC?

Regards,

Niall.

>How-To-Repeat:

man 2 fork

>Fix:

*** fork.2~	Tue Dec  9 11:59:59 1997
--- fork.2	Tue Dec  9 12:00:30 1997
***************
*** 108,110 ****
  the soft resource limit corresponding to the resource parameter
! .Dv RLIMIT_NOFILE
  would be exceeded (see
--- 108,110 ----
  the soft resource limit corresponding to the resource parameter
! .Dv RLIMIT_NPROC
  would be exceeded (see
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712091203.MAA27341>