Date: Sat, 26 Dec 1998 12:11:46 -0500 (EST) From: Brian Feldman <green@unixhelp.org> To: Bruce Evans <bde@zeta.org.au> Cc: current@FreeBSD.ORG Subject: Re: revoke of fifos Message-ID: <Pine.BSF.4.05.9812261208300.21369-100000@janus.syracuse.net> In-Reply-To: <199812260452.PAA17319@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 26 Dec 1998, Bruce Evans wrote: > >> >revoke(2) on VFIFO types is broken now, leading to stranded mbuf's. I suppose > >> > >> I don't think it has ever worked in BSD. > > > >Nor should it need to since, according to revoke.2: > > Access to a file may be revoked only by its owner or the super user. The > > revoke() function is currently supported only for block and character > > special device files. > > The restriction to special files was removed in Lite2, but the man page was > not updated and revoke on fifos didn't actually work. So is the solution to update the manpage and: a. note that only revoking FIFOs doesn't work, also checking for vp->VFIFO in vfs_syscalls.c:/^revoke? or b. Take all notes about file revocation not working out, and correct the case of revoking VFIFOs by not stranding those mbufs? > > Bruce > Brian Feldman _ __ ___ ___ ___ green@unixhelp.org _ __ ___ | _ ) __| \ http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) | FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/ 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?Pine.BSF.4.05.9812261208300.21369-100000>