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
..
2023-05-17 10:24:42 +08:00
2022-08-02 21:04:19 +08:00
2023-07-11 23:32:17 +08:00
2023-07-11 23:32:17 +08:00
2022-01-29 01:04:23 +08:00
2023-07-31 07:50:10 -07:00
2023-06-12 08:39:38 +02:00
2022-02-20 21:58:10 +08:00
2023-07-13 10:11:58 +08:00
2023-07-13 10:11:58 +08:00
2023-07-13 10:11:58 +08:00
2023-07-11 23:32:17 +08:00
2023-07-28 20:56:22 -07:00
2021-09-25 07:54:39 -03:00
2022-12-10 02:36:24 +08:00
2023-05-19 02:40:38 +08:00
2022-03-17 09:37:15 +02:00
2023-07-11 23:32:17 +08:00
2023-07-29 07:28:23 -07:00
2023-05-05 18:36:36 +08:00