Opened 3 years ago

Closed 19 months ago

#16651 closed bug (invalid)

MMAP: mmap the pipe fd to memory gives a Permission Denied result

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 (5)

comment:1 by cocobean, 3 years ago

Description: modified (diff)

comment:2 by korli, 3 years ago

Description: modified (diff)

comment:3 by korli, 3 years ago

Keywords: mmap posix removed

comment:4 by cocobean, 19 months ago

Please close this ticket. Tests fail on Linux.

comment:5 by waddlesplash, 19 months ago

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