Opened 4 years ago

Last modified 2 years ago

#16651 closed bug

MMAP: mmap the pipe fd to memory gives a Permission Denied result — at Version 2

Reported by: cocobean Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/POSIX Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by korli)

  • The mmap( ) function shall fail if:
    • [ENODEV] The fildes argument refers to a file whose type is not supported by mmap( ). *
    • Test Step:
    • 1. Create pipe;
    • 2. mmap the pipe fd to memory, should get ENODEV;
  • Expected Result: ENODEV
  • Result: Permission denied
  • Tested on Haiku R1B2 x86 (+123)

Ref: https://github.com/haiku/open_posix_testsuite/blob/from_haiku_trunk/conformance/interfaces/mmap/23-1.c

Change History (2)

comment:1 by cocobean, 4 years ago

Description: modified (diff)

comment:2 by korli, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.