Opened 2 years ago

Last modified 2 years ago

#17895 closed bug

mprotect ineffective after fork — at Initial Version

Reported by: korli Owned by: nobody
Priority: normal Milestone: R1/beta4
Component: System/Kernel Version: R1/beta3
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

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.

Change History (3)

by korli, 2 years ago

Attachment: fork-mprotect-cow.c added

by korli, 2 years ago

Attachment: testutils.c added

by korli, 2 years ago

Attachment: hugetests.h added
Note: See TracTickets for help on using tickets.