From owner-freebsd-doc Fri Feb 2 9:50:19 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5764637B503 for ; Fri, 2 Feb 2001 09:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12Ho1s76100; Fri, 2 Feb 2001 09:50:01 -0800 (PST) (envelope-from gnats) Received: from Clarke.i-pi.com (Clarke.i-pi.com [198.49.217.12]) by hub.freebsd.org (Postfix) with ESMTP id 127A237B69B for ; 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 Reply-To: ingham@i-pi.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/24802: fcntl man page does not specify what happens to locks across exec Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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