diff options
author | Alexey Dobriyan <[email protected]> | 2023-10-27 17:21:03 +0300 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-11-01 12:46:59 -0700 |
commit | 20e34aa7e08dbac5d7f757fea81fae8df462aa42 (patch) | |
tree | a4474064e06009b22f73034553107dd40d09159d /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 639931020e1a70308a5c71f4702443429cb6899c (diff) |
proc: fix proc-empty-vm test with vsyscall
* fix embarassing /proc/*/smaps test bug due to a typo in variable name
it tested only the first line of the output if vsyscall is enabled:
ffffffffff600000-ffffffffff601000 r-xp ...
so test passed but tested only VMA location and permissions.
* add "KSM" entry, unnoticed because (1)
* swap "r-xp" and "--xp" vsyscall test strings,
also unnoticed because (1)
Link: https://lkml.kernel.org/r/76f42cce-b1ab-45ec-b6b2-4c64f0dccb90@p183
Signed-off-by: Alexey Dobriyan <[email protected]>
Tested-by: Swarup Laxman Kotikalapudi<[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions