nuttx/fs
Abhishek Mishra 5c9de46c79 fs/vfs/fs_fstat.c: fix write capability check in proxy_fstat()
In proxy_fstat(), the write permission bits for a block driver proxy
were gated on `i_ops->read` instead of `i_ops->write`:
The effect is that a driver implementing read but not write would have
S_IWOTH | S_IWGRP | S_IWUSR incorrectly set in the fstat() result,
reporting the file as writable when it is not.

Fix: replace `->read` with `->write` in the write check condition.

Signed-off-by: Abhishek Mishra <mishra.abhishek2808@gmail.com>
2026-04-16 13:35:41 +02:00
..
aio include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
binfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
cromfs style: fix checkpatch issues after debug.h move 2026-04-07 07:50:06 -03:00
driver style: fix checkpatch issues after debug.h move 2026-04-07 07:50:06 -03:00
event fs/event/open: fix the inode information update outside of lock 2026-01-28 10:03:06 +08:00
fat fs/fat: fix incorrect representation of SFN files created on Linux 2026-04-14 09:51:20 +08:00
hostfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
inode include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
littlefs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mmap include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mnemofs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mount include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mqueue include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
nfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
nxffs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
partition include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
procfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
romfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
rpmsgfs fs: rpmsgfs_client: add init message to unlock semaphore 2026-04-09 14:07:06 +08:00
semaphore fs/semaphore/open: fix the inode information update outside of lock 2026-01-28 10:03:06 +08:00
shm fs/inode: use file_allocate,file_dup to avoid racecondition to allocate fd 2026-01-09 17:11:25 +08:00
smartfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
socket include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
spiffs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
tmpfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
unionfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
userfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
v9fs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
vfs fs/vfs/fs_fstat.c: fix write capability check in proxy_fstat() 2026-04-16 13:35:41 +02:00
zipfs fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
CMakeLists.txt fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_heap.c mm/mm_heap: use struct mm_heap_config_s to init the memory heap 2026-01-19 14:18:27 +08:00
fs_heap.h fs_heap:add fs_heap_mallinfo_task 2025-01-15 17:12:50 +08:00
fs_initialize.c fs: Move inotify.c from fs/notify/ to fs/vfs/ 2025-06-23 18:17:10 -03:00
Kconfig fs: disable fs automounter when no signals 2026-02-26 20:03:05 +08:00
Makefile Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00