mirror of
https://github.com/apache/nuttx.git
synced 2026-08-12 07:55:32 +00:00
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> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Make.defs | ||
| mq_getattr.c | ||
| mq_initialize.c | ||
| mq_msgfree.c | ||
| mq_msgqalloc.c | ||
| mq_msgqfree.c | ||
| mq_notify.c | ||
| mq_rcvinternal.c | ||
| mq_receive.c | ||
| mq_recover.c | ||
| mq_send.c | ||
| mq_setattr.c | ||
| mq_sndinternal.c | ||
| mq_waitirq.c | ||
| mqueue.h | ||
| msg.h | ||
| msgctl.c | ||
| msgget.c | ||
| msginternal.c | ||
| msgrcv.c | ||
| msgsnd.c | ||