nuttx/fs/vfs
Xiang Xiao 14a3c35917 fs: Ensure fs_dupfd2 always return fd2 in the sucessful path
it's wrong to return file_dup2 directly since file_dup2 never return file handle

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I943537849c75d83b3d646a6a22f035187d9fd521
2021-01-03 00:03:22 +01:00
..
fs_close.c fs/vfs: Add nx_close function 2020-05-03 12:15:54 -06:00
fs_dup2.c fs/vfs: Add nx_dup and nx_dup2 function 2020-05-04 07:20:02 -06:00
fs_dup.c fs/vfs: Add nx_dup and nx_dup2 function 2020-05-04 07:20:02 -06:00
fs_dupfd2.c fs: Ensure fs_dupfd2 always return fd2 in the sucessful path 2021-01-03 00:03:22 +01:00
fs_dupfd.c fs: Remove inode null check from file_dup and fs_dupfd2 2021-01-03 00:03:22 +01:00
fs_epoll.c fs/epoll: add asynchronous epoll control support 2020-12-27 11:08:12 -06:00
fs_eventfd.c OS internal function should indicate the error by return negative value 2020-12-31 09:37:29 +01:00
fs_fcntl.c fs/setfd: correct the return value 2020-06-24 13:48:41 +01:00
fs_fdopen.c fs: Skip call fs_checkfd if fd < 3 in fs_fdopen 2020-12-16 07:53:21 +09:00
fs_fstat.c fs: Implement lstat function 2020-06-30 13:09:58 -06:00
fs_fstatfs.c
fs_fsync.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
fs_getfilep.c include/nuttx/sched.h: Make naming of all internal names consistent: 2020-05-09 14:19:08 -03:00
fs_ioctl.c fs/vfs/fs_ioctl.c: Call F_GETFD to avoid clear other flag we will add in the future 2020-09-16 02:31:33 -07:00
fs_lseek.c fs/vfs: Add nx_seek function 2020-05-03 12:15:54 -06:00
fs_mkdir.c fs/vfs: Don't check CONFIG_NFILE_STREAMS for mkdir/rename/rmdir/fs_unlink 2020-08-17 00:16:26 +01:00
fs_open.c vfs: fix support for PTY when CONFIG_NET is not enabled 2020-06-16 09:56:21 +08:00
fs_poll.c sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
fs_pread.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
fs_pwrite.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
fs_read.c Fix typo in the file_read description (#44) 2020-01-07 07:07:39 -03:00
fs_readlink.c Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
fs_rename.c fs: Add the relative path support 2020-09-24 03:13:27 -07:00
fs_rmdir.c fs/vfs: Don't check CONFIG_NFILE_STREAMS for mkdir/rename/rmdir/fs_unlink 2020-08-17 00:16:26 +01:00
fs_select.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
fs_sendfile.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
fs_stat.c fs: remove INODE_IS_SPECIAL() use others instead 2020-12-30 12:21:02 -06:00
fs_statfs.c vfs: Create a node as the root of pseudo file system 2020-09-16 11:44:57 -07:00
fs_symlink.c fs: Add the relative path support 2020-09-24 03:13:27 -07:00
fs_truncate.c
fs_unlink.c vfs: Fix unsed label warning 2020-12-30 21:20:17 -06:00
fs_write.c net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
Make.defs libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00