Bug 24802

Summary: fcntl man page does not specify what happens to locks across exec
Product: Documentation Reporter: ingham <ingham>
Component: Books & ArticlesAssignee: dd <dd>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description ingham 2001-02-02 17:50:00 UTC
fcntl(2) does not mention what happens to locks when a process does an
exec.

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.
How-To-Repeat: 
read fcntl(2)
Comment 1 dd freebsd_committer freebsd_triage 2001-04-08 20:11:28 UTC
State Changed
From-To: open->suspended

Committed to -current, thanks!  Will MFC after code freeze. 


Comment 2 dd freebsd_committer freebsd_triage 2001-04-08 20:11:28 UTC
Responsible Changed
From-To: freebsd-doc->dd

I'll mfc it.
Comment 3 dd freebsd_committer freebsd_triage 2001-04-26 03:25:05 UTC
State Changed
From-To: suspended->closed

MFC'd.