Subject: kern/24814: sysv_sem waiter counting problem
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <cperciva@freebsd.org>
List: netbsd-bugs
Date: 03/17/2004 09:46:40
>Number: 24814
>Category: kern
>Synopsis: sysv_sem waiter counting problem
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 17 09:47:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Colin Percival
>Release: FreeBSD 5.2.1
>Organization:
FreeBSD Project
>Environment:
n/a
>Description:
If semop() returns EINTR, semptr->sem[nz]cnt is not properly decremented. The FreeBSD patch which fixes this should apply to NetBSD:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/sysv_sem.c.diff?r1=1.68&r2=1.69
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: