aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorYang Shi <[email protected]>2024-11-19 12:09:14 -0800
committerCatalin Marinas <[email protected]>2024-12-02 11:48:14 +0000
commit49ccf2c3cafb5774a4562d61294afcf492bed487 (patch)
tree27e66f802f31a07f56bb558a00aba95bab19761f /tools/testing/selftests/bpf/prog_tests/autoload.c
parent40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff)
arm64: mte: set VM_MTE_ALLOWED for hugetlbfs at correct place
The commit 5de195060b2e ("mm: resolve faulty mmap_region() error path behaviour") moved vm flags validation before fop->mmap for file mappings. But when commit 25c17c4b55de ("hugetlb: arm64: add mte support") was rebased on top of it, the hugetlbfs part was missed. Mmapping hugetlbfs file may not have MAP_HUGETLB set. Fixes: 25c17c4b55de ("hugetlb: arm64: add mte support") Signed-off-by: Yang Shi <[email protected]> Reviewed-by: Catalin Marinas <[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/autoload.c')
0 files changed, 0 insertions, 0 deletions