mmap18: Fix the doc
PATCH 1/1 mmap18: Fix the doc
Use :: to keep the description of stack memory map as original text when viewed in RST format.
Signed-off-by Ma Xinjian <[email protected]>
--- testcases/kernel/syscalls/mmap/mmap18.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
testcases/kernel/syscalls/mmap/mmap18.c +10 -10
@@ -28,18 +28,18 @@* * Kernel default `stack_guard_gap` size is `256 * getpagesize()`. * -* The stack memory map would look like: +* The stack memory map would look like:: * -* | - - - reserved size - - - | +* | - - - reserved size - - - | * -* +-- - - - --+------------+-------------+ -* | 256 pages | unmapped | mapped | -* +-- - - - --+------------+-------------+ -* | mapped size | -* ^ | - - stack size - - | -* start -* ^ ^ -* stack bottom stack top +* +-- - - - --+------------+-------------+ +* | 256 pages | unmapped | mapped | +* +-- - - - --+------------+-------------+ +* | mapped size | +* ^ | - - stack size - - | +* start +* ^ ^ +* stack bottom stack top * * **Test 2** *
Signature · 5 lines
2.47.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Ma,
I merged this patch, as well as all the others related to tests description in RST format.
Kind regards,
Andrea Cervesato
Quoted 40 lines · Ma Xinjian via ltp
Use :: to keep the description of stack memory map as original text when viewed in RST format.
Signed-off-by Ma Xinjian <[email protected]>--- testcases/kernel/syscalls/mmap/mmap18.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)testcases/kernel/syscalls/mmap/mmap18.c +10
-10@@ -28,18 +28,18 @@* * Kernel default `stack_guard_gap` size is `256 * getpagesize()`. * -* The stack memory map would look like: +* The stack memory map would look like:: * -* | - - - reserved size - - - | +* | - - - reserved size - - - | * -* +-- - - - --+------------+-------------+ -* | 256 pages | unmapped | mapped | -* +-- - - - --+------------+-------------+ -* | mapped size | -* ^ | - - stack size - - | -* start -* ^ ^ -* stack bottom stack top +* +-- - - - --+------------+-------------+ +* | 256 pages | unmapped | mapped | +* +-- - - - --+------------+-------------+ +* | mapped size | +* ^ | - - stack size - - | +* start +* ^ ^ +* stack bottom stack top * * **Test 2** *
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp