Issue created by Sebastian Huber: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5836



`mq_send()` and `mq_timedsend()` reject a `msg_prio` value greater than
`MQ_PRIO_MAX` and accept `MQ_PRIO_MAX` itself. POSIX.1-2024 states that
the value of `msg_prio` shall be less than `MQ_PRIO_MAX`, and it
reports a value outside of the valid range with `EINVAL`. With
`MQ_PRIO_MAX` of 32, RTEMS accepts 33 priorities.

The test `psxmsgq01` uses `MQ_PRIO_MAX` as a valid priority.

This description was created with Claude Code assistance.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5836
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-ejo9edej75yfjblpcz4ia9vk0-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to