nuttx/drivers/pipes
fangxinyong 7e90855d76 drivers/pipe: implement pipe mmap just return ENODEV
The fd of pipe type is not supported by mmap, mmap() shall failed
with ENODEV. If pipe mmap is not implemented, mmap will forward to
rammap() and get unexpected error.

Implement pipe mmap just return ENODEV. That is to pass LTP posix
test case mmap/23-1.c

https://pubs.opengroup.org/onlinepubs/9699919799/functions/mmap.html

Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
2023-08-02 22:57:28 -07:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fifo.c fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
Kconfig
Make.defs
pipe_common.c drivers/pipe: make pipe and named pipe (mkfifo) POSIX-compliant 2023-04-22 01:28:33 +08:00
pipe_common.h drivers/pipe: make pipe and named pipe (mkfifo) POSIX-compliant 2023-04-22 01:28:33 +08:00
pipe.c drivers/pipe: implement pipe mmap just return ENODEV 2023-08-02 22:57:28 -07:00