#1415 closed defect (fixed)

Semaphore obtain with invalid priority ceiling

Reported by: Manuel Coutinho Owned by: Joel Sherrill
Priority: normal Milestone: 4.10
Component: score Version: 4.8
Severity: normal Keywords:
Cc: chrisj@… Blocked By:
Blocking:

Description

When a thread obtains a semaphore with a priority ceiling lower than the threads priority, RTEMS does not return a error.

Suggestion:

  1. Change the RTEMS code to verify (inside the rtems_semaphore_obtain directive) if the semaphore priority ceiling and threads priority are coherent.

Attachments (3)

pr1415-try1-head.diff (4.7 KB) - added by Joel Sherrill on 05/22/09 at 17:13:12.
First attempt patch against head
pr1415.diff (5.9 KB) - added by Joel Sherrill on 05/28/09 at 19:48:05.
patch for 4.9 and head
pr1415-48.diff (6.2 KB) - added by Joel Sherrill on 05/28/09 at 19:48:28.
patch for 4.8

Download all attachments as: .zip

Change History (6)

comment:1 Changed on 05/21/09 at 18:37:26 by Joel Sherrill

Cc: Chris Johns added

Changed on 05/22/09 at 17:13:12 by Joel Sherrill

Attachment: pr1415-try1-head.diff added

First attempt patch against head

Changed on 05/28/09 at 19:48:05 by Joel Sherrill

Attachment: pr1415.diff added

patch for 4.9 and head

comment:2 Changed on 05/28/09 at 19:48:05 by Joel Sherrill

attachments.isobsolete: 01

Changed on 05/28/09 at 19:48:28 by Joel Sherrill

Attachment: pr1415-48.diff added

patch for 4.8

comment:3 Changed on 05/28/09 at 19:56:37 by Joel Sherrill

Resolution: fixed
Status: newclosed

Patches committed

Note: See TracTickets for help on using tickets.