Opened 4 years ago
#16648 new bug
MMAP: st_ctime and st_mtime not updating properly during test
Reported by: | cocobean | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System/POSIX | Version: | R1/Development |
Keywords: | mmap, posix | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
During open_posix_testsuite 14-1, the st_ctime and st_mtime fields of a file that is mapped with MAP_SHARED and PROT_WRITE shall be marked for update at some point in the interval between a write reference to the mapped region and the next call to msync() with MS_ASYNC or MS_SYNC for that portion of the file by any process. If there is no such call and if the underlying file is modified as a result of a write reference, then these fields shall be marked for update at some time after the write reference. The test is failing on Haiku R1B2 x86 (+123).
Ref: https://github.com/haiku/open_posix_testsuite/blob/master/conformance/interfaces/mmap/14-1.c