[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 12 Dec 2019 10:48:22 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: Dominik Brodowski <linux@...inikbrodowski.net>,
Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] fs: remove ksys_dup()
On Thu, Dec 12, 2019 at 10:38 AM Al Viro <viro@...iv.linux.org.uk> wrote:
>
> Let's not expose the kernel guts to init/*.c more than absolutely unavoidable.
Well, in this case I think it's more than justified: it removes one of
the nasty "pass user pointers from kernel space" cases.
I'd like to get to the point where "init" doesn't need set_fs() at
all. We're not there now - do_execve() is going to be painful. So
maybe we'll never be. But this gets us one step closer, at least.
Linus
Powered by blists - more mailing lists