aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorAlexander Gordeev <[email protected]>2024-06-07 14:19:48 +0200
committerVasily Gorbik <[email protected]>2024-06-11 16:20:40 +0200
commitd8073dc6bc04a061660b31e49a990478a73f1883 (patch)
tree95ddaac9106877e8b5482e6215292a223fb5b729 /lib/test_fortify/write_overflow-strncpy-src.c
parentb01b8151efe47a432f3f73623a6c1438727e7880 (diff)
s390/mm: Allow large pages only for aligned physical addresses
Do not allow creation of large pages against physical addresses, which itself are not aligned on the correct boundary. Failure to do so might lead to referencing wrong memory as result of the way DAT works. Fixes: c98d2ecae08f ("s390/mm: Uncouple physical vs virtual address spaces") Reviewed-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions