incubator-nuttx/fs/mqueue
Xiang Xiao 86fab49c46 fs: Fix the race condition in file_dup
NULL inode passed to files_allocate doesn't mark file struct in the
allocated state, so other threads which invovle in file allocation
(e.g. open or dup) may allocate the same file struct again.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I53ff876eae3c7a1e311e7f671686b73a4b4ef891
2021-01-08 11:01:46 +08:00
..
Kconfig
Make.defs
mq_close.c mqueue: add file_mq_xx for kernel use 2021-01-05 02:40:43 -06:00
mq_open.c fs: Fix the race condition in file_dup 2021-01-08 11:01:46 +08:00
mq_unlink.c mqueue: add file_mq_xx for kernel use 2021-01-05 02:40:43 -06:00
mqueue.h mqueue: simplify the mqueue reailize 2021-01-05 02:40:43 -06:00