Sat Aug 29 21:42:25 2020 UTC ()
Minor wording tweaks from Dan Plassche.


(uwe)
diff -r1.3 -r1.4 src/share/man/man8/compat_bsdos.8

cvs diff -r1.3 -r1.4 src/share/man/man8/compat_bsdos.8 (expand / switch to unified diff)

--- src/share/man/man8/compat_bsdos.8 2020/08/28 17:13:13 1.3
+++ src/share/man/man8/compat_bsdos.8 2020/08/29 21:42:25 1.4
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: compat_bsdos.8,v 1.3 2020/08/28 17:13:13 wiz Exp $ 1.\" $NetBSD: compat_bsdos.8,v 1.4 2020/08/29 21:42:25 uwe Exp $
2.\" 2.\"
3.\" Copyright (c) 2020 The NetBSD Foundation, Inc. 3.\" Copyright (c) 2020 The NetBSD Foundation, Inc.
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation 6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Dan Plassche. 7.\" by Dan Plassche.
8.\" 8.\"
9.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions 10.\" modification, are permitted provided that the following conditions
11.\" are met: 11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright 12.\" 1. Redistributions of source code must retain the above copyright
13.\" notice, this list of conditions and the following disclaimer. 13.\" notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright 14.\" 2. Redistributions in binary form must reproduce the above copyright
@@ -26,58 +26,59 @@ @@ -26,58 +26,59 @@
26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28.\" POSSIBILITY OF SUCH DAMAGE. 28.\" POSSIBILITY OF SUCH DAMAGE.
29.\" 29.\"
30.Dd August 27, 2020 30.Dd August 27, 2020
31.Dt COMPAT_BSDOS 8 31.Dt COMPAT_BSDOS 8
32.Os 32.Os
33.Sh NAME 33.Sh NAME
34.Nm compat_bsdos 34.Nm compat_bsdos
35.Nd binary compatibility for BSDi releases 35.Nd binary compatibility for BSDi releases
36.Sh DESCRIPTION 36.Sh DESCRIPTION
37The 37The
38.Dv COMPAT_NOMID 38.Dv COMPAT_NOMID
39kernel option provides compatibility with 39kernel option includes compatibility with
40.Tn BSDi Ns No \ 1. Ns Em \^x Ns \|\(en\|3. Ns Em \^x 40.Tn BSDi Ns No \ 1. Ns Em \^x Ns \|\(en\|3. Ns Em \^x
41.Xr a.out 5 41.Xr a.out 5
42binaries on 42binaries on
43.Nx Ns Tn /i386 43.Nx Ns Tn /i386
44and 44and
45.Nx Ns Tn /amd64 . 45.Nx Ns Tn /amd64 .
46The option is included in the 46The option is enabled by default in the
47.Li GENERIC 47.Li GENERIC
48kernel on i386, 48kernel on i386,
49but needs to be enabled along with 49but needs to be set along with
50.Dv EXEC_AOUT 50.Dv EXEC_AOUT
51on amd64. 51on amd64.
52.Pp 52.Pp
53Null memory protection must be disabled with the 53Null memory protection must be disabled with the
54.Xr sysctl 7 54.Xr sysctl 7
55option 55option
56.Va vm.user_va0_disable 56.Va vm.user_va0_disable
57set to 57set to
58.Li 0 58.Li 0
59for the binaries to run successfully. 59for the binaries to run successfully.
60.Pp 60.Pp
61.Bsx 2.0+ 61.Bsx 2.0+
62binaries also require an 62binaries also require an
63.Xr ldconfig 8 63.Xr ldconfig 8
64configuration or a symbolic link 64configuration or a symbolic link
65pointing to the 65pointing to the
66.Pa /emul/bsdos/shlib 66.Pa /emul/bsdos/shlib
67directory to run outside of a chroot. 67directory to run outside of a chroot.
68.Pp 68.Pp
69.Bsx 4.0 69.Bsx 4.0
70switched to ELF binaries that do not run under the 70switched to an ELF binary executable format
 71that does not run under the
71compatibility layers currently available on 72compatibility layers currently available on
72.Nx . 73.Nx .
73.Sh SEE ALSO 74.Sh SEE ALSO
74.Xr options 4 , 75.Xr options 4 ,
75.Xr a.out 5 , 76.Xr a.out 5 ,
76.Xr elf 5 , 77.Xr elf 5 ,
77.Xr sysctl 7 , 78.Xr sysctl 7 ,
78.Xr compat_netbsd32 8 , 79.Xr compat_netbsd32 8 ,
79.Xr ldconfig 8 80.Xr ldconfig 8
80.Sh HISTORY 81.Sh HISTORY
81.Tn BSD/386 Ns No \ 1.0\|\(en\|1.1 82.Tn BSD/386 Ns No \ 1.0\|\(en\|1.1
82was derived from 83was derived from
83.Bx 4.3 Tn Reno 84.Bx 4.3 Tn Reno