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 Initial Version

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

Description

  • 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: ENODEF
  • Result: Permmission 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 (0)

Note: See TracTickets for help on using tickets.