nuttx-mirror/fs
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
..
aio vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
binfs move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
cromfs move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
driver fs:replase all asprintf / strdup in fs with fs_heap_xxx 2024-10-15 01:16:48 +08:00
event fs: support VFS-based named event group 2024-10-09 01:40:00 +08:00
fat move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
hostfs move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
inode fs:replase all asprintf / strdup in fs with fs_heap_xxx 2024-10-15 01:16:48 +08:00
littlefs move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
mmap userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
mnemofs fs/mnemofs: Fix open and rmdir return value and seek out of bounds. 2024-11-03 16:01:58 +08:00
mount zipfs:zipfs not need mtd drivers 2024-10-08 19:55:09 +08:00
mqueue mq: correct inode release in mq_inode_release() 2024-10-09 10:17:24 +08:00
nfs move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
notify fs:replase all asprintf / strdup in fs with fs_heap_xxx 2024-10-15 01:16:48 +08:00
nxffs move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
partition cmake(bugfix):fix fs cmake typo 2024-10-30 22:14:40 +08:00
procfs userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
romfs move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
rpmsgfs move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
semaphore fs/semaphore: fix a minor issue with goto label 2024-10-08 23:21:54 +08:00
shm userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
smartfs move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
socket socketpair.c:Replace kmm with fs heap 2024-10-16 20:56:39 +08:00
spiffs move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
tmpfs userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
unionfs move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
userfs move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
v9fs move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
vfs file_readv_compat/file_writev_compat: Fix partial success handling 2024-11-05 16:57:05 +08:00
zipfs move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
CMakeLists.txt fs/xxfs:Replace kmm with fs heap 2024-09-30 16:30:56 +08:00
fs_heap.c userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
fs_heap.h fs_heap: add memalign interface 2024-10-27 10:38:58 +08:00
fs_initialize.c fs: add fs_heap, support shm/tmpfs/pseudofile with indepent heap 2024-08-25 22:12:37 +08:00
Kconfig fs: support VFS-based named event group 2024-10-09 01:40:00 +08:00
Makefile fs: support VFS-based named event group 2024-10-09 01:40:00 +08:00