Date: Tue, 24 Dec 2002 17:05:03 +0000 From: David Malone <dwmalone@maths.tcd.ie> To: phk@FreeBSD.ORG Cc: Garrett Wollman <wollman@lcs.mit.edu>, current@FreeBSD.ORG Subject: Re: revoke(2) redux... Message-ID: <20021224170503.GA82503@walton.maths.tcd.ie> In-Reply-To: <1866.1040741525@critter.freebsd.dk> References: <200212241442.gBOEgkU5034854@khavrinen.lcs.mit.edu> <1866.1040741525@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 24, 2002 at 03:52:05PM +0100, phk@FreeBSD.ORG wrote: > We can then provide revoke(2) as a wrapper: > > revoke(const char *name) > { > int fd, e; > > fd = open(name, O_RDONLY); Assuming you can open the thing name points to. I guess it might be a (NFS) directory or socket. I think revoke used to work on directories for a bit, until someone found it didn't work on named pipes and sockets, and then it was restricted to devices again. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021224170503.GA82503>