Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 2001 10:45:14 -0700 (MST)
From:      Kenneth Ingham <ingham@i-pi.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/24802: fcntl man page does not specify what happens to locks across exec
Message-ID:  <200102021745.f12HjEM66990@Clarke.i-pi.com>

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

>Number:         24802
>Category:       docs
>Synopsis:       fcntl man page does not specify what happens to locks across exec
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 02 09:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Kenneth Ingham
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Kenneth Ingham Consulting, LLC
>Environment:

FreeBSD 4.2 Stable manual page for fcntl(2).

>Description:

fcntl(2) does not mention what happens to locks when a process does an
exec. 

>How-To-Repeat:

read fcntl(2)

>Fix:

Add the following paragraph:
    Locks obtained before an exec remain in effect until the new
    program releases them.  If the new program does not know about
    the locks, they will not be released until the program exits.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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