Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Remove compat_osf1, discussed on tech-kern@.



details:   https://anonhg.NetBSD.org/src/rev/3e071adea18e
branches:  trunk
changeset: 449831:3e071adea18e
user:      maxv <maxv%NetBSD.org@localhost>
date:      Mon Mar 25 19:24:29 2019 +0000

description:
Remove compat_osf1, discussed on tech-kern@.

diffstat:

 distrib/sets/lists/man/mi                |     8 +-
 share/man/man4/options.4                 |    11 +-
 share/man/man7/hier.7                    |     8 +-
 share/man/man7/symlink.7                 |     5 +-
 share/man/man8/Makefile                  |     4 +-
 share/man/man8/compat_osf1.8             |   123 --
 sys/arch/alpha/alpha/compat_16_machdep.c |    11 +-
 sys/arch/alpha/alpha/fp_complete.c       |    20 +-
 sys/arch/alpha/alpha/machdep.c           |     5 +-
 sys/arch/alpha/alpha/osf1_sigcode.s      |    83 -
 sys/arch/alpha/alpha/osf1_syscall.c      |   310 -----
 sys/arch/alpha/conf/GENERIC              |     7 +-
 sys/arch/alpha/conf/files.alpha          |    11 +-
 sys/arch/alpha/include/frame.h           |     6 +-
 sys/arch/alpha/include/signal.h          |     9 +-
 sys/compat/Makefile                      |     4 +-
 sys/compat/Makefile.syscall              |     4 +-
 sys/compat/osf1/Makefile                 |     5 -
 sys/compat/osf1/README.dynamic           |    54 -
 sys/compat/osf1/README.mach-traps        |    74 -
 sys/compat/osf1/README.syscalls          |   163 --
 sys/compat/osf1/files.osf1               |    38 -
 sys/compat/osf1/osf1.h                   |   656 ----------
 sys/compat/osf1/osf1_cvt.c               |   629 ----------
 sys/compat/osf1/osf1_cvt.h               |    96 -
 sys/compat/osf1/osf1_descrip.c           |   271 ----
 sys/compat/osf1/osf1_dirent.h            |    47 -
 sys/compat/osf1/osf1_errno.c             |   146 --
 sys/compat/osf1/osf1_errno.h             |   148 --
 sys/compat/osf1/osf1_exec.c              |   101 -
 sys/compat/osf1/osf1_exec.h              |    45 -
 sys/compat/osf1/osf1_exec_ecoff.c        |   305 -----
 sys/compat/osf1/osf1_file.c              |   437 -------
 sys/compat/osf1/osf1_generic.c           |   178 --
 sys/compat/osf1/osf1_ioctl.c             |   231 ---
 sys/compat/osf1/osf1_misc.c              |   426 -------
 sys/compat/osf1/osf1_mmap.c              |   219 ---
 sys/compat/osf1/osf1_mod.c               |    84 -
 sys/compat/osf1/osf1_mount.c             |   313 -----
 sys/compat/osf1/osf1_prot.c              |   117 -
 sys/compat/osf1/osf1_resource.c          |   158 --
 sys/compat/osf1/osf1_signal.c            |   299 ----
 sys/compat/osf1/osf1_signal.h            |    50 -
 sys/compat/osf1/osf1_signo.c             |   116 -
 sys/compat/osf1/osf1_socket.c            |   193 ---
 sys/compat/osf1/osf1_syscall.h           |   428 -------
 sys/compat/osf1/osf1_syscallargs.h       |   837 -------------
 sys/compat/osf1/osf1_syscalls.c          |  1059 -----------------
 sys/compat/osf1/osf1_sysent.c            |  1798 ------------------------------
 sys/compat/osf1/osf1_sysv_ipc.c          |    78 -
 sys/compat/osf1/osf1_time.c              |   185 ---
 sys/compat/osf1/syscalls.conf            |    13 -
 sys/compat/osf1/syscalls.master          |   394 ------
 sys/conf/files                           |     3 +-
 sys/sys/ioctl.h                          |     5 +-
 usr.bin/kdump/setemul.c                  |    12 +-
 56 files changed, 42 insertions(+), 10998 deletions(-)

diffs (truncated from 11571 to 300 lines):

diff -r b3fd258a3f10 -r 3e071adea18e distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Mon Mar 25 11:44:10 2019 +0000
+++ b/distrib/sets/lists/man/mi Mon Mar 25 19:24:29 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1640 2019/03/17 00:35:09 tnn Exp $
+# $NetBSD: mi,v 1.1641 2019/03/25 19:24:29 maxv Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -2448,7 +2448,7 @@
 ./usr/share/man/cat8/compat_ibcs2.0            man-obsolete            obsolete
 ./usr/share/man/cat8/compat_linux.0            man-sys-catman          .cat
 ./usr/share/man/cat8/compat_netbsd32.0         man-sys-catman          .cat
-./usr/share/man/cat8/compat_osf1.0             man-sys-catman          .cat
+./usr/share/man/cat8/compat_osf1.0             man-obsolete            obsolete
 ./usr/share/man/cat8/compat_pecoff.0           man-obsolete            obsolete
 ./usr/share/man/cat8/compat_sco.0              man-obsolete            obsolete
 ./usr/share/man/cat8/compat_solaris.0          man-obsolete            obsolete
@@ -5467,7 +5467,7 @@
 ./usr/share/man/html8/compat_ibcs2.html                man-obsolete            obsolete
 ./usr/share/man/html8/compat_linux.html                man-sys-htmlman         html
 ./usr/share/man/html8/compat_netbsd32.html     man-sys-htmlman         html
-./usr/share/man/html8/compat_osf1.html         man-sys-htmlman         html
+./usr/share/man/html8/compat_osf1.html         man-obsolete            obsolete
 ./usr/share/man/html8/compat_pecoff.html       man-obsolete            obsolete
 ./usr/share/man/html8/compat_sco.html          man-obsolete            obsolete
 ./usr/share/man/html8/compat_solaris.html      man-obsolete            obsolete
@@ -8539,7 +8539,7 @@
 ./usr/share/man/man8/compat_ibcs2.8            man-obsolete            obsolete
 ./usr/share/man/man8/compat_linux.8            man-sys-man             .man
 ./usr/share/man/man8/compat_netbsd32.8         man-sys-man             .man
-./usr/share/man/man8/compat_osf1.8             man-sys-man             .man
+./usr/share/man/man8/compat_osf1.8             man-obsolete            obsolete
 ./usr/share/man/man8/compat_pecoff.8           man-obsolete            obsolete
 ./usr/share/man/man8/compat_sco.8              man-obsolete            obsolete
 ./usr/share/man/man8/compat_solaris.8          man-obsolete            obsolete
diff -r b3fd258a3f10 -r 3e071adea18e share/man/man4/options.4
--- a/share/man/man4/options.4  Mon Mar 25 11:44:10 2019 +0000
+++ b/share/man/man4/options.4  Mon Mar 25 19:24:29 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: options.4,v 1.497 2018/12/29 11:30:11 maxv Exp $
+.\"    $NetBSD: options.4,v 1.498 2019/03/25 19:24:30 maxv Exp $
 .\"
 .\" Copyright (c) 1996
 .\"    Perry E. Metzger.  All rights reserved.
@@ -30,7 +30,7 @@
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\"
-.Dd December 29, 2018
+.Dd March 25, 2019
 .Dt OPTIONS 4
 .Os
 .Sh NAME
@@ -440,13 +440,6 @@
 .Fx
 applications built for the same architecture.
 At the moment this is limited to the i386 port.
-.It Cd options COMPAT_OSF1
-On those architectures that support it, this enables binary
-compatibility with Digital
-.Ux
-(formerly OSF/1)
-applications built for the same architecture.
-This is currently limited to the alpha port.
 .It Cd options COMPAT_NOMID
 Enable compatibility with
 .Xr a.out 5
diff -r b3fd258a3f10 -r 3e071adea18e share/man/man7/hier.7
--- a/share/man/man7/hier.7     Mon Mar 25 11:44:10 2019 +0000
+++ b/share/man/man7/hier.7     Mon Mar 25 19:24:29 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: hier.7,v 1.135 2018/12/29 11:30:11 maxv Exp $
+.\"    $NetBSD: hier.7,v 1.136 2019/03/25 19:24:30 maxv Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"    @(#)hier.7      8.5 (Berkeley) 6/1/94
 .\"
-.Dd December 29, 2018
+.Dd March 25, 2019
 .Dt HIER 7
 .Os
 .Sh NAME
@@ -893,10 +893,6 @@
 Support for
 .Nx
 32-bit binaries on 64 bit platforms with compatible CPU families.
-.It Pa osf1/
-Support for Digital
-.Ux
-(formerly OSF/1) binaries.
 .It Pa ossaudio/
 Support for OSS audio.
 .It Pa sunos/
diff -r b3fd258a3f10 -r 3e071adea18e share/man/man7/symlink.7
--- a/share/man/man7/symlink.7  Mon Mar 25 11:44:10 2019 +0000
+++ b/share/man/man7/symlink.7  Mon Mar 25 19:24:29 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: symlink.7,v 1.28 2018/12/29 11:33:00 maxv Exp $
+.\"    $NetBSD: symlink.7,v 1.29 2019/03/25 19:24:30 maxv Exp $
 .\"
 .\" Copyright (c) 1992, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"    @(#)symlink.7   8.3 (Berkeley) 3/31/94
 .\"
-.Dd December 29, 2018
+.Dd March 25, 2019
 .Dt SYMLINK 7
 .Os
 .Sh NAME
@@ -569,7 +569,6 @@
 .Dv linux32 ,
 .Dv m68k4k ,
 .Dv netbsd32 ,
-.Dv osf1 ,
 .Dv sunos ,
 .Dv sunos32 ,
 .Dv ultrix ,
diff -r b3fd258a3f10 -r 3e071adea18e share/man/man8/Makefile
--- a/share/man/man8/Makefile   Mon Mar 25 11:44:10 2019 +0000
+++ b/share/man/man8/Makefile   Mon Mar 25 19:24:29 2019 +0000
@@ -1,9 +1,9 @@
-#      $NetBSD: Makefile,v 1.107 2018/12/29 11:30:11 maxv Exp $
+#      $NetBSD: Makefile,v 1.108 2019/03/25 19:24:30 maxv Exp $
 #      from: @(#)Makefile      8.1 (Berkeley) 6/5/93
 
 MAN=   MAKEDEV.8 MAKEDEV.local.8 afterboot.8 boot.8 compat_30.8 \
        compat_freebsd.8 compat_linux.8 \
-       compat_netbsd32.8 compat_osf1.8 compat_sunos.8 \
+       compat_netbsd32.8 compat_sunos.8 \
        compat_ultrix.8 diskless.8 hpcboot.8 \
        intro.8 nis.8 pam.8 rc.8 rc.subr.8 rescue.8 \
        sysinst.8 veriexec.8 \
diff -r b3fd258a3f10 -r 3e071adea18e share/man/man8/compat_osf1.8
--- a/share/man/man8/compat_osf1.8      Mon Mar 25 11:44:10 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,123 +0,0 @@
-.\" $NetBSD: compat_osf1.8,v 1.12 2008/04/30 13:10:57 martin Exp $
-.\"
-.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
-.\" All rights reserved.
-.\"
-.\" This code is derived from software contributed to The NetBSD Foundation
-.\" by Roland C. Dowdeswell.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
-.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
-.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-.\" POSSIBILITY OF SUCH DAMAGE.
-.\"
-.Dd November 4, 1999
-.Dt COMPAT_OSF1 8
-.Os
-.Sh NAME
-.Nm compat_osf1
-.Nd setup procedure for running OSF/1 binaries
-.Sh DESCRIPTION
-.Nx
-supports running OSF/1 (a.k.a Digital Unix, a.k.a. Tru64) binaries on
-.Nx Ns Tn /alpha
-systems.
-Most programs should work, including the ones that use the shared object
-libraries.
-Programs that make direct MACH system calls will not work.
-The OSF/1 compatibility feature is active for kernels compiled with the
-.Dv COMPAT_OSF1
-option enabled (see
-.Xr options 4 ) .
-.Pp
-To run dynamically linked programs, you will need the OSF/1 shared libraries,
-runtime linker, and certain configuration files found in /etc.
-These are installed in a
-.Dq shadow root
-directory called
-.Pa /emul/osf1 .
-Any file operations done by OSF/1 programs run under
-.Nx
-will look in this directory first, and fall back to the file system proper.
-So, if an OSF/1 program opens
-.Pa /etc/svc.conf ,
-.Nx
-will first try to open
-.Pa /emul/osf1/etc/svc.conf ,
-and if that file does not exist it will then try
-.Pa /etc/svc.conf .
-Shared libraries and configuration specific to OSF/1 should be installed
-in the shadow tree.
-.Ss Setting up /emul/osf1
-The simple technique is to install pkgsrc/emulators/osf1_lib.
-(You may
-also want to install pkgsrc/www/navigator and/or pkgsrc/www/communicator.)
-.Pp
-Alternatively, if you have access to an OSF/1 machine and if the licensing
-details permit, you can copy the contents of:
-.Bl -item -compact -offset indent
-.It
-.Pa /shlib
-.It
-.Pa /usr/shlib
-.It
-.Pa /etc/sia
-.It
-.Pa /usr/lib/X11/locale
-.El
-.Pp
-(The latter is required to run Netscape Navigator or Communicator.)
-.Pp
-Also copy
-.Bl -item -compact -offset indent
-.It
-.Pa /etc/svc.conf
-.It
-.Pa /usr/ccs/lib/cmplrs/otabase/libots.so
-.It
-.Pa /sbin/loader
-.El
-.Pp
-Or, simply NFS mount the appropriate directories under
-.Pa /emul/osf1 .
-.Sh SEE ALSO
-.Xr config 1 ,
-.Xr options 4
-.Sh BUGS
-Your
-.Xr hostname 1
-.Em must
-contain a dot
-.Em or
-your
-.Xr resolv.conf 5
-must contain a
-.Li search
-line.
-Without one of those, the OSF/1 resolver will die and no hostname
-resolution will be possible.
-.Pp
-Certain values in
-.Pa /emul/osf1/etc/svc.conf
-can cause programs to fail with
-.Dq Bad system call .
-.Pp
-Pathnames pointed to by symbolic links are not looked up in the
-shadow root when running an OSF/1 executable.
-This is not consistent.
diff -r b3fd258a3f10 -r 3e071adea18e sys/arch/alpha/alpha/compat_16_machdep.c
--- a/sys/arch/alpha/alpha/compat_16_machdep.c  Mon Mar 25 11:44:10 2019 +0000
+++ b/sys/arch/alpha/alpha/compat_16_machdep.c  Mon Mar 25 19:24:29 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_16_machdep.c,v 1.21 2017/03/16 16:13:20 chs Exp $ */
+/* $NetBSD: compat_16_machdep.c,v 1.22 2019/03/25 19:24:30 maxv Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -63,7 +63,6 @@
 #include "opt_multiprocessor.h"
 #include "opt_dec_3000_300.h"
 #include "opt_dec_3000_500.h"
-#include "opt_compat_osf1.h"
 #include "opt_compat_netbsd.h"
 #include "opt_execfmt.h"
 #endif /* _KERNEL_OPT */
@@ -78,7 +77,7 @@
 #include <sys/syscall.h>
 #include <sys/syscallargs.h>
 
-#if defined(COMPAT_13) || defined(COMPAT_OSF1)
+#if defined(COMPAT_13)
 #include <compat/sys/signal.h>
 #include <compat/sys/signalvar.h>
 #endif
@@ -86,7 +85,7 @@
 #include <machine/cpu.h>
 #include <machine/reg.h>
 
-__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.21 2017/03/16 16:13:20 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.22 2019/03/25 19:24:30 maxv Exp $");
 
 
 #ifdef DEBUG



Home | Main Index | Thread Index | Old Index