[PATCH 0/4] ipc/sem.c: cleanup

From: Manfred Spraul
Date: Sat May 24 2008 - 13:06:12 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/