incubator-nuttx/fs
liuhaitao bf06776f7c fs/vfs: reuse file_dup2 directly in file_dup to fix segfault issue
Or close the fd2 return by dup() would segment fault since filep->f_priv
null access.

Change-Id: I285c86f54bbb486d6c2c5aea53952f69083dca72
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-09-09 07:49:40 -07:00
..
aio sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
binfs fix nxstyle warning 2020-07-10 21:30:02 +01:00
cromfs fs_cromfs: Removed DEBUGASSERT on non-exiting var node 2020-08-20 14:10:02 +01:00
dirent vfs/dirread: Should return the same file type as lstat 2020-07-07 13:41:10 +01:00
driver Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
fat FAT Filesystem: UTF8 support for long filenames, bugfixes. 2020-07-31 18:01:02 -03:00
hostfs Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
inode fs: Implement lstat function 2020-06-30 13:09:58 -06:00
littlefs fs/littlefs: enable the low level log only on debug mode 2020-08-18 12:13:32 +01:00
mmap build: Remove the empty variable assignment 2020-05-24 08:24:13 -06:00
mount sched/wdog: Remove MAX_WDOGPARMS and related stuff 2020-08-14 08:19:50 -06:00
mqueue Fix inverted errno in mq_open 2020-08-20 20:35:16 -03:00
nfs fix nxstyle warning 2020-07-10 21:30:02 +01:00
nxffs fs/nxffs: Fix scan good block slowly and scan an invalid block 2020-07-20 10:23:58 -03:00
partition Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
procfs Remove unused, non-modular procfs reference 2020-08-22 16:22:18 +01:00
romfs Correct ROMFS hardlink handling 2020-08-10 07:32:06 -07:00
semaphore Check return from nxsem_wait_initialize() 2020-03-30 17:09:45 +01:00
shm fs/: Remove dangling space at the end of lines. 2017-06-28 13:17:55 -06:00
smartfs fs/smartfs: Fix file size corruption when opening with overwriting mode 2020-07-22 04:22:22 -05:00
spiffs fix nxstyle warning 2020-07-10 21:30:02 +01:00
tmpfs Fix wrong executable bit on two source files 2020-08-31 19:19:14 +01:00
unionfs fix nxstyle warning 2020-07-10 21:30:02 +01:00
userfs fix nxstyle warning 2020-07-10 21:30:02 +01:00
vfs fs/vfs: reuse file_dup2 directly in file_dup to fix segfault issue 2020-09-09 07:49:40 -07:00
Kconfig vfs/epoll: add epoll_create1(2) implement 2020-08-17 23:41:13 -05:00
Makefile Makefile: Fix Make.dep not updated by config changes 2020-07-28 03:59:45 -05:00
fs_initialize.c Remove some block comments before empty code sections 2016-04-11 18:16:04 -06:00