Re: [PATCH v3] ipc: introduce ipc_valid_object() helper to sort out IPC_RMID races

2013-12-18 Thread Rafael Aquini
On Wed, Dec 18, 2013 at 04:38:24PM -0800, Davidlohr Bueso wrote: > On Wed, 2013-12-18 at 18:33 -0200, Rafael Aquini wrote: > > After the locking semantics for the SysV IPC API got improved, a couple of > > IPC_RMID race windows were opened because we ended up dropping the > > 'kern_ipc_perm.deleted

Re: [PATCH v3] ipc: introduce ipc_valid_object() helper to sort out IPC_RMID races

2013-12-18 Thread Davidlohr Bueso
On Wed, 2013-12-18 at 18:33 -0200, Rafael Aquini wrote: > After the locking semantics for the SysV IPC API got improved, a couple of > IPC_RMID race windows were opened because we ended up dropping the > 'kern_ipc_perm.deleted' check performed way down in ipc_lock(). > The spotted races got sorted