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-24 10:33:08 +02:00
2020-08-12 10:57:59 -07:00
2020-08-12 10:57:59 -07:00
2020-08-15 08:09:38 -07:00
2020-08-15 08:18:22 -07:00
2020-08-17 09:39:18 -07:00
2020-08-16 22:00:22 +01:00
2020-08-15 08:26:55 -07:00
2020-08-12 10:57:59 -07:00
2020-08-12 10:57:59 -07:00
2020-08-23 17:36:59 -05:00
2020-08-12 10:57:59 -07:00
2020-08-12 10:57:59 -07:00
2020-08-27 12:51:25 +02:00
2020-08-20 10:57:29 -07:00
2020-08-26 12:41:53 +02:00
2020-08-12 10:58:01 -07:00
2020-08-12 10:57:59 -07:00
2020-08-14 15:22:43 -07:00
2020-08-14 16:27:00 +02:00
2020-08-14 16:27:00 +02:00
2020-08-12 10:57:59 -07:00
2020-08-23 17:36:59 -05:00
2020-08-28 10:57:14 -07:00
2020-08-12 10:57:59 -07:00
2020-08-14 19:56:56 -07:00
2020-08-12 10:58:02 -07:00
2020-08-13 18:41:00 -07:00
2020-08-14 19:56:57 -07:00
2020-08-14 19:56:57 -07:00
2020-08-26 12:41:56 +02:00
2020-08-21 11:03:38 -07:00
2020-08-23 17:36:59 -05:00
2020-09-04 12:46:06 +01:00
2020-08-28 11:21:20 -07:00
2020-08-12 10:57:59 -07:00
2020-08-26 12:41:53 +02:00
2020-08-14 19:56:57 -07:00
2020-08-12 10:58:02 -07:00
2020-08-14 19:56:56 -07:00
2020-08-14 19:56:56 -07:00
2020-09-04 12:46:07 +01:00
2020-09-04 12:46:07 +01:00
2020-08-26 12:41:53 +02:00
2020-08-13 04:16:15 +02:00
2020-08-15 08:26:55 -07:00
2020-09-04 12:46:06 +01:00
2020-08-14 19:56:56 -07:00
2020-08-12 12:09:36 -07:00
2020-08-17 21:50:54 +03:00
2020-08-17 11:46:22 -07:00
2020-08-12 10:57:59 -07:00
2020-08-26 12:41:51 +02:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-08-14 19:56:56 -07:00
2020-08-14 19:56:56 -07:00
2020-08-12 10:57:59 -07:00
2020-08-12 10:57:59 -07:00
2020-08-12 10:57:59 -07:00
2020-08-12 10:57:59 -07:00
2020-08-12 10:57:59 -07:00