nuttx/sched/module
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 sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Make.defs sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
mod_insmod.c libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
mod_modhandle.c libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
mod_modsym.c libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
mod_procfs.c !include/fcntl.h: align open flags with Linux values 2026-06-30 13:43:44 +08:00
mod_rmmod.c libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00