Quantcast
Channel: lkml.org : Pallipadi, Venkatesh
Viewing all articles
Browse latest Browse all 864

Re: [PATCH v2 11/17] selftests/x86/ldt_gdt: Prepare for access bit ...

$
0
0
Linus Torvalds writes: (Summary) On Thu, Dec 14, 2017 at 1:44 PM, Linus Torvalds
<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

Viewing all articles
Browse latest Browse all 864

Latest Images

Trending Articles



Latest Images