diff options
| author | Rasmus Villemoes <[email protected]> | 2013-07-08 15:59:48 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-07-09 10:33:20 -0700 |
| commit | 9a2458a633d4b3c9e0eae506da40cf44dc075314 (patch) | |
| tree | 6212adc65070486edc212587c8f3a16452d810ec /tools/perf/scripts/python/bin | |
| parent | 34e3a58c66aafd90cc16c061569fbefc3ff451e9 (diff) | |
mm: mremap: validate input before taking lock
This patch is very similar to commit 84d96d897671 ("mm: madvise:
complete input validation before taking lock"): perform some basic
validation of the input to mremap() before taking the
¤t->mm->mmap_sem lock.
This also makes the MREMAP_FIXED => MREMAP_MAYMOVE dependency slightly
more explicit.
Signed-off-by: Rasmus Villemoes <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions