mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux-next 20170519 - semaphores broken
@ 2017-05-20 20:18 valdis.kletnieks
  2017-05-21  5:20 ` Kees Cook
  2017-05-21 14:09 ` Manfred Spraul
  0 siblings, 2 replies; 5+ messages in thread
From: valdis.kletnieks @ 2017-05-20 20:18 UTC (permalink / raw)
  To: Manfred Spraul, Kees Cook; +Cc: linux-kernel, Andrew Morton

[-- Attachment #1: Type: text/plain, Size: 954 bytes --]

Seeing problems with programs that use semaphores.  The one
that I'm getting bit by is jackd.  strace says:

getuid()                                = 967
semget(0x282929, 0, 000)                = 229376
semop(229376, [{0, -1, SEM_UNDO}], 1)   = -1 EIDRM (Identifier removed)
write(2, "JACK semaphore error: semop (Ide"..., 49JACK semaphore error: semop (Identifier removed)
) = 49

Bisects down to this commit, and reverting it from 20170519 makes things work
again.  No idea why this causes indigestion, there's probably something subtly
wrong here....

commit 337f43326737b5eb28eb13f43c27a5788da0f913
Author: Manfred Spraul <manfred@colorfullife.com>
Date:   Fri May 19 07:39:23 2017 +1000

    ipc: merge ipc_rcu and kern_ipc_perm

    ipc has two management structures that exist for every id:
    - struct kern_ipc_perm, it contains e.g. the permissions.
    - struct ipc_rcu, it contains the rcu head for rcu handling and
      the refcount.






[-- Attachment #2: Type: application/pgp-signature, Size: 486 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-23 20:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-20 20:18 linux-next 20170519 - semaphores broken valdis.kletnieks
2017-05-21  5:20 ` Kees Cook
2017-05-21 18:12   ` Manfred Spraul
2017-05-23 20:27     ` Kees Cook
2017-05-21 14:09 ` Manfred Spraul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®