mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] ipc/sem.c: cleanup
@ 2008-05-24 11:20 Manfred Spraul
  0 siblings, 0 replies; only message in thread
From: Manfred Spraul @ 2008-05-24 11:20 UTC (permalink / raw)
  To: linux-kernel

I did some cleanup in ipc/sem:
- ipc/sem contained hand-written linked lists, they can be replaced with
  standard list_head lists.
- the locking was written before CLONE_SYSVSEM was introduced, with
  ulp->lock, it's now possible to free undo structures during IPC_RMID
  immediately.
- There is a (extremely unlikely) race in semtimedop(), it can access
  kfree'd memory.

The patches pass my own simple test cases, what do you think?

--
	Manfred

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-24 17:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-24 11:20 [PATCH 0/4] ipc/sem.c: cleanup 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®