nuttx-update/fs/vfs
YAMAMOTO Takashi 8241a10ebc file_readv_compat/file_writev_compat: Fix partial success handling
The problem has been inherited from the original libc readv/writev
implementation. However, now it's exposed in more situations because
this implemenation is used to back read/write as well.

I expect this fixes the regressions observed on the Espressif CI.
https://github.com/apache/nuttx/pull/13498#issuecomment-2448031197

Note that, even with this fix, these "compat" readv/writev
implementations are still inheritedly broken. (E.g. consider that
a data boundary happens to match one of iovec boundaries) However,
this fix is enough for read/write, where iovcnt is always 1.
2024-11-05 16:57:05 +08:00
..
CMakeLists.txt move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
fs_chstat.c fs/chmod/fchmod/lchmod: only set permissions by mode_t and ignore other bits 2024-09-23 14:57:37 +08:00
fs_close.c fs_close: provide inotify call for close 2024-10-08 08:14:19 +08:00
fs_dir.c fs:replase all asprintf / strdup in fs with fs_heap_xxx 2024-10-15 01:16:48 +08:00
fs_dup.c fs: fix dup not compatible with fdcheck & fdsan 2024-09-30 16:53:51 +08:00
fs_dup2.c fs/inode: remove unnecessary return value for inode_addrefs 2024-10-02 01:56:46 +08:00
fs_epoll.c fs/xxfs:Replace kmm with fs heap 2024-09-30 16:30:56 +08:00
fs_eventfd.c fs/xxfs:Replace kmm with fs heap 2024-09-30 16:30:56 +08:00
fs_fchstat.c fs/chmod/fchmod/lchmod: only set permissions by mode_t and ignore other bits 2024-09-23 14:57:37 +08:00
fs_fcntl.c fs_fcntl: fix the ret value not check error 2024-09-27 00:20:53 +08:00
fs_fstat.c userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
fs_fstatfs.c Fix vfs/fs_fstatfs.c:60:21: warning: variable 'inode' set but not used 2024-09-17 12:01:53 +08:00
fs_fsync.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
fs_ioctl.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
fs_link.c fs: Implment link as a normal function instead macro 2023-02-04 18:31:23 -03:00
fs_lock.c fs:replase all asprintf / strdup in fs with fs_heap_xxx 2024-10-15 01:16:48 +08:00
fs_lseek.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
fs_mkdir.c fs/inode: using rwsem lock as inode_lock to avoid deadlock 2024-10-02 01:56:46 +08:00
fs_open.c userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
fs_poll.c fs: Set the poll return value according to the man manual 2024-10-11 03:08:05 +08:00
fs_pread.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
fs_pseudofile.c userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
fs_pwrite.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
fs_read.c file_readv_compat/file_writev_compat: Fix partial success handling 2024-11-05 16:57:05 +08:00
fs_readlink.c fs/readlink: fix minor issue 2024-10-14 18:08:14 -03:00
fs_rename.c fs:replase all asprintf / strdup in fs with fs_heap_xxx 2024-10-15 01:16:48 +08:00
fs_rmdir.c fs/inode: using rwsem lock as inode_lock to avoid deadlock 2024-10-02 01:56:46 +08:00
fs_select.c fs/xxfs:Replace kmm with fs heap 2024-09-30 16:30:56 +08:00
fs_sendfile.c userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
fs_signalfd.c fs/xxfs:Replace kmm with fs heap 2024-09-30 16:30:56 +08:00
fs_stat.c move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
fs_statfs.c fs: move memset to upper lever for statfs 2023-06-16 11:10:25 +08:00
fs_symlink.c fs:replase all asprintf / strdup in fs with fs_heap_xxx 2024-10-15 01:16:48 +08:00
fs_syncfs.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
fs_timerfd.c userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
fs_truncate.c move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
fs_uio.c move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
fs_unlink.c fs/inode: using rwsem lock as inode_lock to avoid deadlock 2024-10-02 01:56:46 +08:00
fs_write.c file_readv_compat/file_writev_compat: Fix partial success handling 2024-11-05 16:57:05 +08:00
Kconfig fs: add backtrace to where file opens 2024-06-24 23:53:59 +08:00
lock.h fs_lock:Implementing file locks 2024-02-21 13:29:36 -03:00
Make.defs move readv/writev to the kernel 2024-10-30 17:07:54 +08:00