Re: [RFC][CFT][PATCHSET v1] uaccess unification

Al Viro
2017-03-30T18:54:35Z

On Thu, Mar 30, 2017 at 07:48:24PM +0100, Al Viro wrote:

> BTW, ..._inatomic is a very unfortunate name, IMO - it's *not* safe
> to use in atomic contexts as-is, to start with; the caller needs to take
> care of pagefault_disable(). If anything, __copy_from_user_nofault() would
> probably be better...

Not even that - again, it will happily trigger page faults unless the
caller disables those. __copy_from_user_I_know_what_I_am_doing()?