nuttx/fs/inode
Xiang Xiao 9e141acab3 !include/fcntl.h: align open flags with Linux values
Align the NuttX open(2) flag constants with the Linux asm-generic
values so that the FUSE wire protocol and other cross-platform
interfaces work without conversion.

All code that used '(flags & O_RDONLY)' as a bitmask check (always 0
now that O_RDONLY=0) has been updated to use '(flags & O_ACCMODE)'
comparisons.

The NUTTX_O_* constants in include/nuttx/fs/hostfs.h are updated to
match, and the sim hostfs open flag mapping is fixed.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-06-30 13:43:44 +08:00
..
CMakeLists.txt fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_files.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
fs_foreachinode.c fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_inode.c !include/fcntl.h: align open flags with Linux values 2026-06-30 13:43:44 +08:00
fs_inodeaddref.c fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_inodebasename.c fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_inodefind.c fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_inodefree.c fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_inodegetpath.c fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_inoderelease.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
fs_inoderemove.c fs/inode: Fix inoderemove when removing an inode without parent 2025-05-25 20:44:23 +08:00
fs_inodereserve.c arch_atomic: only support atomic_xx and atomic64_xx function 2024-12-04 14:03:14 +01:00
fs_inodesearch.c fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
inode.h fs/littlefs: Enforce open permissions and set create ownership 2026-06-21 10:39:42 +08:00
Make.defs fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00