Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jul 2008 15:00:01 -0400
From:      Ken Smith <kensmith@cse.Buffalo.EDU>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        arch@freebsd.org, Sergey Babkin <babkin@verizon.net>
Subject:   Re: Proposal: a revoke() system call
Message-ID:  <1215457201.89956.11.camel@neo.cse.buffalo.edu>
In-Reply-To: <20080707000313.P56885@fledge.watson.org>
References:  <48714866.906912CC@verizon.net> <20080707000313.P56885@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-g9ENhPw2RXZKY97cVWJq
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


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

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

--=20
                                                Ken Smith
- From there to here, from here to      |       kensmith@cse.buffalo.edu
  there, funny things are everywhere.   |
                      - Theodore Geisel |

--=-g9ENhPw2RXZKY97cVWJq
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEABECAAYFAkhyZ6YACgkQ/G14VSmup/bX1ACgmKgpwcQSw/35muWpvuLZ+ktB
00cAnR9FEn0QpIjbdtnEXhjA4aidGDeo
=Shxv
-----END PGP SIGNATURE-----

--=-g9ENhPw2RXZKY97cVWJq--




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