madvise: Support MADV_WIPEONFORK, MADV_KEEPONFORK and MADV_NORMAL
Change-Id: I1d4cf5affa580d7304dfdc34fa4f1707c0df617c refs: #1374
This commit is contained in:
29
test/issues/1374/result.log
Normal file
29
test/issues/1374/result.log
Normal file
@ -0,0 +1,29 @@
|
||||
[root@hostname 1374]# ./run.sh
|
||||
mcstop+release.sh ... done
|
||||
mcreboot.sh -c 12-59 -m 512M@4 ... done
|
||||
test run.
|
||||
tst_test.c:1096: INFO: Timeout per run is 0h 05m 00s
|
||||
madvise10.c:143: INFO: MADV_WIPEONFORK zeroes memory in child
|
||||
madvise10.c:117: PASS: madvise(0x1000001c0000, 16384, 0x0)
|
||||
madvise10.c:117: PASS: madvise(0x1000001c0000, 16384, 0x12)
|
||||
madvise10.c:98: PASS: In PID 13482, Matched expected pattern
|
||||
madvise10.c:143: INFO: MADV_WIPEONFORK with zero length does nothing
|
||||
madvise10.c:117: PASS: madvise(0x1000001d0000, 0, 0x0)
|
||||
madvise10.c:117: PASS: madvise(0x1000001d0000, 0, 0x12)
|
||||
madvise10.c:98: PASS: In PID 13532, Matched expected pattern
|
||||
madvise10.c:143: INFO: MADV_WIPEONFORK zeroes memory in grand-child
|
||||
madvise10.c:117: PASS: madvise(0x1000001e0000, 16384, 0x0)
|
||||
madvise10.c:117: PASS: madvise(0x1000001e0000, 16384, 0x12)
|
||||
madvise10.c:98: PASS: In PID 13635, Matched expected pattern
|
||||
madvise10.c:143: INFO: MADV_KEEPONFORK will undo MADV_WIPEONFORK
|
||||
madvise10.c:117: PASS: madvise(0x1000001f0000, 16384, 0x12)
|
||||
madvise10.c:117: PASS: madvise(0x1000001f0000, 16384, 0x13)
|
||||
madvise10.c:98: PASS: In PID 13685, Matched expected pattern
|
||||
|
||||
Summary:
|
||||
passed 12
|
||||
failed 0
|
||||
skipped 0
|
||||
warnings 0
|
||||
test OK.
|
||||
mcstop+release.sh ... done
|
||||
Reference in New Issue
Block a user