[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200715060620.GA21385@lst.de>
Date: Wed, 15 Jul 2020 08:06:20 +0200
From: Christoph Hellwig <hch@....de>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: Christoph Hellwig <hch@....de>, Nick Hu <nickhu@...estech.com>,
Greentime Hu <green.hu@...il.com>,
Vincent Chen <deanbo422@...il.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-riscv@...ts.infradead.org, linux-arch@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 6/6] exec: use force_uaccess_begin during exec and exit
On Tue, Jul 14, 2020 at 10:33:05PM -0500, Eric W. Biederman wrote:
> Christoph Hellwig <hch@....de> writes:
>
> > Both exec and exit want to ensure that the uaccess routines actually do
> > access user pointers. Use the newly added force_uaccess_begin helper
> > instead of an open coded set_fs for that to prepare for kernel builds
> > where set_fs() does not exist.
>
> Acked-by: "Eric W. Biederman" <ebiederm@...ssion.com>
>
> Have you played with a tree with all of your patches
> and placing force_uaccess_begin in init/main.c:start_kernel?
No, I have converted the early boot code to not require KERNEL_DS
and except for a pending network item remove set_fs entirely. Older
series here, will need some rework:
http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/set_fs-removal
Powered by blists - more mailing lists