From ingham@Clarke.i-pi.com  Fri Feb  2 09:45:19 2001
Return-Path: <ingham@Clarke.i-pi.com>
Received: from Clarke.i-pi.com (Clarke.i-pi.com [198.49.217.12])
	by hub.freebsd.org (Postfix) with ESMTP id 127A237B69B
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  2 Feb 2001 09:45:18 -0800 (PST)
Received: (from ingham@localhost)
	by Clarke.i-pi.com (8.11.1/8.11.1) id f12HjEM66990;
	Fri, 2 Feb 2001 10:45:14 -0700 (MST)
	(envelope-from ingham)
Message-Id: <200102021745.f12HjEM66990@Clarke.i-pi.com>
Date: Fri, 2 Feb 2001 10:45:14 -0700 (MST)
From: Kenneth Ingham <ingham@i-pi.com>
Reply-To: ingham@i-pi.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: fcntl man page does not specify what happens to locks across exec
X-Send-Pr-Version: 3.2

>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:    dd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 02 09:50:00 PST 2001
>Closed-Date:    Wed Apr 25 19:25:05 PDT 2001
>Last-Modified:  Wed Apr 25 19:25:15 PDT 2001
>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:
State-Changed-From-To: open->suspended 
State-Changed-By: dd 
State-Changed-When: Sun Apr 8 12:11:28 PDT 2001 
State-Changed-Why:  
Committed to -current, thanks!  Will MFC after code freeze. 


Responsible-Changed-From-To: freebsd-doc->dd 
Responsible-Changed-By: dd 
Responsible-Changed-When: Sun Apr 8 12:11:28 PDT 2001 
Responsible-Changed-Why:  
I'll mfc it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24802 
State-Changed-From-To: suspended->closed 
State-Changed-By: dd 
State-Changed-When: Wed Apr 25 19:25:05 PDT 2001 
State-Changed-Why:  
MFC'd. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24802 
>Unformatted:
