nuttx/fs/procfs
Xiang Xiao a0357b3a65 !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-07-03 10:33:47 +08:00
..
CMakeLists.txt
fs_procfs.c
fs_procfscpuinfo.c
fs_procfscpuload.c !include/fcntl.h: align open flags with Linux values 2026-07-03 10:33:47 +08:00
fs_procfscritmon.c !include/fcntl.h: align open flags with Linux values 2026-07-03 10:33:47 +08:00
fs_procfsfdt.c !include/fcntl.h: align open flags with Linux values 2026-07-03 10:33:47 +08:00
fs_procfsiobinfo.c !include/fcntl.h: align open flags with Linux values 2026-07-03 10:33:47 +08:00
fs_procfsmeminfo.c
fs_procfspressure.c
fs_procfsproc.c !nuttx: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-19 16:21:28 +08:00
fs_procfsprofile.c
fs_procfstcbinfo.c !include/fcntl.h: align open flags with Linux values 2026-07-03 10:33:47 +08:00
fs_procfsuptime.c !include/fcntl.h: align open flags with Linux values 2026-07-03 10:33:47 +08:00
fs_procfsutil.c
fs_procfsversion.c !include/fcntl.h: align open flags with Linux values 2026-07-03 10:33:47 +08:00
fs_skeleton.c !include/fcntl.h: align open flags with Linux values 2026-07-03 10:33:47 +08:00
Kconfig
Make.defs