Linus Torvalds writes: (Summary) On Thu, Dec 14, 2017 at 1:44 PM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
Actually, just clearing PAGE_USER should make gup avoid it automatically. So really the only other thing it needs is to have access_ok() avoid it so that the kernel can't be fooled into accessing it for the user. it so that the kernel can't be fooled into accessing it for the user. Linus
Linus
Linus
<torvalds@linux-foundation.org> wrote:
[...]
that we can't do get_user/put_user on it.Actually, just clearing PAGE_USER should make gup avoid it automatically. So really the only other thing it needs is to have access_ok() avoid it so that the kernel can't be fooled into accessing it for the user. it so that the kernel can't be fooled into accessing it for the user. Linus
Linus
Linus