From owner-freebsd-current Tue May 6 11:51:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA27874 for current-outgoing; Tue, 6 May 1997 11:51:42 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id LAA27869 for ; Tue, 6 May 1997 11:51:37 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id UAA14537 for current@FreeBSD.ORG; Tue, 6 May 1997 20:51:33 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id UAA14522; Tue, 6 May 1997 20:47:02 +0200 (MET DST) Message-ID: <19970506204702.SL03519@uriah.heep.sax.de> Date: Tue, 6 May 1997 20:47:02 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: current@FreeBSD.ORG Subject: Re: Bug: is it the kernel or the man page? References: <19970506080539.EO65418@uriah.heep.sax.de> <199705061817.LAA18955@phaeton.artisoft.com> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199705061817.LAA18955@phaeton.artisoft.com>; from Terry Lambert on May 6, 1997 11:17:34 -0700 Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Terry Lambert wrote: > Well, I was actually thinking along the lines of: > > fcntl( fd, F_SETLK | F_NONPOSIX, &flock); This doesn't look too gross. > I also want to support mandatory file locking: if the file is SGID > *and* the group execute bit is not set, the file would not be allowed > to be mmap'ed, and a flag would be set duirng the open to indicate > mandory locking was in effect. I think that's quite a large change to the code base. I've read enough argumentations that mandatory file locking is basically useless... so i won't go into any discussion here. > > There are other people capable of fixing man pages as well. I think > > the only change by now should be to add a hint to fcntl-style locking > > to close(2). > > This is exactly the man page fix I want. So i've filed a PR on your behalf for this. :) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)