Skip to content
Commit 94d149c3 authored by David S. Miller's avatar David S. Miller
Browse files

sparc: Fix mremap address range validation.



Just like mmap, we need to validate address ranges regardless
of MAP_FIXED.

sparc{,64}_mmap_check()'s flag argument is unused, remove.

Based upon a report and preliminary patch by
Jan Lieskovsky <jlieskov@redhat.com>

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c714a534
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment