Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Quentin Garnier <cube@netbsd.org>
List: source-changes
Date: 03/05/2006 00:49:19
Module Name:	src
Committed By:	cube
Date:		Sun Mar  5 00:49:19 UTC 2006

Modified Files:
	src/sys/kern: uipc_sem.c
	src/sys/sys: ksem.h

Log Message:
Change the way semid_t values are chosen.  Instead of using kernel
addresses, use a uint32_t counter and the machinery to properly use it.
That makes the ksem_* system calls friendly for COMPAT_NETBSD32.

OK'd by thorpej@.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/kern/uipc_sem.c
cvs rdiff -r1.5 -r1.6 src/sys/sys/ksem.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.