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-08-01 23:15:37 +02:00
2023-07-31 21:41:30 -07:00
2023-07-11 23:32:17 +08:00
2023-07-29 20:27:10 -07:00
2023-08-01 23:15:37 +02:00
2023-08-01 23:15:37 +02:00
2023-07-11 23:32:17 +08:00
2023-08-02 22:57:28 -07:00
2023-08-02 22:57:28 -07:00
2023-01-28 19:53:20 +02:00