Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 06/02/2000 08:53:06
Module Name:	syssrc
Committed By:	simonb
Date:		Fri Jun  2 15:53:06 UTC 2000

Modified Files:
	syssrc/sys/compat/common: sysv_msg_14.c sysv_sem_14.c sysv_shm_14.c
	syssrc/sys/kern: kern_clock.c kern_ntptime.c kern_sysctl.c sysv_msg.c
	    sysv_sem.c sysv_shm.c
	syssrc/sys/sys: ipc.h msg.h sem.h shm.h sysctl.h

Log Message:
Add new sysctl node "KERN_SYSVIPC_INFO" with "KERN_SYSVIPC_MSG_INFO",
"KERN_SYSVIPC_SEM_INFO" and "KERN_SYSVIPC_SHM_INFO" to return the
info and data structures for the relevent SysV IPC types.  The return
structures use fixed-size types and should be compat32 safe.  All
user-visible changes are protected with
	#if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)

Make all variable declarations extern in msg.h, sem.h and shm.h and
add relevent variable declarations to sysv_*.c and remove unneeded
header files from those .c files.

Make compat14 SysV IPC conversion functions and sysctl_file() static.

Change the data pointer to "void *" in sysctl_clockrate(),
sysctl_ntptime(), sysctl_file() and sysctl_doeproc().


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 syssrc/sys/compat/common/sysv_msg_14.c \
    syssrc/sys/compat/common/sysv_sem_14.c \
    syssrc/sys/compat/common/sysv_shm_14.c
cvs rdiff -r1.58 -r1.59 syssrc/sys/kern/kern_clock.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/kern/kern_ntptime.c
cvs rdiff -r1.68 -r1.69 syssrc/sys/kern/kern_sysctl.c
cvs rdiff -r1.28 -r1.29 syssrc/sys/kern/sysv_msg.c
cvs rdiff -r1.37 -r1.38 syssrc/sys/kern/sysv_sem.c
cvs rdiff -r1.55 -r1.56 syssrc/sys/kern/sysv_shm.c
cvs rdiff -r1.22 -r1.23 syssrc/sys/sys/ipc.h
cvs rdiff -r1.12 -r1.13 syssrc/sys/sys/msg.h
cvs rdiff -r1.11 -r1.12 syssrc/sys/sys/sem.h
cvs rdiff -r1.25 -r1.26 syssrc/sys/sys/shm.h
cvs rdiff -r1.47 -r1.48 syssrc/sys/sys/sysctl.h

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