[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20130827154513.GA27943@redhat.com>
Date: Tue, 27 Aug 2013 17:45:13 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Andy Lutomirski <luto@...capital.net>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
Linux FS Devel <linux-fsdevel@...r.kernel.org>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Al Viro <viro@...iv.linux.org.uk>,
Andrew Morton <akpm@...ux-foundation.org>,
Willy Tarreau <w@....eu>,
Brad Spengler <spender@...ecurity.net>,
Ingo Molnar <mingo@...nel.org>
Subject: Re: [PATCH] proc: make proc_fd_permission() thread-friendly
On 08/26, Andy Lutomirski wrote:
>
> On Aug 26, 2013 12:35 PM, "Linus Torvalds" <torvalds@...ux-foundation.org>
> wrote:
> >
> > Yes, it would be semantically different, but it would mean that
> > "/proc/self/fd/" would actually make sense in a way that it currently
> > does *not* - which would seem fairly important, since the primary use
> > for it tends to be /dev/stdin.
> >
> > And the other semantic differences might be much harder to notice.
> > Worth testing?
>
> The "children" subdirectory will be different. But it's already screwed up.
No, it lives in tid_base_stuff, it should be only visible in
/proc/*/task/tid/ dir.
(and perhaps it also makes sense to remove mem/exe-like things from
tid_base_stuff...)
Anyway I agree, this change is risky.
Oleg.
--
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