From owner-freebsd-stable Mon Jan 3 14:30:49 2000 Delivered-To: freebsd-stable@freebsd.org Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 2410714FA5 for ; Mon, 3 Jan 2000 14:30:41 -0800 (PST) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <40327>; Tue, 4 Jan 2000 09:23:12 +1100 Content-return: prohibited From: Peter Jeremy Subject: Re: sem_otime not updated? In-reply-to: <386E0EB2.C4C45660@bellatlantic.net>; from walterr@bellatlantic.net on Sun, Jan 02, 2000 at 01:20:17AM +1100 To: Tony Rentschler Cc: freebsd-stable@FreeBSD.ORG Message-Id: <00Jan4.092312est.40327@border.alcanet.com.au> MIME-version: 1.0 X-Mailer: Mutt 1.0i Content-type: text/plain; charset=us-ascii References: <386E0EB2.C4C45660@bellatlantic.net> Date: Tue, 4 Jan 2000 09:23:12 +1100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 2000-Jan-02 01:20:17 +1100, Tony Rentschler wrote: >I'm writing a program that uses a SysV semaphore, and it seems that the >sem_otime field of the semid_ds struct is not updated after a call to >semop. Amongst lots of other buglets :-(. >In a search of deja.com for sem_otime, I found a patch posted by Peter >Jeremy on 6/4/99, but, as far as I can tell, that's for CURRENT. This was submitted as PR kern/12014, but nothing further has been done with it. One problem with the PR is that I don't have a test suite that clearly demonstrates that my patches fix the problems. (I did start working on suitable tests, but ran out of enthusiasm :-(. The patched code _is_ running on one of the machines here). The only difference between -stable and -current is the type of the first argument to ipcperm() - and my patches predate this change in -current. Whilst my patches don't cleanly apply to -stable, the changes should be minimal. If any committers have an interest in getting the semaphore handling to work correctly, I'd be happy to work with them. Peter -- Peter Jeremy (VK2PJ) peter.jeremy@alcatel.com.au Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA NSW 2015 Fax: +61 2 9690 5982 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message