Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.sbin/amd/doc pull up rev 1.1.1.6 from trunk (reques...
details: https://anonhg.NetBSD.org/src/rev/80c48da46d16
branches: netbsd-1-4
changeset: 469438:80c48da46d16
user: cgd <cgd%NetBSD.org@localhost>
date: Tue Sep 21 04:56:18 1999 +0000
description:
pull up rev 1.1.1.6 from trunk (requested by christos):
Upgrade amd(8) and related software to fix expoitable stack overflows
in amq(8), as reported in BUGTRAQ and elsewhere.
diffstat:
usr.sbin/amd/doc/am-utils.texi | 164 ++++++++++++++++++++++++++++++++++++----
1 files changed, 146 insertions(+), 18 deletions(-)
diffs (truncated from 317 to 300 lines):
diff -r b1a4d14be333 -r 80c48da46d16 usr.sbin/amd/doc/am-utils.texi
--- a/usr.sbin/amd/doc/am-utils.texi Tue Sep 21 04:56:07 1999 +0000
+++ b/usr.sbin/amd/doc/am-utils.texi Tue Sep 21 04:56:18 1999 +0000
@@ -1,5 +1,5 @@
-$NetBSD: am-utils.texi,v 1.1.1.5 1999/02/01 18:47:05 christos Exp $
\input texinfo @c -*-texinfo-*-
+@c $NetBSD: am-utils.texi,v 1.1.1.5.2.1 1999/09/21 04:56:18 cgd Exp $
@c
@c Copyright (c) 1997-1999 Erez Zadok
@c Copyright (c) 1989 Jan-Simon Pendry
@@ -39,7 +39,7 @@
@c
@c %W% (Berkeley) %G%
@c
-@c Id: am-utils.texi,v 1.4 1999/01/10 21:54:24 ezk Exp
+@c Id: am-utils.texi,v 1.9 1999/08/16 01:16:33 ezk Exp
@c
@setfilename am-utils.info
@@ -716,7 +716,7 @@
@item @b{hppa1.1-hp-hpux10.20}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
-@tab yes @tab yes @tab yes @tab n/a @tab no @tab ?
+@tab yes @tab yes @tab yes @tab no @tab no @tab ?
@item @b{hppa1.1-hp-hpux9.01}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@@ -750,6 +750,10 @@
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
+@item @b{i386-pc-bsdi4.0.1}
+@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
+@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
+
@item @b{i386-pc-solaris2.5.1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab yes
@@ -786,6 +790,22 @@
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
+@item @b{i386-unknown-freebsdelf3.0}
+@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
+@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
+
+@item @b{i386-unknown-freebsdelf3.1}
+@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
+@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
+
+@item @b{i386-unknown-freebsdelf3.2}
+@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
+@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
+
+@item @b{i386-unknown-freebsdelf4.0}
+@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
+@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
+
@item @b{i386-unknown-netbsd1.2.1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@@ -806,6 +826,10 @@
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
+@item @b{i386-unknown-netbsd1.4}
+@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
+@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
+
@item @b{i386-unknown-openbsd2.1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@@ -822,6 +846,10 @@
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
+@item @b{i386-unknown-openbsd2.5}
+@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
+@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
+
@item @b{i486-ncr-sysv4.3.03}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab ? @tab yes @tab yes @tab ?
@@ -898,6 +926,10 @@
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab ? @tab yes @tab ? @tab ?
+@item @b{powerpc-unknown-linux-gnu}
+@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
+@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
+
@item @b{rs6000-ibm-aix3.2}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab ? @tab ?
@@ -1577,6 +1609,7 @@
* exists Selector Function::
* false Selector Function::
* netgrp Selector Function::
+* netgrpd Selector Function::
* in_network Selector Function::
* true Selector Function::
@end menu
@@ -1855,7 +1888,7 @@
Always evaluates to false. @i{ARG} is ignored.
@c ----------------------------------------------------------------
-@node netgrp Selector Function, in_network Selector Function, false Selector Function, Selectors
+@node netgrp Selector Function, netgrpd Selector Function, false Selector Function, Selectors
@comment node-name, next, previous, up
@subsubsection netgrp Selector Function
@cindex netgrp Selector Function
@@ -1864,9 +1897,9 @@
@cindex Mount selector; netgrp
@cindex Selector; netgrp
-If the current host as determined by the value of @code{$@{host@}} is a
-member of the netgroup @i{ARG}, this selector evaluates to true.
-Otherwise it evaluates to false.
+If the current host as determined by the value of @code{$@{host@}}
+(e.g., short host name) is a member of the netgroup @i{ARG}, this
+selector evaluates to true. Otherwise it evaluates to false.
For example, suppose you have a netgroup @samp{ppp-hosts}, and for
reasons of performance, these have a local @file{/home} partition, while
@@ -1879,7 +1912,26 @@
@end example
@c ----------------------------------------------------------------
-@node in_network Selector Function, true Selector Function, netgrp Selector Function, Selectors
+@node netgrpd Selector Function, in_network Selector Function, netgrp Selector Function, Selectors
+@comment node-name, next, previous, up
+@subsubsection netgrpd Selector Function
+@cindex netgrpd Selector Function
+@cindex netgrpd, boolean mount selector
+@cindex !netgrpd, boolean mount selector
+@cindex Mount selector; netgrpd
+@cindex Selector; netgrpd
+
+If the current host as determined by the value of @code{$@{hostd@}} is a
+member of the netgroup @i{ARG}, this selector evaluates to true.
+Otherwise it evaluates to false.
+
+The @samp{netgrpd} function uses fully-qualified host names
+(@code{$@{hostd@}}) to match netgroup names, while the @samp{netgrp}
+function (@pxref{netgrp Selector Function}) uses short host names
+(@code{$@{host@}}).
+
+@c ----------------------------------------------------------------
+@node in_network Selector Function, true Selector Function, netgrpd Selector Function, Selectors
@comment node-name, next, previous, up
@subsubsection in_network Selector Function
@cindex in_network Selector Function
@@ -1957,8 +2009,12 @@
specified in the @samp{/defaults} entry or the defaults of the key entry
being processed (@pxref{opts Option}). Normally when you specify
@samp{opts} in both the @samp{/defaults} and the map entry, the latter
-overrides the former completely. But with @samp{addopts} it will
-append the options and override any conflicting ones.
+overrides the former completely. But with @samp{addopts} it will append
+the options and override any conflicting ones.
+
+@samp{addopts} also overrides the value of the @samp{remopts} option
+(@pxref{remopts Option}), which unless specified defaults to the value
+of @samp{opts}.
Options which start with @samp{no} will override those with the same
name that do not start with @samp{no} and vice verse. Special handling
@@ -2113,12 +2169,23 @@
@item dumbtimr
@cindex Mount flags; dumbtimr
-(XXX: a dumb timer?)
+Turn off the dynamic retransmit timeout estimator. This may be useful
+for UDP mounts that exhibit high retry rates, since it is possible that
+the dynamically estimated timeout interval is too short.
+
+@item extatt
+@cindex Mount flags; extatt
+Enable extended attributes in ISO-9660 file systems.
@item fsid
@cindex Mount flags; fsid
Set ID of filesystem.
+@item gens
+@cindex Mount flags; gens
+Enable generations in ISO-9660 file systems. Generations allow you to
+see all versions of a given file.
+
@item grpid
@cindex Mount flags; grpid
Use BSD directory group-id semantics.
@@ -2147,7 +2214,9 @@
@item noauto
@cindex Mount flags; noauto
-(XXX: No automatic what?)
+This option is used by the mount command in @samp{/etc/fstab} or
+@samp{/etc/vfstab} and means not to mount this file system when mount -a
+is used.
@item nocache
@cindex Mount flags; nocache
@@ -2177,6 +2246,11 @@
@cindex Mount flags; noint
Do not allow keyboard interrupts for this mount
+@item norrip
+@cindex Mount flags; norrip
+Turn off using of the Rock Ridge Interchange Protocol (RRIP) extensions
+to ISO-9660.
+
@item nosub
@cindex Mount flags; nosub
Disallow mounts beneath this mount.
@@ -3301,11 +3375,12 @@
the block special device to be mounted.
@end table
-A cdfs entry might be:
+Some operating systems will fail to mount read-only CDs unless the
+@samp{ro} option is specified. A cdfs entry might be:
@example
cdfs os==sunos4;type:=cdfs;dev:=/dev/sr0 \
- os==sunos5;type:=cdfs;dev:=/dev/dsk/c0t6d0s2
+ os==sunos5;addopts:=ro;type:=cdfs;dev:=/dev/dsk/c0t6d0s2
@end example
@c ----------------------------------------------------------------
@@ -6810,6 +6885,7 @@
* amd.conf-sample::
* amd2ldif::
* amd2sun::
+* automount2amd::
* ctl-amd::
* ctl-hlfsd::
* expn::
@@ -6855,7 +6931,7 @@
@end example
@c ----------------------------------------------------------------
-@node amd2sun, ctl-amd, amd2ldif, Assorted Tools
+@node amd2sun, automount2amd, amd2ldif, Assorted Tools
@comment node-name, next, previous, up
@section amd2sun
@pindex amd2sun
@@ -6868,7 +6944,57 @@
@end example
@c ----------------------------------------------------------------
-@node ctl-amd, ctl-hlfsd, amd2sun, Assorted Tools
+@node automount2amd, ctl-amd, amd2sun, Assorted Tools
+@comment node-name, next, previous, up
+@section automount2amd
+@pindex automount2amd
+
+A script to convert old Sun Automounter maps to @i{Amd} maps.
+
+Say you have the Sun automount file @i{auto.foo}, with these two lines:
+@example
+home earth:/home
+moon -ro,intr server:/proj/images
+@end example
+Running
+@example
+automount2amd auto.foo > amd.foo
+@end example
+
+will produce the @i{Amd} map @i{amd.foo} with this content:
+
+@example
+# generated by automount2amd on Sat Aug 14 17:59:32 US/Eastern 1999
+
+/defaults \\
+ type:=nfs;opts:=rw,grpid,nosuid,utimeout=600
+
+home \
+ host==earth;type:=link;fs:=/home \\
+ rhost:=earth;rfs:=/home
+
+moon \
+ -addopts:=ro,intr \\
+ host==server;type:=link;fs:=/proj/images \\
+ rhost:=server;rfs:=/proj/images
+@end example
+
+This perl script will use the following @i{/default} entry
+@example
+type:=nfs;opts:=rw,grpid,nosuid,utimeout=600
+@end example
+If you wish to override that, define the @b{$DEFAULTS} environment
+variable, or modify the script.
+
+If you wish to generate Amd maps using the @i{hostd} (@pxref{hostd
+Selector Variable}) @i{Amd} map syntax, then define the environment
+variable @b{$DOMAIN} or modify the script.
+
+Note that automount2amd does not understand newer Sun Automount map
Home |
Main Index |
Thread Index |
Old Index