diff options
| author | Anshuman Khandual <[email protected]> | 2023-01-30 12:14:57 +0000 |
|---|---|---|
| committer | Catalin Marinas <[email protected]> | 2023-01-31 15:58:09 +0000 |
| commit | 004fc58f917cfea5d7190139e3ed1b7a13e39c25 (patch) | |
| tree | 5e2b56b0a2ec30dc5e57b4cb6c2b4897d89180b7 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
| parent | Documentation: arm64: correct spelling (diff) | |
| download | kernel-004fc58f917cfea5d7190139e3ed1b7a13e39c25.tar.gz kernel-004fc58f917cfea5d7190139e3ed1b7a13e39c25.zip | |
arm64/mm: Intercept pfn changes in set_pte_at()
Changing pfn on a user page table mapped entry, without first going through
break-before-make (BBM) procedure is unsafe. This just updates set_pte_at()
to intercept such changes, via an updated pgattr_change_is_safe(). This new
check happens via __check_racy_pte_update(), which has now been renamed as
__check_safe_pte_update().
Cc: Will Deacon <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: [email protected]
Cc: [email protected]
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Anshuman Khandual <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions
