diff options
| author | Pedro Falcato <[email protected]> | 2024-08-17 01:18:31 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-03 21:15:41 -0700 |
| commit | 38075679b5f157eeacd46c900e9cfc684bdbc167 (patch) | |
| tree | a808ff314a885cf5e523c22b064637e983fba023 /tools/perf/scripts/python/bin | |
| parent | 4a2dd02b09160ee43f96c759fafa7b56dfc33816 (diff) | |
mm/mremap: replace can_modify_mm with can_modify_vma
Delegate all can_modify checks to the proper places. Unmap checks are
done in do_unmap (et al). The source VMA check is done purposefully
before unmapping, to keep the original mseal semantics.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Pedro Falcato <[email protected]>
Reviewed-by: Liam R. Howlett <[email protected]>
Reviewed-by: Lorenzo Stoakes <[email protected]>
Cc: Jeff Xu <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions