Convert SYSV IPC to new-style options. (I hope I got everything...)

The LKMs will need an extra file, to come later.
This commit is contained in:
Garrett Wollman 1996-01-04 20:29:06 +00:00
parent a73af3a214
commit 50c73f3620
21 changed files with 48 additions and 23 deletions

View File

@ -34,9 +34,11 @@
* SUCH DAMAGE.
*
* from: @(#)genassym.c 5.11 (Berkeley) 5/10/91
* $Id: genassym.c,v 1.29 1995/12/03 18:35:17 bde Exp $
* $Id: genassym.c,v 1.30 1995/12/07 12:45:30 davidg Exp $
*/
#include "opt_sysvipc.h"
#include <stdio.h>
#include <sys/param.h>
#include <sys/buf.h>

View File

@ -35,11 +35,12 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.165 1995/12/28 23:14:35 davidg Exp $
* $Id: machdep.c,v 1.166 1995/12/30 23:13:32 davidg Exp $
*/
#include "npx.h"
#include "isa.h"
#include "opt_sysvipc.h"
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -1,2 +1,5 @@
KTRACE
PROCFS
SYSVSHM opt_sysvipc.h
SYSVSEM opt_sysvipc.h
SYSVMSG opt_sysvipc.h

View File

@ -36,9 +36,11 @@
* SUCH DAMAGE.
*
* @(#)param.c 8.2 (Berkeley) 1/21/94
* $Id: param.c,v 1.12 1995/07/29 11:38:39 bde Exp $
* $Id: param.c,v 1.13 1995/12/10 13:44:55 phk Exp $
*/
#include "opt_sysvipc.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/socket.h>
@ -57,10 +59,10 @@
#include <sys/shm.h>
#endif
#ifdef SYSVSEM
#include "sys/sem.h"
#include <sys/sem.h>
#endif
#ifdef SYSVMSG
#include "sys/msg.h"
#include <sys/msg.h>
#endif
/*

View File

@ -34,9 +34,11 @@
* SUCH DAMAGE.
*
* from: @(#)genassym.c 5.11 (Berkeley) 5/10/91
* $Id: genassym.c,v 1.29 1995/12/03 18:35:17 bde Exp $
* $Id: genassym.c,v 1.30 1995/12/07 12:45:30 davidg Exp $
*/
#include "opt_sysvipc.h"
#include <stdio.h>
#include <sys/param.h>
#include <sys/buf.h>

View File

@ -35,11 +35,12 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.165 1995/12/28 23:14:35 davidg Exp $
* $Id: machdep.c,v 1.166 1995/12/30 23:13:32 davidg Exp $
*/
#include "npx.h"
#include "isa.h"
#include "opt_sysvipc.h"
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -22,6 +22,9 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "opt_sysvipc.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/namei.h>

View File

@ -2,7 +2,7 @@
* System call prototypes.
*
* DO NOT EDIT-- this file is automatically generated.
* created from Id: syscalls.master,v 1.1 1995/10/06 15:12:52 swallace Exp
* created from Id: syscalls.master,v 1.2 1995/10/10 07:59:28 swallace Exp
*/
#ifndef _IBCS2_SYSPROTO_H_

View File

@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from Id: syscalls.master,v 1.1 1995/10/06 15:12:52 swallace Exp
* created from Id: syscalls.master,v 1.2 1995/10/10 07:59:28 swallace Exp
*/
#define IBCS2_SYS_syscall 0

View File

@ -2,9 +2,10 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from Id: syscalls.master,v 1.1 1995/10/06 15:12:52 swallace Exp
* created from Id: syscalls.master,v 1.2 1995/10/10 07:59:28 swallace Exp
*/
#include "opt_sysvipc.h"
#include <sys/types.h>
#include <sys/param.h>
#include <sys/sysent.h>

View File

@ -1,4 +1,4 @@
$Id: syscalls.master,v 1.1 1995/10/06 15:12:52 swallace Exp $
$Id: syscalls.master,v 1.2 1995/10/10 07:59:28 swallace Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
; System call name/number master file (or rather, slave, from IBCS2).
@ -22,6 +22,7 @@
; OBSOL obsolete, not included in system, only specifies name
; UNIMPL not implemented, placeholder only
#include "opt_sysvipc.h"
#include <sys/types.h>
#include <sys/param.h>
#include <sys/sysent.h>

View File

@ -2,9 +2,10 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from Id: syscalls.master,v 1.20 1995/12/15 04:36:01 peter Exp
* created from Id: syscalls.master,v 1.21 1996/01/03 21:42:20 wollman Exp
*/
#include "opt_sysvipc.h"
#include <sys/types.h>
#include <sys/param.h>
#include <sys/mount.h>

View File

@ -28,9 +28,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: kern_exec.c,v 1.29 1995/12/09 04:29:11 peter Exp $
* $Id: kern_exec.c,v 1.30 1995/12/14 08:31:20 phk Exp $
*/
#include "opt_sysvipc.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sysproto.h>

View File

@ -36,10 +36,11 @@
* SUCH DAMAGE.
*
* @(#)kern_exit.c 8.7 (Berkeley) 2/12/94
* $Id: kern_exit.c,v 1.23 1996/01/01 12:23:39 peter Exp $
* $Id: kern_exit.c,v 1.24 1996/01/03 21:42:00 wollman Exp $
*/
#include "opt_ktrace.h"
#include "opt_sysvipc.h"
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -36,9 +36,11 @@
* SUCH DAMAGE.
*
* @(#)param.c 8.2 (Berkeley) 1/21/94
* $Id: param.c,v 1.12 1995/07/29 11:38:39 bde Exp $
* $Id: param.c,v 1.13 1995/12/10 13:44:55 phk Exp $
*/
#include "opt_sysvipc.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/socket.h>
@ -57,10 +59,10 @@
#include <sys/shm.h>
#endif
#ifdef SYSVSEM
#include "sys/sem.h"
#include <sys/sem.h>
#endif
#ifdef SYSVMSG
#include "sys/msg.h"
#include <sys/msg.h>
#endif
/*

View File

@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from Id: syscalls.master,v 1.20 1995/12/15 04:36:01 peter Exp
* created from Id: syscalls.master,v 1.21 1996/01/03 21:42:20 wollman Exp
*/
char *syscallnames[] = {

View File

@ -1,4 +1,4 @@
$Id: syscalls.master,v 1.20 1995/12/15 04:36:01 peter Exp $
$Id: syscalls.master,v 1.21 1996/01/03 21:42:20 wollman Exp $
; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94
;
; System call name/number master file.
@ -24,6 +24,7 @@
; #ifdef's, etc. may be included, and are copied to the output files.
#include "opt_sysvipc.h"
#include <sys/types.h>
#include <sys/param.h>
#include <sys/mount.h>

View File

@ -2,7 +2,7 @@
* System call hiders.
*
* DO NOT EDIT-- this file is automatically generated.
* created from Id: syscalls.master,v 1.20 1995/12/15 04:36:01 peter Exp
* created from Id: syscalls.master,v 1.21 1996/01/03 21:42:20 wollman Exp
*/
HIDE_POSIX(fork)

View File

@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from Id: syscalls.master,v 1.20 1995/12/15 04:36:01 peter Exp
* created from Id: syscalls.master,v 1.21 1996/01/03 21:42:20 wollman Exp
*/
#define SYS_syscall 0

View File

@ -2,7 +2,7 @@
* System call prototypes.
*
* DO NOT EDIT-- this file is automatically generated.
* created from Id: syscalls.master,v 1.20 1995/12/15 04:36:01 peter Exp
* created from Id: syscalls.master,v 1.21 1996/01/03 21:42:20 wollman Exp
*/
#ifndef _SYS_SYSPROTO_H_

View File

@ -59,9 +59,11 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: vm_glue.c,v 1.32 1995/12/07 12:48:11 davidg Exp $
* $Id: vm_glue.c,v 1.33 1995/12/14 09:54:57 phk Exp $
*/
#include "opt_sysvipc.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>