Files
linux-stable-mirror/include/linux
Catalin Marinas c462ac288f mm: Introduce arch_validate_flags()
Similarly to arch_validate_prot() called from do_mprotect_pkey(), an
architecture may need to sanity-check the new vm_flags.

Define a dummy function always returning true. In addition to
do_mprotect_pkey(), also invoke it from mmap_region() prior to updating
vma->vm_page_prot to allow the architecture code to veto potentially
inconsistent vm_flags.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
2020-09-04 12:46:07 +01:00
..
2020-08-03 18:19:23 -07:00
2020-07-27 14:55:22 +01:00
2020-07-27 14:29:23 -04:00
2020-08-14 19:56:56 -07:00
2020-08-04 21:02:38 -04:00
2020-08-26 12:41:56 +02:00
2020-09-04 12:46:07 +01:00
2020-07-31 18:08:59 +10:00
2020-09-04 12:46:06 +01:00
2020-08-07 11:33:24 -07:00
2020-08-01 11:28:17 +02:00