From: Anatoly Vorobey (mellon_at_nonexisting.hamakor.org.il)
Date: Tue 31 Aug 2004 - 22:02:43 IDT
On Tue, Aug 31, 2004 at 09:41:46PM +0300, Muli Ben-Yehuda wrote:
> On Tue, Aug 31, 2004 at 08:15:56PM +0300, Anatoly Vorobey wrote:
>
> > [nitpicking follows]
>
> [nitpickers are us]
The nits have all been picked now, and no disagreements remain.
While we're at it though, here's a considerably perverse afterthought:
you could mount tmpfs on /proc/<your pid> from inside your root-capable
program, then copy all files/symbolic links from real /proc/<pid>
(using a previously opened dirent entry) to the fake one, and then
modifying 'stat', which is what ps/top read.
-- avva "There's nothing simply good, nor ill alone" -- John Donne ================================================================= To unsubscribe, send mail to linux-il-request_at_linux.org.il with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail linux-il-request_at_linux.org.il
This archive was generated by hypermail 2.1.7 : Tue 31 Aug 2004 - 22:16:43 IDT