From: Rusty Russell <rusty@rustcorp.com.au>
To: Kingsley Cheung <kingsley@aurema.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [Trivial Patch] Bad tgid and tid lookup for /proc
Date: Fri, 12 Mar 2004 09:09:09 +1100 [thread overview]
Message-ID: <20040312005401.DD4032C733@lists.samba.org> (raw)
In-Reply-To: Your message of "Mon, 09 Feb 2004 13:51:10 +1100." <20040209135110.H17768@aurema.com>
In message <20040209135110.H17768@aurema.com> you write:
> All,
>
> On 2.6.2, one can do the following, which is clearly wrong:
>
> gen2 02:49:45 ~: cat /proc/1/task/$$/stat
> 1669 (bash) S 1668 1669 1669 34816 1730 256 1480 6479 12 4 8 5 5 17 15 0 1 0
8065 3252224 451 4294967295 134512640 134955932 3221225104 3221222840 429496014
4 0 65536 3686404 1266761467 3222442959 0 0 17 0 0 0
> gen2 02:50:44 ~: ls /proc/1/task
> 1
Patch was mangled, and IMHO wasn't exactly trivial. As I understand
it, you could access any task under /proc/xxx/task. Your patch seems to
make it that you can access any task under /proc/xxx/task if xxx is a
thread group leader.
A little confused,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
next prev parent reply other threads:[~2004-03-12 0:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-09 2:51 [Trivial Patch] Bad tgid and tid lookup for /proc Kingsley Cheung
2004-03-11 22:09 ` Rusty Russell [this message]
2004-03-14 22:46 ` Kingsley Cheung
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040312005401.DD4032C733@lists.samba.org \
--to=rusty@rustcorp.com.au \
--cc=kingsley@aurema.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox