summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2024-03-05 06:05:15 +0300
committerAndrii Nakryiko <andrii@kernel.org>2024-03-06 21:19:04 +0300
commit3e49a866c9dcbd8173e4f3e491293619a9e81fa4 (patch)
tree5ed90ad44657e757261e3c827c3a87dd67df8b3e /rust
parent8f50d5c423551bfa259af792647a2f4799780ac5 (diff)
downloadlinux-3e49a866c9dcbd8173e4f3e491293619a9e81fa4.tar.xz
mm: Enforce VM_IOREMAP flag and range in ioremap_page_range.
There are various users of get_vm_area() + ioremap_page_range() APIs. Enforce that get_vm_area() was requested as VM_IOREMAP type and range passed to ioremap_page_range() matches created vm_area to avoid accidentally ioremap-ing into wrong address range. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/bpf/20240305030516.41519-2-alexei.starovoitov@gmail.com
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions