[haiku-bugs] [Haiku] #16650: MMAP: partial memory page modifications written out causing PTS test fail

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 08 Dec 2020 18:31:57 -0000

#16650: MMAP: partial memory page modifications written out causing PTS test 
fail
--------------------------+-----------------------------
 Reporter:  cocobean      |       Owner:  nobody
     Type:  bug           |      Status:  new
 Priority:  normal        |   Milestone:  Unscheduled
Component:  System/POSIX  |     Version:  R1/Development
 Keywords:  mmap, posix   |  Blocked By:
 Blocking:                |    Platform:  All
--------------------------+-----------------------------
 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
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16650>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: