fangxinyong d892cda167 fs/mmap: fix mmap() wrong errno
As posix spec, mmap() function shall fail with ENODEV if fd refers
to a file whose type is not supported. Change to pass ltp open_posix test:
testcases/open_posix_testsuite/conformance/interfaces/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
..
2023-08-01 23:15:37 +02:00
2023-08-02 22:57:28 -07:00
2023-08-01 23:15:37 +02:00
2023-07-31 21:41:30 -07:00
2023-07-11 23:32:17 +08:00
2023-07-29 20:27:10 -07:00
2023-08-01 23:15:37 +02:00
2023-08-01 23:15:37 +02:00
2023-07-11 23:32:17 +08:00
2023-01-28 19:53:20 +02:00