Project

General

Profile

Actions

Bug #5258

closed

Incorrect range specified in mq_send(3c) manual

Added by Ryan Zezeski almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2014-10-23
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

The mq_send(3c) page specifies that the msg_prio must range from 1 to MQ_PRIO_MAX. This is incorrect, both according to POSIX and the mqueue code. The correct range is 0 to MQ_PRIO_MAX - 1.

http://pubs.opengroup.org/onlinepubs/9699919799/functions/mq_send.html

https://github.com/illumos/illumos-gate/blob/master/usr/src/lib/libc/port/rt/mqueue.c#L684

I have a patch ready and will send to the mailing list today.

Actions

Also available in: Atom PDF