Opened 4 years ago

Closed 2 years ago

#16650 closed bug (invalid)

MMAP: partial memory page modifications written out causing PTS test fail

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

Implementation performs mapping operations over whole pages. Thus, while the argument len, need not meet a size or alignment constraint, the implementation shall include, in any mapping operation, any partial page specified by the range [pa,pa+len). The system shall always zero-fill ny partial page at the end of an object. Further, the system shall never write out any modified portions of the last page of an object which are beyond its end. Tested on Haiku R1B2 x86 (+123).

Failed result: Modification of the partial page at end of object is written out.

Ref:

https://github.com/haiku/open_posix_testsuite/blob/from_haiku_trunk/conformance/interfaces/mmap/11-4.c

https://github.com/haiku/open_posix_testsuite/blob/from_haiku_trunk/conformance/interfaces/mmap/11-5.c

Change History (2)

comment:1 by cocobean, 2 years ago

Please close this ticket. Tests fail on Linux.

comment:2 by waddlesplash, 2 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.