[RTEMS Project] #1977: mq_open lacks support of "mode" argument

RTEMS trac trac at rtems.org
Fri Mar 22 19:21:02 UTC 2024


#1977: mq_open lacks support of "mode" argument
------------------------------+----------------------------
 Reporter:  Ralf Corsepius    |       Owner:  Joel Sherrill
     Type:  defect            |      Status:  new
 Priority:  low               |   Milestone:  Indefinite
Component:  score             |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  POSIX-Compliance  |  Blocked By:
 Blocking:                    |
------------------------------+----------------------------

Comment (by Joel Sherrill):

 The parameter should not be removed. It needs to be fetched into a
 variable like attr around line 186 of mqueueopen.c. Currently it is
 "skipped" in the variable argument and not saved into a variable. It needs
 to be fetched and honored somehow when oflag includes O_CREAT. See
 https://pubs.opengroup.org/onlinepubs/009696699/functions/mq_open.html

--
Ticket URL: <http://devel.rtems.org/ticket/1977#comment:8>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list