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 fs/mqueue/Kconfig: Fix typo 2021-01-03 20:28:13 -06:00
Make.defs Move mq_open.c, mq_close.c, and mq_unlink.c from sched/mqueue to fs/mqueue 2014-09-29 13:35:32 -06:00
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