[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071120215914.GE24156@elte.hu>
Date: Tue, 20 Nov 2007 22:59:14 +0100
From: Ingo Molnar <mingo@...e.hu>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: Pavel Emelyanov <xemul@...nvz.org>,
"Rafael J. Wysocki" <rjw@...k.pl>, Pavel Machek <pavel@....cz>,
kernel list <linux-kernel@...r.kernel.org>,
netdev <netdev@...r.kernel.org>
Subject: Re: 2.6.24-rc3: find complains about /proc/net
* Eric W. Biederman <ebiederm@...ssion.com> wrote:
> > lr-x------ 1 root root 64 Nov 20 18:03 3 -> /proc/net
> > ...
>
> Yes all of those are nasty. So much for my clever way of implementing
> these things. Grr. Simple hacks that almost work!
btw., in case you feel inclined, i recently did some userspace coding
and found to my surprise that /proc/self points to the parent task, not
the thread itself (giving threads no real way to examine themselves). If
you are hacking in this area, would it be a big trouble to add something
like /proc/self-task/ or something like that? I had to use a raw gettid
syscall to figure out the TID to get to /proc/*/tasks/TID/sched
instrumentation info - which is quite a PITA.
Ingo
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists