Re: PATCH: SysV semaphore race vs SIGSTOP

2005-02-05 Thread Ove Kaaven
lør, 05,.02.2005 kl. 09.37 +0100, skrev Manfred Spraul: > Hi Ove, > > >As I mentioned in an earlier mail, there is a race when SIGSTOP-ing a > >process waiting for a SysV semaphore, where if a process holding a > >semaphore suspends another process waiting on the semaphore and then > >releases

Re: PATCH: SysV semaphore race vs SIGSTOP

2005-02-05 Thread Manfred Spraul
Hi Ove, As I mentioned in an earlier mail, there is a race when SIGSTOP-ing a process waiting for a SysV semaphore, where if a process holding a semaphore suspends another process waiting on the semaphore and then releases the semaphore, Your patch looks correct (for 2.4 - 2.6 uses a different

Re: PATCH: SysV semaphore race vs SIGSTOP

2005-02-05 Thread Manfred Spraul
Hi Ove, As I mentioned in an earlier mail, there is a race when SIGSTOP-ing a process waiting for a SysV semaphore, where if a process holding a semaphore suspends another process waiting on the semaphore and then releases the semaphore, Your patch looks correct (for 2.4 - 2.6 uses a different

Re: PATCH: SysV semaphore race vs SIGSTOP

2005-02-05 Thread Ove Kaaven
lør, 05,.02.2005 kl. 09.37 +0100, skrev Manfred Spraul: Hi Ove, As I mentioned in an earlier mail, there is a race when SIGSTOP-ing a process waiting for a SysV semaphore, where if a process holding a semaphore suspends another process waiting on the semaphore and then releases the

PATCH: SysV semaphore race vs SIGSTOP

2005-01-31 Thread Ove Kaaven
As I mentioned in an earlier mail, there is a race when SIGSTOP-ing a process waiting for a SysV semaphore, where if a process holding a semaphore suspends another process waiting on the semaphore and then releases the semaphore, the suspended process might still get the semaphore, resulting in a

PATCH: SysV semaphore race vs SIGSTOP

2005-01-31 Thread Ove Kaaven
As I mentioned in an earlier mail, there is a race when SIGSTOP-ing a process waiting for a SysV semaphore, where if a process holding a semaphore suspends another process waiting on the semaphore and then releases the semaphore, the suspended process might still get the semaphore, resulting in a