diff options
| author | Pedro Falcato <[email protected]> | 2024-08-17 01:18:30 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-03 21:15:41 -0700 |
| commit | 4a2dd02b09160ee43f96c759fafa7b56dfc33816 (patch) | |
| tree | cd265b1c897f7d8f4c4ece91ae61f667c50031c2 /tools/perf/scripts/python | |
| parent | df2a7df9a9aa32c3df227de346693e6e802c8591 (diff) | |
mm/mprotect: replace can_modify_mm with can_modify_vma
Avoid taking an extra trip down the mmap tree by checking the vmas
directly. mprotect (per POSIX) tolerates partial failure.
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')
0 files changed, 0 insertions, 0 deletions