[Bug 1978] New: sem_open lacks support of "mode" argument

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Dec 1 03:33:34 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1978

           Summary: sem_open lacks support of "mode" argument
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: ralf.corsepius at rtems.org


sem_open in cpukit/posix/src/semopen.c lacks support of sem_opens's "mode"
argument:

       sem_t *sem_open(const char *name, int oflag);
       sem_t *sem_open(const char *name, int oflag,
                       mode_t mode, unsigned int value);

The RTEMS implementation only pretends to be supporting it, 
which also reflects in a GCC warning:
cpukit/posix/src/semopen.c:51:30: warning: variable 'mode' set but not used

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list