]> Git Repo - linux.git/commit
mm/usercopy: Drop extra is_vmalloc_or_module() check
authorLaura Abbott <[email protected]>
Tue, 4 Apr 2017 21:09:00 +0000 (14:09 -0700)
committerKees Cook <[email protected]>
Wed, 5 Apr 2017 19:30:18 +0000 (12:30 -0700)
commit517e1fbeb65f5eade8d14f46ac365db6c75aea9b
treee11991a0fd19229b26d945d72415938609238b99
parent96dc4f9fb64690fc34410415fd1fc609cf803f61
mm/usercopy: Drop extra is_vmalloc_or_module() check

Previously virt_addr_valid() was insufficient to validate if virt_to_page()
could be called on an address on arm64. This has since been fixed up so
there is no need for the extra check. Drop it.

Signed-off-by: Laura Abbott <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
mm/usercopy.c
This page took 0.053051 seconds and 4 git commands to generate.