#2720 closed defect (fixed)

sem_post() with overflow returns an unusual error status

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 4.11
Component: unspecified Version: 4.10
Severity: normal Keywords:
Cc: Blocked By:


FreeBSD and glibc 2.18 set errno to EOVERFLOW in case of a sem_post() overflow. RTEMS sets errno to ENOSYS instead.

This case is not documented and not covered by the testsuite.

See also:


Change History (1)

comment:1 Changed on May 27, 2016 at 6:14:21 AM by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: newclosed

In 39bcf7417ea39806e4817a9ce72cfc20c060c4bf/rtems:

Fix semaphore post overflow status

Close #2720.

Note: See TracTickets for help on using tickets.