Proposal: a revoke() system call

Ken Smith kensmith at cse.Buffalo.EDU
Mon Jul 7 19:32:53 UTC 2008


On Mon, 2008-07-07 at 00:05 +0100, Robert Watson wrote:
> You could 
> achieve something of the same end by opening /dev/null and then dup2()'ing to 
> the file descriptor you want to revoke, perhaps?

I might be missing something but isn't this what the deadfs vnodeops are
for?

-- 
                                                Ken Smith
- From there to here, from here to      |       kensmith at cse.buffalo.edu
  there, funny things are everywhere.   |
                      - Theodore Geisel |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20080707/1ac3aeeb/attachment.pgp


More information about the freebsd-arch mailing list