[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 8 Aug 2006 12:57:47 +0000
From: Pavel Machek <pavel@...e.cz>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: Edgar Toernig <froese@....de>,
Pekka Enberg <penberg@...helsinki.fi>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
akpm@...l.org, viro@...iv.linux.org.uk, tytso@....edu,
tigran@...itas.com
Subject: Re: [RFC/PATCH] revoke/frevoke system calls V2
Hi!
> > it works for regular files and even goes as far as destroying
> > all mappings of the file from all processes (even root processes).
> > IMVHO this is a disaster from a security and reliability point
> > of view.
>
> Actually its no different than if it didn't. The two are identical
> behaviours.
>
> To use revoke() I must own the file
> If I own the file I can make it a symlink to a pty/tty pair
> I can revoke a pty/tty pair
How can you symlink opened file?
--
Thanks for all the (sleeping) penguins.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists