semop()/semtimedop() does not update sem_otime on RHEL 6.6 GA kernel

Solution Unverified - Updated -

Issue

We have problem with some semaphore functions under latest RHEL6.6 with kernel-2.6.32-504.el6.x86_64.

System function semop() or semtimedop() does not update time of semaphore update (structure sem_otime) which is inconsistent with function description:

# man semop
(...)
       On successful completion, the sempid value for each semaphore specified
       in the array pointed to by sops is set to the process ID of the calling
       process.  In addition, the sem_otime is set to the current time.
(...)

Environment

  • Red Hat Enterprise Linux 6.6
  • kernel-2.6.32-504.el6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content