nuttx-update/fs/mqueue
yangjiao bef756c004 fs/mqueue: Fix the wrong field type in mq_attr as the spec and add the logical judgment to deal with the condition when mq_maxmsg or mq_msgsize is less than zero or equal to zero.
In POSIX standard spec https://pubs.opengroup.org/onlinepubs/7908799/xsh/mqueue.h.html, the field type in mq_attr should be long not size_t. And no logical judgment when mq_maxmsg <= 0 or mq_msgsize <= 0. In this change, i update the field type in mq_attr, and add the missing logical judgment.

Signed-off-by: yangjiao <yangjiao@xiaomi.com>
2023-08-03 03:10:56 -07:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig mqueue: Rename FS_MQUEUE_MPATH to FS_MQUEUE_VFS_PATH 2022-02-05 23:58:01 +01:00
Make.defs Author: Gregory Nutt: update licenses to Apache 2021-02-05 12:15:56 -03:00
mq_close.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
mq_open.c fs/mqueue: Fix the wrong field type in mq_attr as the spec and add the logical judgment to deal with the condition when mq_maxmsg or mq_msgsize is less than zero or equal to zero. 2023-08-03 03:10:56 -07:00
mq_unlink.c fs: remove sched_[un]lock 2023-08-01 23:15:37 +02:00
mqueue.h fs: Remove the unnecessary Kconfig definition 2022-02-05 23:58:01 +01:00