[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: deleting content of /tmp



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/24/07 22:19, Roberto C. Sánchez wrote:
> On Sat, Mar 24, 2007 at 10:17:28PM -0500, Ron Johnson wrote:
>> On 03/24/07 21:46, Roberto C. Sánchez wrote:
>>> On Sat, Mar 24, 2007 at 09:31:58PM -0500, Ron Johnson wrote:
>>>> Ah, you're deleting an open file!
>>>>
>>>> The app, then, that deletes an open file is poorly written.
>>>>
>>> On the contrary.  It makes it so that the only way that someone can get
>>> to the file is by having cracked the kernel itself.  That is, without
>>> the file descriptor, no other process can get to the data.  For example,
>>> qemu does this.  Lots of other programs do this as well for security.
>>> They open the file, immediately unlink it and then the only access is
>>> via the file descriptor.
>> That reminds me of the Vietnam War philosophy "we had to destroy the
>> village in order to save the village".  It was bad "design" 40 years
>> ago, it's a bad design now.
>>
> Out of curiousity, why do you say that it is a bad design?

Destroying something to save it?

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGBe2US9HxQb37XmcRAjSzAJ0RKQkjRDMlzsPpMFXZj9jFyi444gCg5MYq
9D8NRt2we29aFc1XTTkUJPY=
=Cehu
-----END PGP SIGNATURE-----



Reply to: