diff options
Diffstat (limited to 'sys/compat')
150 files changed, 223 insertions, 50 deletions
diff --git a/sys/compat/common/compat_exec.c b/sys/compat/common/compat_exec.c index f745710a92f..7e87f833a17 100644 --- a/sys/compat/common/compat_exec.c +++ b/sys/compat/common/compat_exec.c @@ -1,3 +1,4 @@ +/* $OpenBSD: compat_exec.c,v 1.2 1996/08/02 20:34:40 niklas Exp $ */ /* $NetBSD: compat_exec.c,v 1.1 1996/05/18 15:52:21 christos Exp $ */ /* diff --git a/sys/compat/common/compat_util.h b/sys/compat/common/compat_util.h index b1d1e96515c..f0fbf4cd51e 100644 --- a/sys/compat/common/compat_util.h +++ b/sys/compat/common/compat_util.h @@ -1,3 +1,4 @@ +/* $OpenBSD: compat_util.h,v 1.2 1996/08/02 20:34:41 niklas Exp $ */ /* $NetBSD: compat_util.h,v 1.1 1995/06/24 20:16:05 christos Exp $ */ /* diff --git a/sys/compat/common/kern_exit_43.c b/sys/compat/common/kern_exit_43.c index cbfd9a84141..ae1fa5c2578 100644 --- a/sys/compat/common/kern_exit_43.c +++ b/sys/compat/common/kern_exit_43.c @@ -1,3 +1,4 @@ +/* $OpenBSD: kern_exit_43.c,v 1.2 1996/08/02 20:34:42 niklas Exp $ */ /* $NetBSD: kern_exit_43.c,v 1.3 1995/10/07 06:26:20 mycroft Exp $ */ /* diff --git a/sys/compat/common/kern_ipc_10.c b/sys/compat/common/kern_ipc_10.c index f0ad88f2c3c..4c4cae06128 100644 --- a/sys/compat/common/kern_ipc_10.c +++ b/sys/compat/common/kern_ipc_10.c @@ -1,3 +1,4 @@ +/* $OpenBSD: kern_ipc_10.c,v 1.2 1996/08/02 20:34:42 niklas Exp $ */ /* $NetBSD: kern_ipc_10.c,v 1.4 1995/10/07 06:26:25 mycroft Exp $ */ /* diff --git a/sys/compat/common/kern_prot_43.c b/sys/compat/common/kern_prot_43.c index 2bb328b9d7f..7e2259e63db 100644 --- a/sys/compat/common/kern_prot_43.c +++ b/sys/compat/common/kern_prot_43.c @@ -1,3 +1,4 @@ +/* $OpenBSD: kern_prot_43.c,v 1.2 1996/08/02 20:34:42 niklas Exp $ */ /* $NetBSD: kern_prot_43.c,v 1.3 1995/10/07 06:26:27 mycroft Exp $ */ /* diff --git a/sys/compat/freebsd/Makefile b/sys/compat/freebsd/Makefile index 961d1becd44..635e03b8302 100644 --- a/sys/compat/freebsd/Makefile +++ b/sys/compat/freebsd/Makefile @@ -1,3 +1,4 @@ +# $OpenBSD: Makefile,v 1.2 1996/08/02 20:34:43 niklas Exp $ # $NetBSD: Makefile,v 1.1 1995/10/10 01:19:24 mycroft Exp $ SYS= ../.. diff --git a/sys/compat/freebsd/files.freebsd b/sys/compat/freebsd/files.freebsd index 0de0af26033..b66d725ffff 100644 --- a/sys/compat/freebsd/files.freebsd +++ b/sys/compat/freebsd/files.freebsd @@ -1,3 +1,4 @@ +# $OpenBSD: files.freebsd,v 1.2 1996/08/02 20:34:44 niklas Exp $ # $NetBSD: files.freebsd,v 1.1 1995/10/10 01:19:26 mycroft Exp $ # # Config.new file description for machine-independent FreeBSD compat code. diff --git a/sys/compat/freebsd/freebsd_exec.c b/sys/compat/freebsd/freebsd_exec.c index a960efe614a..3f62598ca59 100644 --- a/sys/compat/freebsd/freebsd_exec.c +++ b/sys/compat/freebsd/freebsd_exec.c @@ -1,3 +1,4 @@ +/* $OpenBSD: freebsd_exec.c,v 1.3 1996/08/02 20:34:44 niklas Exp $ */ /* $NetBSD: freebsd_exec.c,v 1.2 1996/05/18 16:02:08 christos Exp $ */ /* diff --git a/sys/compat/freebsd/freebsd_exec.h b/sys/compat/freebsd/freebsd_exec.h index f5501626f8a..6930a10f110 100644 --- a/sys/compat/freebsd/freebsd_exec.h +++ b/sys/compat/freebsd/freebsd_exec.h @@ -1,3 +1,5 @@ +/* $OpenBSD: freebsd_exec.h,v 1.2 1996/08/02 20:34:45 niklas Exp $ */ + /*- * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. diff --git a/sys/compat/freebsd/freebsd_file.c b/sys/compat/freebsd/freebsd_file.c index 44c9cbca3a0..35ceab5ce3a 100644 --- a/sys/compat/freebsd/freebsd_file.c +++ b/sys/compat/freebsd/freebsd_file.c @@ -1,3 +1,4 @@ +/* $OpenBSD: freebsd_file.c,v 1.5 1996/08/02 20:34:45 niklas Exp $ */ /* $NetBSD: freebsd_file.c,v 1.3 1996/05/03 17:03:09 christos Exp $ */ /* diff --git a/sys/compat/freebsd/freebsd_ioctl.c b/sys/compat/freebsd/freebsd_ioctl.c index b20ab8e0e7c..dc110965ae4 100644 --- a/sys/compat/freebsd/freebsd_ioctl.c +++ b/sys/compat/freebsd/freebsd_ioctl.c @@ -1,3 +1,4 @@ +/* $OpenBSD: freebsd_ioctl.c,v 1.2 1996/08/02 20:34:46 niklas Exp $ */ /* $NetBSD: freebsd_ioctl.c,v 1.1 1995/10/10 01:19:31 mycroft Exp $ */ /* diff --git a/sys/compat/freebsd/freebsd_ioctl.h b/sys/compat/freebsd/freebsd_ioctl.h index 106dd33603a..721e66af625 100644 --- a/sys/compat/freebsd/freebsd_ioctl.h +++ b/sys/compat/freebsd/freebsd_ioctl.h @@ -1,3 +1,4 @@ +/* $OpenBSD: freebsd_ioctl.h,v 1.2 1996/08/02 20:34:46 niklas Exp $ */ /* $NetBSD: freebsd_ioctl.h,v 1.1 1995/10/10 01:19:32 mycroft Exp $ */ /* diff --git a/sys/compat/freebsd/freebsd_misc.c b/sys/compat/freebsd/freebsd_misc.c index ed8d0f6123f..aaec53238ac 100644 --- a/sys/compat/freebsd/freebsd_misc.c +++ b/sys/compat/freebsd/freebsd_misc.c @@ -1,3 +1,4 @@ +/* $OpenBSD: freebsd_misc.c,v 1.3 1996/08/02 20:34:46 niklas Exp $ */ /* $NetBSD: freebsd_misc.c,v 1.2 1996/05/03 17:03:10 christos Exp $ */ /* diff --git a/sys/compat/freebsd/freebsd_ptrace.c b/sys/compat/freebsd/freebsd_ptrace.c index da83623e768..d61b7c050ef 100644 --- a/sys/compat/freebsd/freebsd_ptrace.c +++ b/sys/compat/freebsd/freebsd_ptrace.c @@ -1,3 +1,4 @@ +/* $OpenBSD: freebsd_ptrace.c,v 1.3 1996/08/02 20:34:47 niklas Exp $ */ /* $NetBSD: freebsd_ptrace.c,v 1.2 1996/05/03 17:03:12 christos Exp $ */ /*- diff --git a/sys/compat/freebsd/freebsd_ptrace.h b/sys/compat/freebsd/freebsd_ptrace.h index 6c3f3bc29e2..9b35897150d 100644 --- a/sys/compat/freebsd/freebsd_ptrace.h +++ b/sys/compat/freebsd/freebsd_ptrace.h @@ -1,3 +1,4 @@ +/* * $OpenBSD: freebsd_ptrace.h,v 1.2 1996/08/02 20:34:47 niklas Exp $*/ /*- * Copyright (c) 1984, 1993 * The Regents of the University of California. All rights reserved. @@ -31,7 +32,6 @@ * SUCH DAMAGE. * * @(#)ptrace.h 8.2 (Berkeley) 1/4/94 - * $Id: freebsd_ptrace.h,v 1.1 1995/10/18 08:52:13 deraadt Exp $ */ #ifndef _FREEBSD_PTRACE_H_ diff --git a/sys/compat/freebsd/freebsd_rtprio.h b/sys/compat/freebsd/freebsd_rtprio.h index f5d85ee0359..aebfccd9637 100644 --- a/sys/compat/freebsd/freebsd_rtprio.h +++ b/sys/compat/freebsd/freebsd_rtprio.h @@ -1,3 +1,5 @@ +/* $OpenBSD: freebsd_rtprio.h,v 1.3 1996/08/02 20:34:47 niklas Exp $ */ + /* * Copyright (c) 1994, Henrik Vestergaard Draboel * All rights reserved. diff --git a/sys/compat/freebsd/freebsd_syscall.h b/sys/compat/freebsd/freebsd_syscall.h index 154a6749ae9..7f6b9927990 100644 --- a/sys/compat/freebsd/freebsd_syscall.h +++ b/sys/compat/freebsd/freebsd_syscall.h @@ -2,7 +2,7 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.3 1995/10/10 18:28:40 mycroft Exp + * created from OpenBSD: syscalls.master,v 1.4 1996/08/02 20:29:12 niklas Exp */ #define FREEBSD_SYS_syscall 0 diff --git a/sys/compat/freebsd/freebsd_syscallargs.h b/sys/compat/freebsd/freebsd_syscallargs.h index 54fa7e0ab88..c939b63e44b 100644 --- a/sys/compat/freebsd/freebsd_syscallargs.h +++ b/sys/compat/freebsd/freebsd_syscallargs.h @@ -2,7 +2,7 @@ * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.3 1995/10/10 18:28:40 mycroft Exp + * created from OpenBSD: syscalls.master,v 1.4 1996/08/02 20:29:12 niklas Exp */ #define syscallarg(x) union { x datum; register_t pad; } diff --git a/sys/compat/freebsd/freebsd_syscalls.c b/sys/compat/freebsd/freebsd_syscalls.c index 12339cf2423..e3dcfe6c913 100644 --- a/sys/compat/freebsd/freebsd_syscalls.c +++ b/sys/compat/freebsd/freebsd_syscalls.c @@ -2,7 +2,7 @@ * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.3 1995/10/10 18:28:40 mycroft Exp + * created from OpenBSD: syscalls.master,v 1.4 1996/08/02 20:29:12 niklas Exp */ char *freebsd_syscallnames[] = { diff --git a/sys/compat/freebsd/freebsd_sysent.c b/sys/compat/freebsd/freebsd_sysent.c index 98f8dc1f960..506da5f0804 100644 --- a/sys/compat/freebsd/freebsd_sysent.c +++ b/sys/compat/freebsd/freebsd_sysent.c @@ -2,7 +2,7 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.3 1995/10/10 18:28:40 mycroft Exp + * created from OpenBSD: syscalls.master,v 1.4 1996/08/02 20:29:12 niklas Exp */ #include <sys/param.h> diff --git a/sys/compat/freebsd/freebsd_timex.h b/sys/compat/freebsd/freebsd_timex.h index 90174f4ec56..4fbb7b64d24 100644 --- a/sys/compat/freebsd/freebsd_timex.h +++ b/sys/compat/freebsd/freebsd_timex.h @@ -1,3 +1,5 @@ +/* $OpenBSD: freebsd_timex.h,v 1.2 1996/08/02 20:34:50 niklas Exp $ */ + /****************************************************************************** * * * Copyright (c) David L. Mills 1993, 1994 * diff --git a/sys/compat/freebsd/freebsd_util.h b/sys/compat/freebsd/freebsd_util.h index 612e5e35fb8..25cc767595a 100644 --- a/sys/compat/freebsd/freebsd_util.h +++ b/sys/compat/freebsd/freebsd_util.h @@ -1,3 +1,4 @@ +/* $OpenBSD: freebsd_util.h,v 1.2 1996/08/02 20:34:50 niklas Exp $ */ /* $NetBSD: freebsd_util.h,v 1.1 1995/10/10 01:19:38 mycroft Exp $ */ /* diff --git a/sys/compat/freebsd/syscalls.conf b/sys/compat/freebsd/syscalls.conf index 12354c09868..db6c44cda96 100644 --- a/sys/compat/freebsd/syscalls.conf +++ b/sys/compat/freebsd/syscalls.conf @@ -1,3 +1,4 @@ +# $OpenBSD: syscalls.conf,v 1.2 1996/08/02 20:34:51 niklas Exp $ # $NetBSD: syscalls.conf,v 1.2 1995/10/10 01:20:55 mycroft Exp $ sysnames="freebsd_syscalls.c" diff --git a/sys/compat/hpux/Makefile b/sys/compat/hpux/Makefile new file mode 100644 index 00000000000..1a11ee9cc77 --- /dev/null +++ b/sys/compat/hpux/Makefile @@ -0,0 +1,11 @@ +# $OpenBSD: Makefile,v 1.1 1996/08/02 20:34:52 niklas Exp $ + +DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh +OBJS= hpux_sysent.c hpux_syscalls.c hpux_syscall.h hpux_syscallargs.h + +${OBJS}: ${DEP} + -mv -f hpux_sysent.c hpux_sysent.c.bak + -mv -f hpux_syscalls.c hpux_syscalls.c.bak + -mv -f hpux_syscall.h hpux_syscall.h.bak + -mv -f hpux_syscallargs.h hpux_syscallargs.h.bak + sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master diff --git a/sys/compat/hpux/files.hpux b/sys/compat/hpux/files.hpux index ef39e01b8a3..e9d746a16a0 100644 --- a/sys/compat/hpux/files.hpux +++ b/sys/compat/hpux/files.hpux @@ -1,3 +1,4 @@ +# $OpenBSD: files.hpux,v 1.3 1996/08/02 20:34:52 niklas Exp $ # $NetBSD: files.hpux,v 1.2 1995/11/28 08:39:52 thorpej Exp $ # # Config.new file description for machine-independent HPUX compat code. diff --git a/sys/compat/hpux/hpux.h b/sys/compat/hpux/hpux.h index f5d7a67f99c..92da34ae5da 100644 --- a/sys/compat/hpux/hpux.h +++ b/sys/compat/hpux/hpux.h @@ -1,3 +1,4 @@ +/* $OpenBSD: hpux.h,v 1.3 1996/08/02 20:34:53 niklas Exp $ */ /* $NetBSD: hpux.h,v 1.10 1995/12/08 07:54:43 thorpej Exp $ */ /* diff --git a/sys/compat/hpux/hpux_compat.c b/sys/compat/hpux/hpux_compat.c index 45c5b3105c7..9c91b48ebd1 100644 --- a/sys/compat/hpux/hpux_compat.c +++ b/sys/compat/hpux/hpux_compat.c @@ -1,3 +1,4 @@ +/* $OpenBSD: hpux_compat.c,v 1.5 1996/08/02 20:34:53 niklas Exp $ */ /* $NetBSD: hpux_compat.c,v 1.23 1996/01/06 12:44:11 thorpej Exp $ */ /* diff --git a/sys/compat/hpux/hpux_exec.c b/sys/compat/hpux/hpux_exec.c index 94ae7d5a02c..25e4346c01d 100644 --- a/sys/compat/hpux/hpux_exec.c +++ b/sys/compat/hpux/hpux_exec.c @@ -1,3 +1,4 @@ +/* $OpenBSD: hpux_exec.c,v 1.3 1996/08/02 20:34:54 niklas Exp $ */ /* $NetBSD: hpux_exec.c,v 1.3 1996/01/06 12:44:13 thorpej Exp $ */ /* diff --git a/sys/compat/hpux/hpux_exec.h b/sys/compat/hpux/hpux_exec.h index 6002d08a263..fb46131e916 100644 --- a/sys/compat/hpux/hpux_exec.h +++ b/sys/compat/hpux/hpux_exec.h @@ -1,3 +1,4 @@ +/* $OpenBSD: hpux_exec.h,v 1.3 1996/08/02 20:34:54 niklas Exp $ */ /* $NetBSD: hpux_exec.h,v 1.6 1995/11/28 08:39:45 thorpej Exp $ */ /* diff --git a/sys/compat/hpux/hpux_file.c b/sys/compat/hpux/hpux_file.c index 01d9b8b5c07..7fa18917454 100644 --- a/sys/compat/hpux/hpux_file.c +++ b/sys/compat/hpux/hpux_file.c @@ -1,3 +1,4 @@ +/* $OpenBSD: hpux_file.c,v 1.3 1996/08/02 20:34:55 niklas Exp $ */ /* $NetBSD: hpux_file.c,v 1.3 1996/01/06 12:44:14 thorpej Exp $ */ /* diff --git a/sys/compat/hpux/hpux_net.c b/sys/compat/hpux/hpux_net.c index e23a58a80fa..3896a05e04c 100644 --- a/sys/compat/hpux/hpux_net.c +++ b/sys/compat/hpux/hpux_net.c @@ -1,3 +1,4 @@ +/* $OpenBSD: hpux_net.c,v 1.2 1996/08/02 20:34:56 niklas Exp $ */ /* $NetBSD: hpux_net.c,v 1.12 1995/10/07 06:26:37 mycroft Exp $ */ /* diff --git a/sys/compat/hpux/hpux_sig.c b/sys/compat/hpux/hpux_sig.c index 07bd6633f7c..565bda747da 100644 --- a/sys/compat/hpux/hpux_sig.c +++ b/sys/compat/hpux/hpux_sig.c @@ -1,3 +1,4 @@ +/* $OpenBSD: hpux_sig.c,v 1.3 1996/08/02 20:34:56 niklas Exp $ */ /* $NetBSD: hpux_sig.c,v 1.15 1995/11/28 08:39:50 thorpej Exp $ */ /* diff --git a/sys/compat/hpux/hpux_syscall.h b/sys/compat/hpux/hpux_syscall.h index 02d1e7e2eb2..210c0bd3253 100644 --- a/sys/compat/hpux/hpux_syscall.h +++ b/sys/compat/hpux/hpux_syscall.h @@ -2,7 +2,7 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.9 1995/11/28 08:39:56 thorpej Exp + * created from OpenBSD: syscalls.master,v 1.3 1996/08/02 20:29:10 niklas Exp */ #define HPUX_SYS_syscall 0 diff --git a/sys/compat/hpux/hpux_syscallargs.h b/sys/compat/hpux/hpux_syscallargs.h index 045caa1396d..41d03a4556d 100644 --- a/sys/compat/hpux/hpux_syscallargs.h +++ b/sys/compat/hpux/hpux_syscallargs.h @@ -2,7 +2,7 @@ * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.9 1995/11/28 08:39:56 thorpej Exp + * created from OpenBSD: syscalls.master,v 1.3 1996/08/02 20:29:10 niklas Exp */ #define syscallarg(x) union { x datum; register_t pad; } diff --git a/sys/compat/hpux/hpux_syscalls.c b/sys/compat/hpux/hpux_syscalls.c index 2ee02aa86f3..6db313b6893 100644 --- a/sys/compat/hpux/hpux_syscalls.c +++ b/sys/compat/hpux/hpux_syscalls.c @@ -2,7 +2,7 @@ * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.9 1995/11/28 08:39:56 thorpej Exp + * created from OpenBSD: syscalls.master,v 1.3 1996/08/02 20:29:10 niklas Exp */ char *hpux_syscallnames[] = { diff --git a/sys/compat/hpux/hpux_sysent.c b/sys/compat/hpux/hpux_sysent.c index 22e9507d10d..3a03ac3da6f 100644 --- a/sys/compat/hpux/hpux_sysent.c +++ b/sys/compat/hpux/hpux_sysent.c @@ -2,7 +2,7 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.9 1995/11/28 08:39:56 thorpej Exp + * created from OpenBSD: syscalls.master,v 1.3 1996/08/02 20:29:10 niklas Exp */ #include <sys/param.h> diff --git a/sys/compat/hpux/hpux_termio.h b/sys/compat/hpux/hpux_termio.h index ec446acd16e..d659cd5c85f 100644 --- a/sys/compat/hpux/hpux_termio.h +++ b/sys/compat/hpux/hpux_termio.h @@ -1,3 +1,4 @@ +/* $OpenBSD: hpux_termio.h,v 1.2 1996/08/02 20:34:59 niklas Exp $ */ /* $NetBSD: hpux_termio.h,v 1.6 1994/10/26 02:45:20 cgd Exp $ */ /* diff --git a/sys/compat/hpux/hpux_tty.c b/sys/compat/hpux/hpux_tty.c index 505e00b2481..47f07bd68cf 100644 --- a/sys/compat/hpux/hpux_tty.c +++ b/sys/compat/hpux/hpux_tty.c @@ -1,3 +1,4 @@ +/* $OpenBSD: hpux_tty.c,v 1.3 1996/08/02 20:35:00 niklas Exp $ */ /* $NetBSD: hpux_tty.c,v 1.13 1995/12/11 16:32:46 thorpej Exp $ */ /* diff --git a/sys/compat/hpux/hpux_util.h b/sys/compat/hpux/hpux_util.h index 319a2e57923..4cc6e2d0da0 100644 --- a/sys/compat/hpux/hpux_util.h +++ b/sys/compat/hpux/hpux_util.h @@ -1,3 +1,4 @@ +/* $OpenBSD: hpux_util.h,v 1.3 1996/08/02 20:35:00 niklas Exp $ */ /* $NetBSD: hpux_util.h,v 1.3 1995/12/08 07:45:34 thorpej Exp $ */ /* diff --git a/sys/compat/hpux/syscalls.conf b/sys/compat/hpux/syscalls.conf index 15f32874734..22e0841d1a3 100644 --- a/sys/compat/hpux/syscalls.conf +++ b/sys/compat/hpux/syscalls.conf @@ -1,3 +1,4 @@ +# $OpenBSD: syscalls.conf,v 1.3 1996/08/02 20:35:00 niklas Exp $ # $NetBSD: syscalls.conf,v 1.2 1995/11/28 08:39:54 thorpej Exp $ sysnames="hpux_syscalls.c" diff --git a/sys/compat/ibcs2/Makefile b/sys/compat/ibcs2/Makefile new file mode 100644 index 00000000000..f5270de19be --- /dev/null +++ b/sys/compat/ibcs2/Makefile @@ -0,0 +1,11 @@ +# $OpenBSD: Makefile,v 1.1 1996/08/02 20:35:01 niklas Exp $ + +DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh +OBJS= ibcs2_sysent.c ibcs2_syscalls.c ibcs2_syscall.h ibcs2_syscallargs.h + +${OBJS}: ${DEP} + -mv -f ibcs2_sysent.c ibcs2_sysent.c.bak + -mv -f ibcs2_syscalls.c ibcs2_syscalls.c.bak + -mv -f ibcs2_syscall.h ibcs2_syscall.h.bak + -mv -f ibcs2_syscallargs.h ibcs2_syscallargs.h.bak + sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master diff --git a/sys/compat/ibcs2/TODO b/sys/compat/ibcs2/TODO index ddfa3362424..1c3f9bc9768 100644 --- a/sys/compat/ibcs2/TODO +++ b/sys/compat/ibcs2/TODO @@ -1,3 +1,4 @@ +$OpenBSD: TODO,v 1.2 1996/08/02 20:35:01 niklas Exp $ $NetBSD: TODO,v 1.3 1995/03/14 15:12:17 scottb Exp $ * handle directory reads for filenames > 14 char diff --git a/sys/compat/ibcs2/files.ibcs2 b/sys/compat/ibcs2/files.ibcs2 index 3ba153a95be..d4f7c73a36b 100644 --- a/sys/compat/ibcs2/files.ibcs2 +++ b/sys/compat/ibcs2/files.ibcs2 @@ -1,3 +1,4 @@ +# $OpenBSD: files.ibcs2,v 1.2 1996/08/02 20:35:02 niklas Exp $ # $NetBSD: files.ibcs2,v 1.3 1995/08/14 01:34:09 mycroft Exp $ # # Config.new file description for machine-independent IBCS-2 compat code. diff --git a/sys/compat/ibcs2/ibcs2_dirent.h b/sys/compat/ibcs2/ibcs2_dirent.h index a54165732fe..29a0dcff1d0 100644 --- a/sys/compat/ibcs2/ibcs2_dirent.h +++ b/sys/compat/ibcs2/ibcs2_dirent.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_dirent.h,v 1.2 1996/08/02 20:35:02 niklas Exp $ */ /* $NetBSD: ibcs2_dirent.h,v 1.3 1995/10/09 11:23:57 mycroft Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_errno.c b/sys/compat/ibcs2/ibcs2_errno.c index ec84dd24390..b4bfea0922a 100644 --- a/sys/compat/ibcs2/ibcs2_errno.c +++ b/sys/compat/ibcs2/ibcs2_errno.c @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_errno.c,v 1.3 1996/08/02 20:35:03 niklas Exp $ */ /* $NetBSD: ibcs2_errno.c,v 1.2 1996/05/03 17:05:16 christos Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_errno.h b/sys/compat/ibcs2/ibcs2_errno.h index 501df05bdab..42b5d0fa539 100644 --- a/sys/compat/ibcs2/ibcs2_errno.h +++ b/sys/compat/ibcs2/ibcs2_errno.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_errno.h,v 1.3 1996/08/02 20:35:03 niklas Exp $ */ /* $NetBSD: ibcs2_errno.h,v 1.2 1996/05/03 17:05:18 christos Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_exec.c b/sys/compat/ibcs2/ibcs2_exec.c index 03081f49917..32121f88b95 100644 --- a/sys/compat/ibcs2/ibcs2_exec.c +++ b/sys/compat/ibcs2/ibcs2_exec.c @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_exec.c,v 1.3 1996/08/02 20:35:04 niklas Exp $ */ /* $NetBSD: ibcs2_exec.c,v 1.11 1996/05/03 17:05:19 christos Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_exec.h b/sys/compat/ibcs2/ibcs2_exec.h index 8af9491b77f..7e33c700544 100644 --- a/sys/compat/ibcs2/ibcs2_exec.h +++ b/sys/compat/ibcs2/ibcs2_exec.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_exec.h,v 1.2 1996/08/02 20:35:05 niklas Exp $ */ /* $NetBSD: ibcs2_exec.h,v 1.4 1995/03/14 15:12:24 scottb Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_fcntl.c b/sys/compat/ibcs2/ibcs2_fcntl.c index 14681ae2d3b..1c0314522b3 100644 --- a/sys/compat/ibcs2/ibcs2_fcntl.c +++ b/sys/compat/ibcs2/ibcs2_fcntl.c @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_fcntl.c,v 1.4 1996/08/02 20:35:05 niklas Exp $ */ /* $NetBSD: ibcs2_fcntl.c,v 1.6 1996/05/03 17:05:20 christos Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_fcntl.h b/sys/compat/ibcs2/ibcs2_fcntl.h index b75537cb66f..4aef0fb7a14 100644 --- a/sys/compat/ibcs2/ibcs2_fcntl.h +++ b/sys/compat/ibcs2/ibcs2_fcntl.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_fcntl.h,v 1.2 1996/08/02 20:35:06 niklas Exp $ */ /* $NetBSD: ibcs2_fcntl.h,v 1.2 1994/10/26 02:52:54 cgd Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_grp.h b/sys/compat/ibcs2/ibcs2_grp.h index 587101f743f..6a453d10b6c 100644 --- a/sys/compat/ibcs2/ibcs2_grp.h +++ b/sys/compat/ibcs2/ibcs2_grp.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_grp.h,v 1.2 1996/08/02 20:35:06 niklas Exp $ */ /* $NetBSD: ibcs2_grp.h,v 1.2 1994/10/26 02:52:55 cgd Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_ioctl.c b/sys/compat/ibcs2/ibcs2_ioctl.c index 2da1fbfc785..d5d6a1f5552 100644 --- a/sys/compat/ibcs2/ibcs2_ioctl.c +++ b/sys/compat/ibcs2/ibcs2_ioctl.c @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_ioctl.c,v 1.4 1996/08/02 20:35:07 niklas Exp $ */ /* $NetBSD: ibcs2_ioctl.c,v 1.11 1996/05/03 17:05:22 christos Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_ipc.c b/sys/compat/ibcs2/ibcs2_ipc.c index 3744170d313..5b07fa40f3c 100644 --- a/sys/compat/ibcs2/ibcs2_ipc.c +++ b/sys/compat/ibcs2/ibcs2_ipc.c @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_ipc.c,v 1.3 1996/08/02 20:35:07 niklas Exp $ */ /* $NetBSD: ibcs2_ipc.c,v 1.6 1996/05/03 17:05:23 christos Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_mount.h b/sys/compat/ibcs2/ibcs2_mount.h index d1b9aaaedc2..6204242e4f7 100644 --- a/sys/compat/ibcs2/ibcs2_mount.h +++ b/sys/compat/ibcs2/ibcs2_mount.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_mount.h,v 1.2 1996/08/02 20:35:08 niklas Exp $ */ /* $NetBSD: ibcs2_mount.h,v 1.2 1994/10/26 02:53:00 cgd Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_pwd.h b/sys/compat/ibcs2/ibcs2_pwd.h index 5a845ef580e..d3b49af675a 100644 --- a/sys/compat/ibcs2/ibcs2_pwd.h +++ b/sys/compat/ibcs2/ibcs2_pwd.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_pwd.h,v 1.2 1996/08/02 20:35:08 niklas Exp $ */ /* $NetBSD: ibcs2_pwd.h,v 1.2 1994/10/26 02:53:01 cgd Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_signal.c b/sys/compat/ibcs2/ibcs2_signal.c index 5ff7ddfc5cd..c0400029721 100644 --- a/sys/compat/ibcs2/ibcs2_signal.c +++ b/sys/compat/ibcs2/ibcs2_signal.c @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_signal.c,v 1.3 1996/08/02 20:35:09 niklas Exp $ */ /* $NetBSD: ibcs2_signal.c,v 1.8 1996/05/03 17:05:27 christos Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_signal.h b/sys/compat/ibcs2/ibcs2_signal.h index 44cc6bf8a27..b425a2990ee 100644 --- a/sys/compat/ibcs2/ibcs2_signal.h +++ b/sys/compat/ibcs2/ibcs2_signal.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_signal.h,v 1.3 1996/08/02 20:35:09 niklas Exp $ */ /* $NetBSD: ibcs2_signal.h,v 1.8 1996/05/03 17:05:28 christos Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_socksys.c b/sys/compat/ibcs2/ibcs2_socksys.c index 1004e840b45..3cee3ff2929 100644 --- a/sys/compat/ibcs2/ibcs2_socksys.c +++ b/sys/compat/ibcs2/ibcs2_socksys.c @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_socksys.c,v 1.3 1996/08/02 20:35:10 niklas Exp $ */ /* $NetBSD: ibcs2_socksys.c,v 1.4 1996/05/03 17:05:29 christos Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_socksys.h b/sys/compat/ibcs2/ibcs2_socksys.h index fc2ccb3cdc2..d17ee5fa7de 100644 --- a/sys/compat/ibcs2/ibcs2_socksys.h +++ b/sys/compat/ibcs2/ibcs2_socksys.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_socksys.h,v 1.3 1996/08/02 20:35:10 niklas Exp $ */ /* $NetBSD: ibcs2_socksys.h,v 1.2 1996/05/03 17:05:30 christos Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_stat.c b/sys/compat/ibcs2/ibcs2_stat.c index dc54a096745..d8fc2c0694c 100644 --- a/sys/compat/ibcs2/ibcs2_stat.c +++ b/sys/compat/ibcs2/ibcs2_stat.c @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_stat.c,v 1.3 1996/08/02 20:35:11 niklas Exp $ */ /* $NetBSD: ibcs2_stat.c,v 1.5 1996/05/03 17:05:32 christos Exp $ */ /* * Copyright (c) 1995 Scott Bartram diff --git a/sys/compat/ibcs2/ibcs2_stat.h b/sys/compat/ibcs2/ibcs2_stat.h index 2eb01027e0c..f129bb27659 100644 --- a/sys/compat/ibcs2/ibcs2_stat.h +++ b/sys/compat/ibcs2/ibcs2_stat.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_stat.h,v 1.2 1996/08/02 20:35:11 niklas Exp $ */ /* $NetBSD: ibcs2_stat.h,v 1.2 1994/10/26 02:53:03 cgd Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_statfs.h b/sys/compat/ibcs2/ibcs2_statfs.h index d6e0100c1eb..ca8ccd5508f 100644 --- a/sys/compat/ibcs2/ibcs2_statfs.h +++ b/sys/compat/ibcs2/ibcs2_statfs.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_statfs.h,v 1.2 1996/08/02 20:35:12 niklas Exp $ */ /* $NetBSD: ibcs2_statfs.h,v 1.2 1994/10/26 02:53:06 cgd Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_stropts.h b/sys/compat/ibcs2/ibcs2_stropts.h index a12df4a28a5..0ebd25d4527 100644 --- a/sys/compat/ibcs2/ibcs2_stropts.h +++ b/sys/compat/ibcs2/ibcs2_stropts.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_stropts.h,v 1.3 1996/08/02 20:35:12 niklas Exp $ */ /* $NetBSD: ibcs2_stropts.h,v 1.2 1996/05/03 17:05:33 christos Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_syscall.h b/sys/compat/ibcs2/ibcs2_syscall.h index 6b6bdf0ccd2..9af275d3da5 100644 --- a/sys/compat/ibcs2/ibcs2_syscall.h +++ b/sys/compat/ibcs2/ibcs2_syscall.h @@ -2,7 +2,7 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.8 1996/01/07 06:09:43 mycroft Exp + * created from OpenBSD: syscalls.master,v 1.4 1996/08/02 20:20:28 niklas Exp */ #define IBCS2_SYS_syscall 0 diff --git a/sys/compat/ibcs2/ibcs2_syscallargs.h b/sys/compat/ibcs2/ibcs2_syscallargs.h index b82aa343256..09d99d19ccc 100644 --- a/sys/compat/ibcs2/ibcs2_syscallargs.h +++ b/sys/compat/ibcs2/ibcs2_syscallargs.h @@ -2,7 +2,7 @@ * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.8 1996/01/07 06:09:43 mycroft Exp + * created from OpenBSD: syscalls.master,v 1.4 1996/08/02 20:20:28 niklas Exp */ #define syscallarg(x) union { x datum; register_t pad; } @@ -255,9 +255,9 @@ struct ibcs2_sys_putmsg_args { syscallarg(int) flags; }; -struct ibcs2_sys_poll_args { - syscallarg(struct ibcs2_pollfd *) fds; - syscallarg(long) nfds; +struct sys_poll_args { + syscallarg(struct pollfd *) fds; + syscallarg(unsigned long) nfds; syscallarg(int) timeout; }; @@ -423,7 +423,7 @@ int ibcs2_sys_getdents __P((struct proc *, void *, register_t *)); int ibcs2_sys_sysfs __P((struct proc *, void *, register_t *)); int ibcs2_sys_getmsg __P((struct proc *, void *, register_t *)); int ibcs2_sys_putmsg __P((struct proc *, void *, register_t *)); -int ibcs2_sys_poll __P((struct proc *, void *, register_t *)); +int sys_poll __P((struct proc *, void *, register_t *)); int ibcs2_sys_symlink __P((struct proc *, void *, register_t *)); int ibcs2_sys_lstat __P((struct proc *, void *, register_t *)); int ibcs2_sys_readlink __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/ibcs2/ibcs2_syscalls.c b/sys/compat/ibcs2/ibcs2_syscalls.c index 35de582e26a..8e713625ed7 100644 --- a/sys/compat/ibcs2/ibcs2_syscalls.c +++ b/sys/compat/ibcs2/ibcs2_syscalls.c @@ -2,7 +2,7 @@ * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.8 1996/01/07 06:09:43 mycroft Exp + * created from OpenBSD: syscalls.master,v 1.4 1996/08/02 20:20:28 niklas Exp */ char *ibcs2_syscallnames[] = { diff --git a/sys/compat/ibcs2/ibcs2_sysent.c b/sys/compat/ibcs2/ibcs2_sysent.c index 80bf5d422e5..f82f9e43fb0 100644 --- a/sys/compat/ibcs2/ibcs2_sysent.c +++ b/sys/compat/ibcs2/ibcs2_sysent.c @@ -2,13 +2,14 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.8 1996/01/07 06:09:43 mycroft Exp + * created from OpenBSD: syscalls.master,v 1.4 1996/08/02 20:20:28 niklas Exp */ #include <sys/param.h> #include <sys/systm.h> #include <sys/signal.h> #include <sys/mount.h> +#include <sys/poll.h> #include <sys/syscallargs.h> #include <compat/ibcs2/ibcs2_types.h> #include <compat/ibcs2/ibcs2_signal.h> @@ -225,8 +226,8 @@ struct sysent ibcs2_sysent[] = { ibcs2_sys_getmsg }, /* 85 = getmsg */ { 4, s(struct ibcs2_sys_putmsg_args), ibcs2_sys_putmsg }, /* 86 = putmsg */ - { 3, s(struct ibcs2_sys_poll_args), - ibcs2_sys_poll }, /* 87 = poll */ + { 3, s(struct sys_poll_args), + sys_poll }, /* 87 = poll */ { 0, 0, sys_nosys }, /* 88 = unimplemented */ { 0, 0, diff --git a/sys/compat/ibcs2/ibcs2_sysi86.h b/sys/compat/ibcs2/ibcs2_sysi86.h index 7cbf9b9f9df..91e46a8d9a9 100644 --- a/sys/compat/ibcs2/ibcs2_sysi86.h +++ b/sys/compat/ibcs2/ibcs2_sysi86.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_sysi86.h,v 1.2 1996/08/02 20:35:14 niklas Exp $ */ /* $NetBSD: ibcs2_sysi86.h,v 1.1 1996/01/06 03:23:54 scottb Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_termios.h b/sys/compat/ibcs2/ibcs2_termios.h index 35602cf999d..0b9d1165efb 100644 --- a/sys/compat/ibcs2/ibcs2_termios.h +++ b/sys/compat/ibcs2/ibcs2_termios.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_termios.h,v 1.2 1996/08/02 20:35:15 niklas Exp $ */ /* $NetBSD: ibcs2_termios.h,v 1.3 1994/10/26 02:53:07 cgd Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_time.h b/sys/compat/ibcs2/ibcs2_time.h index a3b669b6ae3..986ab059121 100644 --- a/sys/compat/ibcs2/ibcs2_time.h +++ b/sys/compat/ibcs2/ibcs2_time.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_time.h,v 1.2 1996/08/02 20:35:15 niklas Exp $ */ /* $NetBSD: ibcs2_time.h,v 1.2 1994/10/26 02:53:08 cgd Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_timeb.h b/sys/compat/ibcs2/ibcs2_timeb.h index 26650e2a946..6c39650a668 100644 --- a/sys/compat/ibcs2/ibcs2_timeb.h +++ b/sys/compat/ibcs2/ibcs2_timeb.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_timeb.h,v 1.3 1996/08/02 20:35:16 niklas Exp $ */ /* $NetBSD: ibcs2_timeb.h,v 1.2 1996/05/03 17:05:34 christos Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_types.h b/sys/compat/ibcs2/ibcs2_types.h index 305a1fc6f44..e98ece7f35a 100644 --- a/sys/compat/ibcs2/ibcs2_types.h +++ b/sys/compat/ibcs2/ibcs2_types.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_types.h,v 1.2 1996/08/02 20:35:16 niklas Exp $ */ /* $NetBSD: ibcs2_types.h,v 1.5 1995/08/14 01:11:54 mycroft Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_unistd.h b/sys/compat/ibcs2/ibcs2_unistd.h index 1a0dd669412..011dd594ea0 100644 --- a/sys/compat/ibcs2/ibcs2_unistd.h +++ b/sys/compat/ibcs2/ibcs2_unistd.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_unistd.h,v 1.2 1996/08/02 20:35:17 niklas Exp $ */ /* $NetBSD: ibcs2_unistd.h,v 1.2 1994/10/26 02:53:11 cgd Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_ustat.h b/sys/compat/ibcs2/ibcs2_ustat.h index 03c71463591..53534b2e9b4 100644 --- a/sys/compat/ibcs2/ibcs2_ustat.h +++ b/sys/compat/ibcs2/ibcs2_ustat.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_ustat.h,v 1.2 1996/08/02 20:35:17 niklas Exp $ */ /* $NetBSD: ibcs2_ustat.h,v 1.2 1994/10/26 02:53:13 cgd Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_util.h b/sys/compat/ibcs2/ibcs2_util.h index 167550d91ba..d0e91e370d1 100644 --- a/sys/compat/ibcs2/ibcs2_util.h +++ b/sys/compat/ibcs2/ibcs2_util.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_util.h,v 1.2 1996/08/02 20:35:18 niklas Exp $ */ /* $NetBSD: ibcs2_util.h,v 1.2 1995/06/24 20:19:06 christos Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_utime.h b/sys/compat/ibcs2/ibcs2_utime.h index 1dd7fdfed6c..27a1240a77c 100644 --- a/sys/compat/ibcs2/ibcs2_utime.h +++ b/sys/compat/ibcs2/ibcs2_utime.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_utime.h,v 1.3 1996/08/02 20:35:18 niklas Exp $ */ /* $NetBSD: ibcs2_utime.h,v 1.2 1996/05/03 17:05:35 christos Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_utsname.h b/sys/compat/ibcs2/ibcs2_utsname.h index 4f2ee68f7a9..118cd3e769c 100644 --- a/sys/compat/ibcs2/ibcs2_utsname.h +++ b/sys/compat/ibcs2/ibcs2_utsname.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_utsname.h,v 1.2 1996/08/02 20:35:19 niklas Exp $ */ /* $NetBSD: ibcs2_utsname.h,v 1.2 1994/10/26 02:53:14 cgd Exp $ */ /* diff --git a/sys/compat/ibcs2/ibcs2_wait.h b/sys/compat/ibcs2/ibcs2_wait.h index 215d31eeef3..05b9514d389 100644 --- a/sys/compat/ibcs2/ibcs2_wait.h +++ b/sys/compat/ibcs2/ibcs2_wait.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ibcs2_wait.h,v 1.2 1996/08/02 20:35:19 niklas Exp $ */ /* $NetBSD: ibcs2_wait.h,v 1.2 1994/10/26 02:53:16 cgd Exp $ */ /* diff --git a/sys/compat/ibcs2/syscalls.conf b/sys/compat/ibcs2/syscalls.conf index 7f46f443340..fef9325525a 100644 --- a/sys/compat/ibcs2/syscalls.conf +++ b/sys/compat/ibcs2/syscalls.conf @@ -1,3 +1,5 @@ +# $OpenBSD: syscalls.conf,v 1.2 1996/08/02 20:35:20 niklas Exp $ + # syscalls.conf sysnames="ibcs2_syscalls.c" diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h index 89a9da969e0..0265a9e83ce 100644 --- a/sys/compat/linux/linux_syscall.h +++ b/sys/compat/linux/linux_syscall.h @@ -1,3 +1,5 @@ +/* $OpenBSD: linux_syscall.h,v 1.6 1996/08/02 20:35:21 niklas Exp $ */ + /* * System call numbers. * diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h index 12efb98f917..1654d8342c2 100644 --- a/sys/compat/linux/linux_syscallargs.h +++ b/sys/compat/linux/linux_syscallargs.h @@ -1,3 +1,5 @@ +/* $OpenBSD: linux_syscallargs.h,v 1.7 1996/08/02 20:35:22 niklas Exp $ */ + /* * System call argument lists. * diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c index 8ed6859d25e..601c7880146 100644 --- a/sys/compat/linux/linux_syscalls.c +++ b/sys/compat/linux/linux_syscalls.c @@ -1,3 +1,5 @@ +/* $OpenBSD: linux_syscalls.c,v 1.6 1996/08/02 20:35:22 niklas Exp $ */ + /* * System call names. * diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c index ebda0c5f720..0768f8ed901 100644 --- a/sys/compat/linux/linux_sysent.c +++ b/sys/compat/linux/linux_sysent.c @@ -1,3 +1,5 @@ +/* $OpenBSD: linux_sysent.c,v 1.7 1996/08/02 20:35:22 niklas Exp $ */ + /* * System call switch table. * diff --git a/sys/compat/osf1/Makefile b/sys/compat/osf1/Makefile index da4a1176a78..df0262d81ef 100644 --- a/sys/compat/osf1/Makefile +++ b/sys/compat/osf1/Makefile @@ -1,3 +1,4 @@ +# $OpenBSD: Makefile,v 1.2 1996/08/02 20:35:23 niklas Exp $ # $NetBSD: Makefile,v 1.1 1995/02/13 21:39:00 cgd Exp $ DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh diff --git a/sys/compat/osf1/README.dynamic b/sys/compat/osf1/README.dynamic index ce90731daeb..f9be14f809c 100644 --- a/sys/compat/osf1/README.dynamic +++ b/sys/compat/osf1/README.dynamic @@ -1,3 +1,4 @@ +$OpenBSD: README.dynamic,v 1.2 1996/08/02 20:35:24 niklas Exp $ $NetBSD: README.dynamic,v 1.1 1995/02/13 21:39:01 cgd Exp $ Currently, the NetBSD OSF/1 emulation code only supports statically diff --git a/sys/compat/osf1/README.mach-traps b/sys/compat/osf1/README.mach-traps index 1748ac28bd3..c1326769f92 100644 --- a/sys/compat/osf1/README.mach-traps +++ b/sys/compat/osf1/README.mach-traps @@ -1,3 +1,4 @@ +$OpenBSD: README.mach-traps,v 1.2 1996/08/02 20:35:24 niklas Exp $ $NetBSD: README.mach-traps,v 1.1 1995/02/13 21:39:02 cgd Exp $ Some Alpha AXP OSF/1 binaries directly use the facilities provided by diff --git a/sys/compat/osf1/README.syscalls b/sys/compat/osf1/README.syscalls index 50e08e810f8..0e5cb85dc3b 100644 --- a/sys/compat/osf1/README.syscalls +++ b/sys/compat/osf1/README.syscalls @@ -1,3 +1,4 @@ +$OpenBSD: README.syscalls,v 1.2 1996/08/02 20:35:25 niklas Exp $ $NetBSD: README.syscalls,v 1.1 1995/02/13 21:39:03 cgd Exp $ Once the new syscall argument-handling method was implemented, most diff --git a/sys/compat/osf1/files.osf1 b/sys/compat/osf1/files.osf1 index 4d880eab8c6..615680275e8 100644 --- a/sys/compat/osf1/files.osf1 +++ b/sys/compat/osf1/files.osf1 @@ -1,3 +1,4 @@ +# $OpenBSD: files.osf1,v 1.3 1996/08/02 20:35:25 niklas Exp $ # $NetBSD: files.osf1,v 1.3 1995/11/15 05:42:17 cgd Exp $ # # Config file description for machine-independent OSF/1 compat code. diff --git a/sys/compat/osf1/osf1_ioctl.c b/sys/compat/osf1/osf1_ioctl.c index cdc95f10a76..8ad73d211a3 100644 --- a/sys/compat/osf1/osf1_ioctl.c +++ b/sys/compat/osf1/osf1_ioctl.c @@ -1,3 +1,4 @@ +/* $OpenBSD: osf1_ioctl.c,v 1.2 1996/08/02 20:35:26 niklas Exp $ */ /* $NetBSD: osf1_ioctl.c,v 1.3 1995/10/07 06:27:19 mycroft Exp $ */ /* diff --git a/sys/compat/osf1/osf1_signal.c b/sys/compat/osf1/osf1_signal.c index df540242755..e7f0195e87a 100644 --- a/sys/compat/osf1/osf1_signal.c +++ b/sys/compat/osf1/osf1_signal.c @@ -1,3 +1,5 @@ +/* $OpenBSD: osf1_signal.c,v 1.3 1996/08/02 20:35:26 niklas Exp $ */ + #include <sys/param.h> #include <sys/systm.h> #include <sys/namei.h> diff --git a/sys/compat/osf1/osf1_signal.h b/sys/compat/osf1/osf1_signal.h index b5baf97c230..5c4e7337f63 100644 --- a/sys/compat/osf1/osf1_signal.h +++ b/sys/compat/osf1/osf1_signal.h @@ -1,3 +1,5 @@ +/* $OpenBSD: osf1_signal.h,v 1.2 1996/08/02 20:35:27 niklas Exp $ */ + #ifndef _OSF1_SIGNAL_H #define _OSF1_SIGNAL_H diff --git a/sys/compat/osf1/osf1_syscall.h b/sys/compat/osf1/osf1_syscall.h index a8caad77ab1..977901aae2f 100644 --- a/sys/compat/osf1/osf1_syscall.h +++ b/sys/compat/osf1/osf1_syscall.h @@ -2,7 +2,7 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.2 1995/10/07 06:27:28 mycroft Exp + * created from OpenBSD: syscalls.master,v 1.2 1996/08/02 20:20:30 niklas Exp */ #define OSF1_SYS_syscall 0 @@ -67,6 +67,7 @@ #define OSF1_SYS_fstat 91 #define OSF1_SYS_fcntl 92 #define OSF1_SYS_select 93 +#define OSF1_SYS_poll 94 #define OSF1_SYS_fsync 95 #define OSF1_SYS_setpriority 96 #define OSF1_SYS_socket 97 diff --git a/sys/compat/osf1/osf1_syscallargs.h b/sys/compat/osf1/osf1_syscallargs.h index eb0da037b12..39f7dae9049 100644 --- a/sys/compat/osf1/osf1_syscallargs.h +++ b/sys/compat/osf1/osf1_syscallargs.h @@ -2,7 +2,7 @@ * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.2 1995/10/07 06:27:28 mycroft Exp + * created from OpenBSD: syscalls.master,v 1.2 1996/08/02 20:20:30 niklas Exp */ #define syscallarg(x) union { x datum; register_t pad; } @@ -87,6 +87,12 @@ struct osf1_sys_fcntl_args { syscallarg(void *) arg; }; +struct osf1_sys_poll_args { + syscallarg(struct pollfd *) fds; + syscallarg(unsigned int) nfds; + syscallarg(int) timeout; +}; + struct osf1_sys_socket_args { syscallarg(int) domain; syscallarg(int) type; @@ -243,6 +249,7 @@ int sys_dup2 __P((struct proc *, void *, register_t *)); int osf1_sys_fstat __P((struct proc *, void *, register_t *)); int osf1_sys_fcntl __P((struct proc *, void *, register_t *)); int sys_select __P((struct proc *, void *, register_t *)); +int osf1_sys_poll __P((struct proc *, void *, register_t *)); int sys_fsync __P((struct proc *, void *, register_t *)); int sys_setpriority __P((struct proc *, void *, register_t *)); int osf1_sys_socket __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/osf1/osf1_syscalls.c b/sys/compat/osf1/osf1_syscalls.c index b0b39e7a1ac..38f370f530f 100644 --- a/sys/compat/osf1/osf1_syscalls.c +++ b/sys/compat/osf1/osf1_syscalls.c @@ -2,7 +2,7 @@ * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.2 1995/10/07 06:27:28 mycroft Exp + * created from OpenBSD: syscalls.master,v 1.2 1996/08/02 20:20:30 niklas Exp */ char *osf1_syscallnames[] = { @@ -100,7 +100,7 @@ char *osf1_syscallnames[] = { "fstat", /* 91 = fstat */ "fcntl", /* 92 = fcntl */ "select", /* 93 = select */ - "#94 (unimplemented poll)", /* 94 = unimplemented poll */ + "poll", /* 94 = poll */ "fsync", /* 95 = fsync */ "setpriority", /* 96 = setpriority */ "socket", /* 97 = socket */ diff --git a/sys/compat/osf1/osf1_sysent.c b/sys/compat/osf1/osf1_sysent.c index 20e7fb00486..640149f71ad 100644 --- a/sys/compat/osf1/osf1_sysent.c +++ b/sys/compat/osf1/osf1_sysent.c @@ -2,13 +2,14 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.2 1995/10/07 06:27:28 mycroft Exp + * created from OpenBSD: syscalls.master,v 1.2 1996/08/02 20:20:30 niklas Exp */ #include <sys/param.h> #include <sys/systm.h> #include <sys/signal.h> #include <sys/mount.h> +#include <sys/poll.h> #include <sys/syscallargs.h> #include <compat/osf1/osf1_syscallargs.h> @@ -203,8 +204,8 @@ struct sysent osf1_sysent[] = { osf1_sys_fcntl }, /* 92 = fcntl */ { 5, s(struct sys_select_args), sys_select }, /* 93 = select */ - { 0, 0, - sys_nosys }, /* 94 = unimplemented poll */ + { 3, s(struct osf1_sys_poll_args), + osf1_sys_poll }, /* 94 = poll */ { 1, s(struct sys_fsync_args), sys_fsync }, /* 95 = fsync */ { 3, s(struct sys_setpriority_args), diff --git a/sys/compat/osf1/osf1_util.h b/sys/compat/osf1/osf1_util.h index 99f0bac8647..87cc309774d 100644 --- a/sys/compat/osf1/osf1_util.h +++ b/sys/compat/osf1/osf1_util.h @@ -1 +1,3 @@ +/* $OpenBSD: osf1_util.h,v 1.2 1996/08/02 20:35:29 niklas Exp $ */ + #include <compat/common/compat_util.h> diff --git a/sys/compat/osf1/syscalls.conf b/sys/compat/osf1/syscalls.conf index ffa7904533e..aa6d4a59c92 100644 --- a/sys/compat/osf1/syscalls.conf +++ b/sys/compat/osf1/syscalls.conf @@ -1,3 +1,4 @@ +# $OpenBSD: syscalls.conf,v 1.2 1996/08/02 20:35:30 niklas Exp $ # $NetBSD: syscalls.conf,v 1.1 1995/02/13 21:39:08 cgd Exp $ sysnames="osf1_syscalls.c" diff --git a/sys/compat/sunos/exec.h b/sys/compat/sunos/exec.h index c7e0693f740..2b75bb93a29 100644 --- a/sys/compat/sunos/exec.h +++ b/sys/compat/sunos/exec.h @@ -1,3 +1,4 @@ +/* $OpenBSD: exec.h,v 1.2 1996/08/02 20:35:30 niklas Exp $ */ /* $NetBSD: exec.h,v 1.4 1994/10/25 23:03:22 deraadt Exp $ */ /* diff --git a/sys/compat/sunos/files.sunos b/sys/compat/sunos/files.sunos index e28f1c0a91b..1943bafed5d 100644 --- a/sys/compat/sunos/files.sunos +++ b/sys/compat/sunos/files.sunos @@ -1,3 +1,4 @@ +# $OpenBSD: files.sunos,v 1.2 1996/08/02 20:35:31 niklas Exp $ # $NetBSD: files.sunos,v 1.3 1995/06/24 20:22:33 christos Exp $ # # Config.new file description for machine-independent SunOS compat code. diff --git a/sys/compat/sunos/sunos_dirent.h b/sys/compat/sunos/sunos_dirent.h index ecb2e072cc1..45b8f4b47af 100644 --- a/sys/compat/sunos/sunos_dirent.h +++ b/sys/compat/sunos/sunos_dirent.h @@ -1,3 +1,4 @@ +/* $OpenBSD: sunos_dirent.h,v 1.3 1996/08/02 20:35:31 niklas Exp $ */ /* $NetBSD: sunos_dirent.h,v 1.1 1995/10/09 11:24:10 mycroft Exp $ */ /* diff --git a/sys/compat/sunos/sunos_syscall.h b/sys/compat/sunos/sunos_syscall.h index be4c866cef6..3d9eee472af 100644 --- a/sys/compat/sunos/sunos_syscall.h +++ b/sys/compat/sunos/sunos_syscall.h @@ -2,7 +2,7 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD + * created from OpenBSD: syscalls.master,v 1.3 1996/08/02 20:20:31 niklas Exp */ #define SUNOS_SYS_syscall 0 diff --git a/sys/compat/sunos/sunos_syscallargs.h b/sys/compat/sunos/sunos_syscallargs.h index d4a43b53f91..15112837fdd 100644 --- a/sys/compat/sunos/sunos_syscallargs.h +++ b/sys/compat/sunos/sunos_syscallargs.h @@ -2,7 +2,7 @@ * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD + * created from OpenBSD: syscalls.master,v 1.3 1996/08/02 20:20:31 niklas Exp */ #define syscallarg(x) union { x datum; register_t pad; } @@ -131,9 +131,9 @@ struct sunos_sys_setrlimit_args { syscallarg(struct orlimit *) rlp; }; -struct sunos_sys_poll_args { - syscallarg(struct sunos_pollfd *) fds; - syscallarg(long) nfds; +struct sys_poll_args { + syscallarg(struct pollfd *) fds; + syscallarg(unsigned long) nfds; syscallarg(int) timeout; }; @@ -323,7 +323,7 @@ int sunos_sys_getrlimit __P((struct proc *, void *, register_t *)); int sunos_sys_setrlimit __P((struct proc *, void *, register_t *)); int compat_43_sys_killpg __P((struct proc *, void *, register_t *)); int compat_43_sys_getsockname __P((struct proc *, void *, register_t *)); -int sunos_sys_poll __P((struct proc *, void *, register_t *)); +int sys_poll __P((struct proc *, void *, register_t *)); #ifdef NFSSERVER int sunos_sys_nfssvc __P((struct proc *, void *, register_t *)); #else diff --git a/sys/compat/sunos/sunos_syscalls.c b/sys/compat/sunos/sunos_syscalls.c index 2f974f6a8a8..f829aa90142 100644 --- a/sys/compat/sunos/sunos_syscalls.c +++ b/sys/compat/sunos/sunos_syscalls.c @@ -2,7 +2,7 @@ * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD + * created from OpenBSD: syscalls.master,v 1.3 1996/08/02 20:20:31 niklas Exp */ char *sunos_syscallnames[] = { diff --git a/sys/compat/sunos/sunos_sysent.c b/sys/compat/sunos/sunos_sysent.c index 19e140a7983..64d42024db1 100644 --- a/sys/compat/sunos/sunos_sysent.c +++ b/sys/compat/sunos/sunos_sysent.c @@ -2,13 +2,14 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD + * created from OpenBSD: syscalls.master,v 1.3 1996/08/02 20:20:31 niklas Exp */ #include <sys/param.h> #include <sys/systm.h> #include <sys/signal.h> #include <sys/mount.h> +#include <sys/poll.h> #include <sys/syscallargs.h> #include <compat/sunos/sunos.h> #include <compat/sunos/sunos_syscallargs.h> @@ -340,8 +341,8 @@ struct sysent sunos_sysent[] = { sys_nosys }, /* 151 = unimplemented getmsg */ { 0, 0, sys_nosys }, /* 152 = unimplemented putmsg */ - { 3, s(struct sunos_sys_poll_args), - sunos_sys_poll }, /* 153 = poll */ + { 3, s(struct sys_poll_args), + sys_poll }, /* 153 = poll */ { 0, 0, sys_nosys }, /* 154 = unimplemented */ #ifdef NFSSERVER diff --git a/sys/compat/sunos/sunos_util.h b/sys/compat/sunos/sunos_util.h index 3443059a325..b6a23dc5b74 100644 --- a/sys/compat/sunos/sunos_util.h +++ b/sys/compat/sunos/sunos_util.h @@ -1,3 +1,4 @@ +/* $OpenBSD: sunos_util.h,v 1.2 1996/08/02 20:35:34 niklas Exp $ */ /* $NetBSD: sunos_util.h,v 1.2 1995/06/24 20:22:58 christos Exp $ */ /* diff --git a/sys/compat/sunos/syscalls.conf b/sys/compat/sunos/syscalls.conf index c55e7cdecf5..5cbb693b6b4 100644 --- a/sys/compat/sunos/syscalls.conf +++ b/sys/compat/sunos/syscalls.conf @@ -1,3 +1,4 @@ +# $OpenBSD: syscalls.conf,v 1.2 1996/08/02 20:35:34 niklas Exp $ # $NetBSD: syscalls.conf,v 1.3 1995/04/27 12:05:43 christos Exp $ sysnames="sunos_syscalls.c" diff --git a/sys/compat/svr4/Makefile b/sys/compat/svr4/Makefile index a5a4401770d..ea9fca6bd3a 100644 --- a/sys/compat/svr4/Makefile +++ b/sys/compat/svr4/Makefile @@ -1,3 +1,4 @@ +# $OpenBSD: Makefile,v 1.2 1996/08/02 20:35:35 niklas Exp $ # $NetBSD: Makefile,v 1.1 1995/10/14 20:24:14 christos Exp $ DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh diff --git a/sys/compat/svr4/svr4_dirent.h b/sys/compat/svr4/svr4_dirent.h index 4197afafc5f..60bf30c61b7 100644 --- a/sys/compat/svr4/svr4_dirent.h +++ b/sys/compat/svr4/svr4_dirent.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_dirent.h,v 1.2 1996/08/02 20:35:35 niklas Exp $ */ /* $NetBSD: svr4_dirent.h,v 1.4 1995/10/07 06:27:37 mycroft Exp $ */ /* diff --git a/sys/compat/svr4/svr4_errno.h b/sys/compat/svr4/svr4_errno.h index 63fa48872d7..eb39c67c32c 100644 --- a/sys/compat/svr4/svr4_errno.h +++ b/sys/compat/svr4/svr4_errno.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_errno.h,v 1.2 1996/08/02 20:35:36 niklas Exp $ */ /* $NetBSD: svr4_errno.h,v 1.2 1994/11/18 02:53:37 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_error.c b/sys/compat/svr4/svr4_error.c index 7f674e28284..e0eaa3c57a0 100644 --- a/sys/compat/svr4/svr4_error.c +++ b/sys/compat/svr4/svr4_error.c @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_error.c,v 1.2 1996/08/02 20:35:36 niklas Exp $ */ /* $NetBSD: svr4_error.c,v 1.2 1994/11/18 02:53:41 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_exec.c b/sys/compat/svr4/svr4_exec.c index 866d421d9c8..dabbe692999 100644 --- a/sys/compat/svr4/svr4_exec.c +++ b/sys/compat/svr4/svr4_exec.c @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_exec.c,v 1.3 1996/08/02 20:35:37 niklas Exp $ */ /* $NetBSD: svr4_exec.c,v 1.16 1995/10/14 20:24:20 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_exec.h b/sys/compat/svr4/svr4_exec.h index 747e7866b35..5a7d4cab653 100644 --- a/sys/compat/svr4/svr4_exec.h +++ b/sys/compat/svr4/svr4_exec.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_exec.h,v 1.2 1996/08/02 20:35:37 niklas Exp $ */ /* $NetBSD: svr4_exec.h,v 1.7 1995/07/02 06:16:06 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_fcntl.h b/sys/compat/svr4/svr4_fcntl.h index 3559b4a6dc3..6b49376f12e 100644 --- a/sys/compat/svr4/svr4_fcntl.h +++ b/sys/compat/svr4/svr4_fcntl.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_fcntl.h,v 1.2 1996/08/02 20:35:38 niklas Exp $ */ /* $NetBSD: svr4_fcntl.h,v 1.3 1994/10/29 00:43:19 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_filio.h b/sys/compat/svr4/svr4_filio.h index 676f8d802de..ba9c3775e25 100644 --- a/sys/compat/svr4/svr4_filio.h +++ b/sys/compat/svr4/svr4_filio.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_filio.h,v 1.2 1996/08/02 20:35:38 niklas Exp $ */ /* $NetBSD: svr4_filio.h,v 1.2 1994/11/18 02:53:45 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_fuser.h b/sys/compat/svr4/svr4_fuser.h index dd83b89c434..33197c9479a 100644 --- a/sys/compat/svr4/svr4_fuser.h +++ b/sys/compat/svr4/svr4_fuser.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_fuser.h,v 1.2 1996/08/02 20:35:38 niklas Exp $ */ /* $NetBSD: svr4_fuser.h,v 1.3 1994/10/29 00:43:20 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_hrt.h b/sys/compat/svr4/svr4_hrt.h index ebbf9322518..da82458c547 100644 --- a/sys/compat/svr4/svr4_hrt.h +++ b/sys/compat/svr4/svr4_hrt.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_hrt.h,v 1.2 1996/08/02 20:35:39 niklas Exp $ */ /* $NetBSD: svr4_hrt.h,v 1.1 1994/11/18 02:56:09 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_ipc.c b/sys/compat/svr4/svr4_ipc.c index 76da560f0c8..3426cf4ec52 100644 --- a/sys/compat/svr4/svr4_ipc.c +++ b/sys/compat/svr4/svr4_ipc.c @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_ipc.c,v 1.2 1996/08/02 20:35:39 niklas Exp $ */ /* $NetBSD: svr4_ipc.c,v 1.1 1995/10/14 20:24:30 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_ipc.h b/sys/compat/svr4/svr4_ipc.h index b87555d4280..23d81634785 100644 --- a/sys/compat/svr4/svr4_ipc.h +++ b/sys/compat/svr4/svr4_ipc.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_ipc.h,v 1.2 1996/08/02 20:35:40 niklas Exp $ */ /* $NetBSD: svr4_ipc.h,v 1.1 1995/10/14 20:24:32 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_siginfo.h b/sys/compat/svr4/svr4_siginfo.h index 0175de9dcec..a14e81f94f7 100644 --- a/sys/compat/svr4/svr4_siginfo.h +++ b/sys/compat/svr4/svr4_siginfo.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_siginfo.h,v 1.2 1996/08/02 20:35:40 niklas Exp $ */ /* $NetBSD: svr4_siginfo.h,v 1.2 1995/07/04 19:47:05 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_signal.h b/sys/compat/svr4/svr4_signal.h index fad82523a19..8af8a930196 100644 --- a/sys/compat/svr4/svr4_signal.h +++ b/sys/compat/svr4/svr4_signal.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_signal.h,v 1.3 1996/08/02 20:35:41 niklas Exp $ */ /* $NetBSD: svr4_signal.h,v 1.14 1995/10/14 20:24:41 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_sockio.h b/sys/compat/svr4/svr4_sockio.h index efa9db8f3ca..d83999a4c4f 100644 --- a/sys/compat/svr4/svr4_sockio.h +++ b/sys/compat/svr4/svr4_sockio.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_sockio.h,v 1.2 1996/08/02 20:35:41 niklas Exp $ */ /* $NetBSD: svr4_sockio.h,v 1.2 1995/07/04 23:00:13 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_sockmod.h b/sys/compat/svr4/svr4_sockmod.h index 027da79dffe..f9cb448537d 100644 --- a/sys/compat/svr4/svr4_sockmod.h +++ b/sys/compat/svr4/svr4_sockmod.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_sockmod.h,v 1.3 1996/08/02 20:35:41 niklas Exp $ */ /* $NetBSD: svr4_sockmod.h,v 1.4 1996/05/13 16:57:53 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_statvfs.h b/sys/compat/svr4/svr4_statvfs.h index d5f592018ff..7ddaf1c9842 100644 --- a/sys/compat/svr4/svr4_statvfs.h +++ b/sys/compat/svr4/svr4_statvfs.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_statvfs.h,v 1.2 1996/08/02 20:35:42 niklas Exp $ */ /* $NetBSD: svr4_statvfs.h,v 1.1 1995/01/08 21:31:39 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_syscall.h b/sys/compat/svr4/svr4_syscall.h index 56b9d063d6f..0c134cf3c9e 100644 --- a/sys/compat/svr4/svr4_syscall.h +++ b/sys/compat/svr4/svr4_syscall.h @@ -2,7 +2,7 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.5 1996/04/21 22:18:42 deraadt Exp + * created from OpenBSD: syscalls.master,v 1.7 1996/08/02 20:20:33 niklas Exp */ #define SVR4_SYS_syscall 0 diff --git a/sys/compat/svr4/svr4_syscallargs.h b/sys/compat/svr4/svr4_syscallargs.h index 696a55252a1..dfd7ca18e1a 100644 --- a/sys/compat/svr4/svr4_syscallargs.h +++ b/sys/compat/svr4/svr4_syscallargs.h @@ -2,7 +2,7 @@ * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.5 1996/04/21 22:18:42 deraadt Exp + * created from OpenBSD: syscalls.master,v 1.7 1996/08/02 20:20:33 niklas Exp */ #define syscallarg(x) union { x datum; register_t pad; } @@ -163,9 +163,9 @@ struct svr4_sys_putmsg_args { syscallarg(int) flags; }; -struct svr4_sys_poll_args { - syscallarg(struct svr4_pollfd *) fds; - syscallarg(long) nfds; +struct sys_poll_args { + syscallarg(struct pollfd *) fds; + syscallarg(unsigned long) nfds; syscallarg(int) timeout; }; @@ -382,7 +382,7 @@ int sys_mkdir __P((struct proc *, void *, register_t *)); int svr4_sys_getdents __P((struct proc *, void *, register_t *)); int svr4_sys_getmsg __P((struct proc *, void *, register_t *)); int svr4_sys_putmsg __P((struct proc *, void *, register_t *)); -int svr4_sys_poll __P((struct proc *, void *, register_t *)); +int sys_poll __P((struct proc *, void *, register_t *)); int svr4_sys_lstat __P((struct proc *, void *, register_t *)); int sys_symlink __P((struct proc *, void *, register_t *)); int sys_readlink __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/svr4/svr4_syscalls.c b/sys/compat/svr4/svr4_syscalls.c index 8a8ffd424a3..785ba596759 100644 --- a/sys/compat/svr4/svr4_syscalls.c +++ b/sys/compat/svr4/svr4_syscalls.c @@ -2,7 +2,7 @@ * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.5 1996/04/21 22:18:42 deraadt Exp + * created from OpenBSD: syscalls.master,v 1.7 1996/08/02 20:20:33 niklas Exp */ char *svr4_syscallnames[] = { diff --git a/sys/compat/svr4/svr4_sysconfig.h b/sys/compat/svr4/svr4_sysconfig.h index b487ac86414..b9906940301 100644 --- a/sys/compat/svr4/svr4_sysconfig.h +++ b/sys/compat/svr4/svr4_sysconfig.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_sysconfig.h,v 1.2 1996/08/02 20:35:44 niklas Exp $ */ /* $NetBSD: svr4_sysconfig.h,v 1.1 1995/07/02 06:16:10 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_sysent.c b/sys/compat/svr4/svr4_sysent.c index d72618bfa8e..7f7a6eced41 100644 --- a/sys/compat/svr4/svr4_sysent.c +++ b/sys/compat/svr4/svr4_sysent.c @@ -2,7 +2,7 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.5 1996/04/21 22:18:42 deraadt Exp + * created from OpenBSD: syscalls.master,v 1.7 1996/08/02 20:20:33 niklas Exp */ #include <sys/param.h> @@ -232,8 +232,8 @@ struct sysent svr4_sysent[] = { svr4_sys_getmsg }, /* 85 = getmsg */ { 4, s(struct svr4_sys_putmsg_args), svr4_sys_putmsg }, /* 86 = putmsg */ - { 3, s(struct svr4_sys_poll_args), - svr4_sys_poll }, /* 87 = poll */ + { 3, s(struct sys_poll_args), + sys_poll }, /* 87 = poll */ { 2, s(struct svr4_sys_lstat_args), svr4_sys_lstat }, /* 88 = lstat */ { 2, s(struct sys_symlink_args), diff --git a/sys/compat/svr4/svr4_systeminfo.h b/sys/compat/svr4/svr4_systeminfo.h index bec9e463b96..0d817e39acf 100644 --- a/sys/compat/svr4/svr4_systeminfo.h +++ b/sys/compat/svr4/svr4_systeminfo.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_systeminfo.h,v 1.3 1996/08/02 20:35:45 niklas Exp $ */ /* $NetBSD: svr4_systeminfo.h,v 1.3 1996/04/22 01:16:04 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_termios.h b/sys/compat/svr4/svr4_termios.h index 8ece5669264..d04b6fcd695 100644 --- a/sys/compat/svr4/svr4_termios.h +++ b/sys/compat/svr4/svr4_termios.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_termios.h,v 1.3 1996/08/02 20:35:45 niklas Exp $ */ /* $NetBSD: svr4_termios.h,v 1.2 1994/11/18 02:54:21 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_time.h b/sys/compat/svr4/svr4_time.h index 7644cfcb877..c836a1850f4 100644 --- a/sys/compat/svr4/svr4_time.h +++ b/sys/compat/svr4/svr4_time.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_time.h,v 1.3 1996/08/02 20:35:46 niklas Exp $ */ /* $NetBSD: svr4_time.h,v 1.4 1995/12/19 07:13:23 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_ttold.h b/sys/compat/svr4/svr4_ttold.h index 287d4ca63f4..2d9cf0388b4 100644 --- a/sys/compat/svr4/svr4_ttold.h +++ b/sys/compat/svr4/svr4_ttold.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_ttold.h,v 1.2 1996/08/02 20:35:46 niklas Exp $ */ /* $NetBSD: svr4_ttold.h,v 1.2 1994/11/18 02:54:25 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_types.h b/sys/compat/svr4/svr4_types.h index 542fa328b40..433e8eefafc 100644 --- a/sys/compat/svr4/svr4_types.h +++ b/sys/compat/svr4/svr4_types.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_types.h,v 1.3 1996/08/02 20:35:46 niklas Exp $ */ /* $NetBSD: svr4_types.h,v 1.7 1995/10/14 20:25:04 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_ucontext.h b/sys/compat/svr4/svr4_ucontext.h index 5359acaa685..f2b8884f615 100644 --- a/sys/compat/svr4/svr4_ucontext.h +++ b/sys/compat/svr4/svr4_ucontext.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_ucontext.h,v 1.2 1996/08/02 20:35:47 niklas Exp $ */ /* $NetBSD: svr4_ucontext.h,v 1.3 1995/08/14 01:13:29 mycroft Exp $ */ /* diff --git a/sys/compat/svr4/svr4_ulimit.h b/sys/compat/svr4/svr4_ulimit.h index 270ba05b4fe..9c1ab4aad14 100644 --- a/sys/compat/svr4/svr4_ulimit.h +++ b/sys/compat/svr4/svr4_ulimit.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_ulimit.h,v 1.2 1996/08/02 20:35:47 niklas Exp $ */ /* $NetBSD: svr4_ulimit.h,v 1.2 1994/11/18 02:54:29 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_ustat.h b/sys/compat/svr4/svr4_ustat.h index af9f808a605..380723b287e 100644 --- a/sys/compat/svr4/svr4_ustat.h +++ b/sys/compat/svr4/svr4_ustat.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_ustat.h,v 1.2 1996/08/02 20:35:48 niklas Exp $ */ /* $NetBSD: svr4_ustat.h,v 1.3 1994/10/29 00:43:30 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_utsname.h b/sys/compat/svr4/svr4_utsname.h index 73c0805a319..26aff2868f4 100644 --- a/sys/compat/svr4/svr4_utsname.h +++ b/sys/compat/svr4/svr4_utsname.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_utsname.h,v 1.2 1996/08/02 20:35:48 niklas Exp $ */ /* $NetBSD: svr4_utsname.h,v 1.3 1994/10/29 00:43:33 christos Exp $ */ /* diff --git a/sys/compat/svr4/svr4_wait.h b/sys/compat/svr4/svr4_wait.h index e726c67c970..4a46b3d8d58 100644 --- a/sys/compat/svr4/svr4_wait.h +++ b/sys/compat/svr4/svr4_wait.h @@ -1,3 +1,4 @@ +/* $OpenBSD: svr4_wait.h,v 1.2 1996/08/02 20:35:49 niklas Exp $ */ /* $NetBSD: svr4_wait.h,v 1.5 1995/03/31 03:06:50 christos Exp $ */ /* diff --git a/sys/compat/svr4/syscalls.conf b/sys/compat/svr4/syscalls.conf index 2cb29b9c956..272b2b603b8 100644 --- a/sys/compat/svr4/syscalls.conf +++ b/sys/compat/svr4/syscalls.conf @@ -1,3 +1,4 @@ +# $OpenBSD: syscalls.conf,v 1.2 1996/08/02 20:35:49 niklas Exp $ # $NetBSD: syscalls.conf,v 1.3 1994/10/26 05:28:08 cgd Exp $ sysnames="svr4_syscalls.c" diff --git a/sys/compat/ultrix/Makefile b/sys/compat/ultrix/Makefile new file mode 100644 index 00000000000..4455a9bb8fb --- /dev/null +++ b/sys/compat/ultrix/Makefile @@ -0,0 +1,11 @@ +# $OpenBSD: Makefile,v 1.1 1996/08/02 20:35:50 niklas Exp $ + +DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh +OBJS= ultrix_sysent.c ultrix_syscalls.c ultrix_syscall.h ultrix_syscallargs.h + +${OBJS}: ${DEP} + -mv -f ultrix_sysent.c ultrix_sysent.c.bak + -mv -f ultrix_syscalls.c ultrix_syscalls.c.bak + -mv -f ultrix_syscall.h ultrix_syscall.h.bak + -mv -f ultrix_syscallargs.h ultrix_syscallargs.h.bak + sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master diff --git a/sys/compat/ultrix/files.ultrix b/sys/compat/ultrix/files.ultrix index 7425a11eae6..08017990b89 100644 --- a/sys/compat/ultrix/files.ultrix +++ b/sys/compat/ultrix/files.ultrix @@ -1,3 +1,4 @@ +# $OpenBSD: files.ultrix,v 1.4 1996/08/02 20:35:50 niklas Exp $ # $NetBSD: files.ultrix,v 1.3 1996/01/07 13:38:49 jonathan Exp $ # # Config file description for machine-independent Ultrix compat code. diff --git a/sys/compat/ultrix/syscalls.conf b/sys/compat/ultrix/syscalls.conf index 6b5702359e9..5077015d598 100644 --- a/sys/compat/ultrix/syscalls.conf +++ b/sys/compat/ultrix/syscalls.conf @@ -1,3 +1,4 @@ +# $OpenBSD: syscalls.conf,v 1.2 1996/08/02 20:35:50 niklas Exp $ # $NetBSD: syscalls.conf,v 1.1 1994/11/23 17:49:06 dean Exp $ sysnames="ultrix_syscalls.c" diff --git a/sys/compat/ultrix/ultrix_ioctl.c b/sys/compat/ultrix/ultrix_ioctl.c index 79a616dad25..5affc596037 100644 --- a/sys/compat/ultrix/ultrix_ioctl.c +++ b/sys/compat/ultrix/ultrix_ioctl.c @@ -1,3 +1,4 @@ +/* $OpenBSD: ultrix_ioctl.c,v 1.5 1996/08/02 20:35:51 niklas Exp $ */ /* $NetBSD: ultrix_ioctl.c,v 1.3.4.1 1996/06/13 18:22:37 jonathan Exp $ */ /* from : NetBSD: sunos_ioctl.c,v 1.21 1995/10/07 06:27:31 mycroft Exp */ diff --git a/sys/compat/ultrix/ultrix_pathname.c b/sys/compat/ultrix/ultrix_pathname.c index faa63931320..24166358677 100644 --- a/sys/compat/ultrix/ultrix_pathname.c +++ b/sys/compat/ultrix/ultrix_pathname.c @@ -1,3 +1,4 @@ +/* $OpenBSD: ultrix_pathname.c,v 1.3 1996/08/02 20:35:52 niklas Exp $ */ /* $NetBSD: ultrix_pathname.c,v 1.2 1996/04/07 17:23:07 jonathan Exp $ */ /* diff --git a/sys/compat/ultrix/ultrix_syscall.h b/sys/compat/ultrix/ultrix_syscall.h index 97d853e3550..11dcb632970 100644 --- a/sys/compat/ultrix/ultrix_syscall.h +++ b/sys/compat/ultrix/ultrix_syscall.h @@ -2,7 +2,7 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.14 1995/12/26 10:06:15 jonathan Exp + * created from OpenBSD: syscalls.master,v 1.4 1996/08/02 20:29:13 niklas Exp */ #define ULTRIX_SYS_syscall 0 diff --git a/sys/compat/ultrix/ultrix_syscallargs.h b/sys/compat/ultrix/ultrix_syscallargs.h index 06a3470bf0b..03320491e4a 100644 --- a/sys/compat/ultrix/ultrix_syscallargs.h +++ b/sys/compat/ultrix/ultrix_syscallargs.h @@ -2,7 +2,7 @@ * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.14 1995/12/26 10:06:15 jonathan Exp + * created from OpenBSD: syscalls.master,v 1.4 1996/08/02 20:29:13 niklas Exp */ #define syscallarg(x) union { x datum; register_t pad; } diff --git a/sys/compat/ultrix/ultrix_syscalls.c b/sys/compat/ultrix/ultrix_syscalls.c index b606612a6df..3f01b530dcd 100644 --- a/sys/compat/ultrix/ultrix_syscalls.c +++ b/sys/compat/ultrix/ultrix_syscalls.c @@ -2,7 +2,7 @@ * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.14 1995/12/26 10:06:15 jonathan Exp + * created from OpenBSD: syscalls.master,v 1.4 1996/08/02 20:29:13 niklas Exp */ char *ultrix_syscallnames[] = { diff --git a/sys/compat/ultrix/ultrix_sysent.c b/sys/compat/ultrix/ultrix_sysent.c index 4ccde208410..bb2f9420075 100644 --- a/sys/compat/ultrix/ultrix_sysent.c +++ b/sys/compat/ultrix/ultrix_sysent.c @@ -2,7 +2,7 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.14 1995/12/26 10:06:15 jonathan Exp + * created from OpenBSD: syscalls.master,v 1.4 1996/08/02 20:29:13 niklas Exp */ #include <sys/param.h> diff --git a/sys/compat/ultrix/ultrix_tty.h b/sys/compat/ultrix/ultrix_tty.h index 487a6af662e..d215732f3ae 100644 --- a/sys/compat/ultrix/ultrix_tty.h +++ b/sys/compat/ultrix/ultrix_tty.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ultrix_tty.h,v 1.3 1996/08/02 20:35:54 niklas Exp $ */ /* $NetBSD: ultrix_tty.h,v 1.2 1996/01/04 19:03:36 jonathan Exp $ */ /* From: NetBSD sunos.h,v 1.4 1995/03/04 09:50:00 pk Exp */ diff --git a/sys/compat/ultrix/ultrix_util.h b/sys/compat/ultrix/ultrix_util.h index fe908ae8b19..4934887068e 100644 --- a/sys/compat/ultrix/ultrix_util.h +++ b/sys/compat/ultrix/ultrix_util.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ultrix_util.h,v 1.2 1996/08/02 20:35:54 niklas Exp $ */ /* $NetBSD: ultrix_util.h,v 1.1 1996/01/07 13:38:57 jonathan Exp $ */ /* |