nuttx/include/sys
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
..
boardctl.h !boards/boardctl: Remove BOARDIOC_INIT 2026-05-26 09:57:29 +08:00
custom_file.h
endian.h !compiler: drop CONFIG_HAVE_LONG_LONG and require long long support 2026-05-19 16:21:28 +08:00
epoll.h !compiler: drop CONFIG_HAVE_LONG_LONG and require long long support 2026-05-19 16:21:28 +08:00
eventfd.h
fcntl.h
file.h
gmon.h
inotify.h
ioctl.h sys/ioctl: extend the IOCTL defintion that compatible with linux kernel 2026-01-14 09:39:51 +08:00
ipc.h
mman.h
mount.h !include/fcntl.h: align open flags with Linux values 2026-06-30 13:43:44 +08:00
msg.h
param.h arm: systick: fix off-by-one in SysTick RELOAD programming 2026-01-26 19:34:00 +08:00
pciio.h
poll.h
prctl.h
queue.h
random.h
resource.h sys/resouce: add RLIM_NLIMITS definition 2026-01-15 16:08:23 -03:00
select.h
sem.h
sendfile.h
shm.h
signal.h
signalfd.h
socket.h net: make the sendmsg param type consistent with posix specification 2026-01-16 21:11:39 +08:00
sockio.h
stat.h
statfs.h
statvfs.h
syscall.h
syscall_lookup.h arch, sched/signal: Fix compilation with ENABLE_PARTIAL_SIGNALS=y 2026-06-16 17:07:32 +08:00
sysinfo.h
sysmacros.h
time.h syscall/adjtime: fix minior issue about adjtime and add clock_adjtime to syscall 2025-12-30 10:22:09 -03:00
timerfd.h fs/timerfd: implement TFD_TIMER_CANCEL_ON_SET to detect clock changes 2026-01-30 17:20:24 +08:00
times.h
timex.h sched/clock: support using CLOCKFD to call clock_adjtime 2025-12-30 10:22:09 -03:00
tree.h
types.h fs: widen ino_t from uint16_t to uint32_t 2026-06-26 10:45:33 -04:00
uio.h
un.h
utsname.h
vfs.h
video_controls.h
videoio.h
wait.h sys/wait: add WCOREDUMP defintion 2026-01-15 23:16:27 +08:00