#16651: MMAP: mmap the pipe fd to memory gives a Permission Denied result
---------------------------+----------------------------
Reporter: cocobean | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/POSIX | Version: R1/Development
Resolution: | Keywords: mmap, posix
Blocked By: | Blocking:
Platform: All |
---------------------------+----------------------------
Description changed by cocobean:
Old 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