Re: [PATCH 2/2] exec: open code copy_string_kernel

From: Christoph Hellwig
Date: Sat May 02 2020 - 02:24:02 EST


On Fri, May 01, 2020 at 11:04:49PM +0100, Al Viro wrote:
> Long story - basically, it's been a source of massive headache too many times.
> No formal project, but there are several people (me, Arnd, Christoph) who'd
> been reducing its use. For more than a decade now, I think...
>
> FWIW, I doubt that it will be entirely killable; Christoph appears to be
> more optimistic. In any case, its use has been greatly reduced and having
> it narrowed down to even fewer places would be a good thing.
>
> In the same direction: use_mm()/unuse_mm() regularization wrt set_fs(), getting
> rid of it in coredump code, some movements towards killing ioctl_by_bdev();
> not sure if I've spotted everything - Christoph?

That's the big current projects out in the wild. I have a few more
growing.