lkml.org 
[lkml]   [2008]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subject[PATCH 0/4] ipc/sem.c: cleanup
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


\
 
 \ /
  Last update: 2008-05-24 19:09    [W:0.165 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site