mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-14 18:22:56 +00:00
Fix get_unmapped_area sanity tests
As noted by Chris Wright, we need to do the full range of tests regardless of whether MAP_FIXED is set or not, so re-organize get_unmapped_area() slightly to do the sanity checks unconditionally.
This commit is contained in:
parent
66e60f9251
commit
07ab67c8d0
2 changed files with 34 additions and 29 deletions
59
mm/mmap.c
59
mm/mmap.c
Loading…
Add table
Add a link
Reference in a new issue