Re: [kernel-hardening] Re: [PATCH v9 1/4] syscalls: Verify address limit before returning to user-mode

From: Christoph Hellwig
Date: Fri May 12 2017 - 03:36:57 EST


On Fri, May 12, 2017 at 08:15:49AM +0100, Al Viro wrote:
> And converting everything to ->read_iter()/->write_iter() means an insane
> amount of code churn, not to mention coping with random bogosities in
> semantics. ->read() and ->write() are going to stay around, pretty
> much indefinitely.

But I don't think kernel users of them have to. I've been digging
through the calllers and will send an analysis to the list in a bit.