lkml.org 
[lkml]   [2019]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 2/2] fs: remove ksys_dup()
On Thu, Dec 12, 2019 at 10:38 AM Al Viro <viro@zeniv.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

\
 
 \ /
  Last update: 2019-12-12 19:49    [W:0.043 / U:2.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site