Changes between Initial Version and Version 1 of Ticket #17895
- Timestamp:
- Aug 29, 2022, 7:41:55 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17895 – Description
initial v1 1 1 I took a few tests from libhugetlbfs, combined them in fork-mprotect-cow to check the page protection after fork. this actually succeeds on Linux and fails on Haiku. 2 3 Test output on Linux 4 {{{ 5 Starting testcase "./fork-mprotect-cow", pid 15944 6 Mapping synchronization area..done 7 Mapping hugepage area...mapped at 0x7f59034f2000 8 Parent writes pre-fork...1234abcd 9 mprotect()ing to prot=0 10 Parent reading..SIGSEGV at 0x7f59034f2000 (sig_expected=0x7f59034f2000) 11 -1 12 Child starts.. 13 Child reading..SIGSEGV at 0x7f59034f2000 (sig_expected=0x7f59034f2000) 14 -1 15 Child exits... 16 PASS 17 }}}