Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 1999 08:25:59 -0600
From:      Wes Peters <wes@softweyr.com>
To:        Tim Vanderhoek <vanderh@ecf.utoronto.ca>
Cc:        Mark Murray <mark@grondar.za>, "Daniel C. Sobral" <dcs@newsguy.com>, Greg Lehey <grog@lemis.com>, Poul-Henning Kamp <phk@critter.freebsd.dk>, Matthew Dillon <dillon@apollo.backplane.com>, FreeBSD Hackers <hackers@FreeBSD.ORG>, FreeBSD Committers <cvs-committers@FreeBSD.ORG>, Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Subject:   Re: Mandatory locking?
Message-ID:  <37C2AB77.52678981@softweyr.com>
References:  <199908232012.WAA78393@gratis.grondar.za> <19990823213857.B99022@ppp18344.on.bellglobal.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Tim Vanderhoek wrote:
> 
> On Mon, Aug 23, 1999 at 10:12:38PM +0200, Mark Murray wrote:
> >
> > In process-space, this is the kernel. In file-space, this should
> > be root. Processes that require mandatory locking must revoke
> > superuser before attempting locks.
> 
> I don't like restricting the breaking of mandatory locks to the
> superuser.  It could be restricted to specific users (say file owner +
> root)...

How 'bout "anyone who can kill the process holding the lock?"

-- 
            "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                         Softweyr LLC
http://softweyr.com/                                           wes@softweyr.com


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




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