From 9aaf15ec718527a783e4ebac19357ea3eb4e523a Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 18 Jan 2003 23:40:59 +0000 Subject: more typos; jmc@prioris.mini.pw.edu.pl --- lib/libwrap/hosts_access.5 | 22 +++++------ libexec/getty/gettytab.5 | 12 +++--- share/man/man5/files.conf.5 | 91 ++++++++++++++++++++++++-------------------- share/man/man5/fs.5 | 8 ++-- share/man/man5/genassym.cf.5 | 6 +-- usr.sbin/bootpd/bootptab.5 | 10 +++-- usr.sbin/inetd/inetd.8 | 8 ++-- 7 files changed, 85 insertions(+), 72 deletions(-) diff --git a/lib/libwrap/hosts_access.5 b/lib/libwrap/hosts_access.5 index 5ed53e817fe..06ae23d6d57 100644 --- a/lib/libwrap/hosts_access.5 +++ b/lib/libwrap/hosts_access.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hosts_access.5,v 1.15 2002/05/01 16:23:54 millert Exp $ +.\" $OpenBSD: hosts_access.5,v 1.16 2003/01/18 23:40:57 deraadt Exp $ .\" .\" Copyright (c) 1997, Jason Downs. All rights reserved. .\" @@ -110,8 +110,8 @@ values) or wildcards (see below). .Ar client_list is a list of one or more host names, host addresses, patterns or wildcards (see below) that will be matched against the client host name or address. -When a client_list item needs to include colon character (for IPv6 addresses), -the item needs to be wrapped with square bracket. +When a client_list item needs to include colon characters (for IPv6 addresses), +the item needs to be wrapped with square brackets. .Pp The more complex forms .Ar daemon@host @@ -175,24 +175,24 @@ matches every address in the range .Sq 131.155.72.0 through .Sq 131.155.73.255 . -Note that +Note that the .Sq m.m.m.m portion must always be specified. .It An expression of the form .Sq ipv6-addr/ipv6-mask -is interpreted as masked IPv6 address match, -just like masked IPv4 address match (see above). -Note that +is interpreted as a masked IPv6 address match, +just like a masked IPv4 address match (see above). +Note that the .Sq ipv6-mask portion must always be specified. .It An expression of the form .Sq ipv6-addr/prefixlen -is interpreted as masked IPv6 address match +is interpreted as a masked IPv6 address match (with mask specified by numeric prefixlen), -just like masked IPv4 address match (see above). -Note that +just like a masked IPv4 address match (see above). +Note that the .Sq prefixlen portion must always be specified. .El @@ -420,7 +420,7 @@ ALL: ALL .Ed .Ed .Pp -This denies all service to all hosts, unless they are permitted access +This denies all services to all hosts, unless they are permitted access by entries in the allow file. .Pp The explicitly authorized hosts are listed in the allow file. diff --git a/libexec/getty/gettytab.5 b/libexec/getty/gettytab.5 index 1ae6314900a..b60a47ef5a0 100644 --- a/libexec/getty/gettytab.5 +++ b/libexec/getty/gettytab.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gettytab.5,v 1.13 2001/01/28 19:34:28 niklas Exp $ +.\" $OpenBSD: gettytab.5,v 1.14 2003/01/18 23:40:58 deraadt Exp $ .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -82,7 +82,7 @@ table. .It "c1 num unused TTY control flags to read login name." .It "c2 num unused TTY control flags to leave terminal as." .It "ce bool false Use CRT erase algorithm." -.It "ck bool false Use CRT kill algorithm" +.It "ck bool false Use CRT kill algorithm." .It "cl str" Ta Dv NULL Ta .No "Screen clear sequence." .It "co bool false Console; add" @@ -229,7 +229,7 @@ These flags correspond to the termios and .Em c_oflag fields, respectively. -Each these sets must be completely specified to be effective. +Each of these sets must be completely specified to be effective. The .Em \&f0 , .Em \&f1 , @@ -265,9 +265,11 @@ This delay is simulated by repeated use of the pad character .Em \&pc . .Pp The initial message and login message -.Pf ( Em \&im +.Po +.Em \&im and -.Em \&lm , +.Em \&lm +.Pc may include any of the following character sequences, which expand to information about the environment in which .Xr getty 8 diff --git a/share/man/man5/files.conf.5 b/share/man/man5/files.conf.5 index b4e36d23daa..94e47d9c9e9 100644 --- a/share/man/man5/files.conf.5 +++ b/share/man/man5/files.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: files.conf.5,v 1.2 2002/12/10 23:51:45 miod Exp $ +.\" $OpenBSD: files.conf.5,v 1.3 2003/01/18 23:40:58 deraadt Exp $ .\" .\" Copyright (c) 2002 Miodrag Vallat. .\" All rights reserved. @@ -59,13 +59,13 @@ to parent entities, which can either be physical devices themselves or logical entities, designed to make the driver code simpler. Usually, the top-most devices are attached to the pseudo-device .Dq mainbus , -which is itself reported as attached to a fictious +which is itself reported as attached to a fictitious .Dq root node. There is no restriction on the -.Dq childrens +.Dq children a device node may have ; -some device drivers can attach themselves to different kind of parent devices. +some device drivers can attach themselves to different kinds of parent devices. For example, the logical .Xr scsibus 4 device can either attach at an @@ -92,32 +92,35 @@ such as cards not using interrupts .Pc , or which can autoconfigure themselves -.Pq such as +.Po +such as .Xr pci 4 -devices . +devices +.Pc . .Pp Attachment lines in the kernel configuration file must match the locators of the device they are attaching to. For example, given .Bl -item -offset indent -compact .It -define pci {[dev = -1], [function = -1]} +.Em define pci {[dev = -1], [function = -1]} .El in the rules files, the following kernel configuration lines are valid: .Bl -item -offset indent -compact .It -pciknob0 at pci? dev 2 function 42 # use fixed values +.Cd "pciknob0 at pci? dev 2 function 42 # use fixed values" .It -pciknob* at pci? dev ? function ? # use default values +.Cd "pciknob* at pci? dev ? function ? # use default values" .It -pciknob* at pci? # use default locators +.Cd "pciknob* at pci? # use default locators" .El +.Pp but the following are not: .Bl -item -offset indent -compact .It -pciknob* at pci? trick ? treat ? # unknown locators +.Cd "pciknob* at pci? trick ? treat ? # unknown locators" .It -pciknob* at pci? dev ? function ? usefulness ? # unknown locators +.Cd "pciknob* at pci? dev ? function ? usefulness ? # unknown locators" .El .\" .Ss Attributes @@ -125,19 +128,20 @@ pciknob* at pci? dev ? function ? usefulness ? # unknown locators The syntax .Bl -item -offset indent -compact .It -define attribute +.Em define attribute .El defines a simple attribute, which can be later used to factorize code dependencies. -An attachment-like attribute will also require locators to be specified, as +An attachment-like attribute will also require locators to be specified, +such as .Bl -item -offset indent -compact .It -define attribute {} +.Em define attribute {} .El if no locators are necessary, or .Bl -item -offset indent -compact .It -define attribute {[locator1 = default1], [locator2 = default2]} +.Em define attribute {[locator1 = default1], [locator2 = default2]} .El if locators are provided. .\" @@ -146,13 +150,13 @@ if locators are provided. For simple device attachment, the syntax .Bl -item -offset indent -compact .It -define device {} +.Em define device {} .El defines a simple device, with no locators. If locators are necessary, they are specified as: .Bl -item -offset indent -compact .It -define device {[locator1 = default1], [locator2 = default2]} +.Em define device {[locator1 = default1], [locator2 = default2]} .El A device can also reference an attribute with locators. This is in fact a dependency rule. @@ -163,19 +167,19 @@ defines the following attribute for controllers: .Bl -item -offset indent -compact .It -define scsi {} # no locators +.Em define scsi {} # no locators .El and .Tn SCSI drivers can then be defined as .Bl -item -offset indent -compact .It -define scsictrl: scsi +.Em define scsictrl: scsi .El A device may depend on as many attributes as necessary: .Bl -item -offset indent -compact .It -define complexdev: simpledev, otherdev, specialattribute +.Em define complexdev: simpledev, otherdev, specialattribute .El .\" .Ss Pseudo devices @@ -184,11 +188,11 @@ Pseudo device are defined as regular devices, except that they do not need locators, and use a different keyword: .Bl -item -offset indent -compact .It -pseudo-device loop: inet +.Em pseudo-device loop: inet .It -pseudo-device ksyms +.Em pseudo-device ksyms .El -define respectively, the loopback network interface, and the kernel symbols +define, respectively, the loopback network interface and the kernel symbols pseudo-device. .\" .Ss Device attachment rules @@ -199,25 +203,25 @@ A device driver has to specify to which parents it can attach, with the following syntax: .Bl -item -offset indent -compact .It -attach device at parent, parent2, parent3 +.Em attach device at parent, parent2, parent3 .El which lists all the parent attributes a device may attach to. For example, if a device is specified as: .Bl -item -offset indent -compact .It -device smartknob: bells, whistles +.Em device smartknob: bells, whistles .It -attach smartknob at brainbus +.Em attach smartknob at brainbus .El then a .Bl -item -offset indent -compact .It -smartknob* at brainbus? +.Cd smartknob* at brainbus? .El configuration file line is valid, while a .Bl -item -offset indent -compact .It -smartknob* at dumbbus? +.Cd smartknob* at dumbbus? .El is not. .Pp @@ -226,9 +230,9 @@ If a device supports attachments to multiple parents, using different routines every time, the following syntax specifies the details: .Bl -item -offset indent -compact .It -attach device at parent with device_parent_glue +.Em attach device at parent with device_parent_glue .It -attach device at parent2 with device_parent2_glue +.Em attach device at parent2 with device_parent2_glue .El and will define more required attributes, depending on the kernel configuration file's contents. @@ -240,7 +244,7 @@ It is possible to include other rules files anywhere in a file, using the keyword: .Bl -item -offset indent -compact .It -include "dev/pci/files.pci" +.Em include "dev/pci/files.pci" .El will include the rules for machine-independant pci code. .Pp @@ -279,11 +283,11 @@ the device and pseudo-device names, except for Kernel source files are defined as: .Bl -item -offset indent -compact .It -file somewhere/somefile.c dependencies need-rules +.Em file somewhere/somefile.c dependencies need-rules .El If the .Dq dependencies -part is empty, the file will always be compiled-in. +part is empty, the file will always be compiled in. This is the case for the core kernel files. Otherwise, the file will only be added to the list if the dependencies are met. Dependencies are based upon attributes and device names. @@ -295,7 +299,7 @@ operators. For example, the line .Bl -item -offset indent -compact .It -file netinet/ipsec_input.c (inet | inet6) & ipsec +.Em file netinet/ipsec_input.c (inet | inet6) & ipsec .El teaches .Xr config 8 @@ -307,16 +311,16 @@ attribute, and at least one of the .Dq inet and .Dq inet6 -attributes are required. +attributes, are required. .Pp The .Dq need rules can be empty, or one of the following keywords: .Bl -tag -width "needs-count" -compact -.It needs-flag +.It Ar needs-flag Create an attribute header file, defining whether or not this attribute is compiled in. -.It needs-count +.It Ar needs-count Create an attribute header file, defining how many instances of this attribute are to be compiled in. This rule is mostly used for pseudo-devices. @@ -356,16 +360,15 @@ rule, even if it is never referenced from the kernel configuration file. .\" .Ss Miscellaneous items .\" -The .Pa sys/arch/machine/conf/files.machine must also supply the following special commands: .Bl -tag -width maxpartitions .\" -compact -.It maxpartitions +.It Ar maxpartitions Defines how many partitions are available on disk block devices, usually 16. This value is used by .Xr config 8 to setup various device information structures. -.It maxusers +.It Ar maxusers Defines the bounds, and the default value, for the .Dq maxusers parameter in the kernel configuration file. @@ -382,16 +385,20 @@ in the kernel configuration file does not fit in the specified range. Rules for architecture-dependent files, for the .Dq machine architecture. +.Pp .It Pa sys/compat/emul/files.emul Rules for the .Dq emul -operating system or subsystem emulation +operating system or subsystem emulation. +.Pp .It Pa sys/dev/class/files.class Rules for the .Dq class class of devices. +.Pp .It Pa sys/gnu/arch/i386/fpemul/files.fpemul Rules for the i386 GPL floating-point emulator. +.Pp .It Pa sys/scsi/files.scsi Rules for the common .Tn SCSI diff --git a/share/man/man5/fs.5 b/share/man/man5/fs.5 index 1537d4f5960..cc8f50882e2 100644 --- a/share/man/man5/fs.5 +++ b/share/man/man5/fs.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fs.5,v 1.9 2001/10/04 16:56:51 mpech Exp $ +.\" $OpenBSD: fs.5,v 1.10 2003/01/18 23:40:58 deraadt Exp $ .\" $NetBSD: fs.5,v 1.3 1994/11/30 19:31:17 jtc Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -50,7 +50,7 @@ The files .Aq Pa fs.h and .Aq Pa inode.h -declare several structures, defined variables and macros +declare several structures and define variables and macros which are used to create and manage the underlying format of file system objects on random access devices (disks). .Pp @@ -70,7 +70,7 @@ with the .Em super-block that is of size .Dv SBSIZE . -The following structure described the super-block and is +The following structure describes the super-block and is from the file .Aq Pa ufs/fs.h : .Bd -literal @@ -188,7 +188,7 @@ unit. .Pp Large files consist of exclusively large data blocks. To avoid undue wasted disk space, the last data block of a small file is -allocated as only as many fragments of a large block as are +allocated only as many fragments of a large block as are necessary. The file system format retains only a single pointer to such a fragment, which is a piece of a single large block that diff --git a/share/man/man5/genassym.cf.5 b/share/man/man5/genassym.cf.5 index aa02a6ed03e..11bd766315c 100644 --- a/share/man/man5/genassym.cf.5 +++ b/share/man/man5/genassym.cf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: genassym.cf.5,v 1.2 2001/11/13 13:54:26 mpech Exp $ +.\" $OpenBSD: genassym.cf.5,v 1.3 2003/01/18 23:40:58 deraadt Exp $ .\" $NetBSD: genassym.cf.5,v 1.8 2001/06/19 12:34:27 wiz Exp $ .\" .\" Copyright (c) 1997 Matthias Pfaller. @@ -114,11 +114,11 @@ being converted to upper case. can be used to customize the output of .Xr genassym.sh 8 . .br -When producing C output, values are casted to (default: long) +When producing C output, values are cast to (default: long) before they get handed to printf. (default: n) is the constraint used in the __asm__ statements. (default: empty) can be used to force gcc to output operands in different ways -then normal. +than normal. The "a" modifier e.g. stops gcc from emitting immediate prefixes in front of constants for the i386 and m68k port. .Sh FILES diff --git a/usr.sbin/bootpd/bootptab.5 b/usr.sbin/bootpd/bootptab.5 index 01ada47f8d4..7235fef435e 100644 --- a/usr.sbin/bootpd/bootptab.5 +++ b/usr.sbin/bootpd/bootptab.5 @@ -1,6 +1,6 @@ .\" Copyright (c) 1988, 1989, 1991 Carnegie Mellon University .\" -.\" $Header: /cvs/OpenBSD/src/usr.sbin/bootpd/Attic/bootptab.5,v 1.6 2001/08/22 01:53:05 brad Exp $ +.\" $Header: /cvs/OpenBSD/src/usr.sbin/bootpd/Attic/bootptab.5,v 1.7 2003/01/18 23:40:58 deraadt Exp $ .\" .TH BOOTPTAB 5 "October 31, 1991" "Carnegie Mellon University" .UC 6 @@ -88,9 +88,13 @@ The currently recognized tags are: .br sw Swap server address .br - tc Table continuation (points to similar "template" host entry) + tc Table continuation (points to similar "template" .br - td TFTP root directory used by "secure" TFTP servers + host entry) +.br + td TFTP root directory used by "secure" TFTP +.br + servers .br to Time offset in seconds from UTC .br diff --git a/usr.sbin/inetd/inetd.8 b/usr.sbin/inetd/inetd.8 index 3acc64336cb..e30656b65ac 100644 --- a/usr.sbin/inetd/inetd.8 +++ b/usr.sbin/inetd/inetd.8 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)inetd.8 6.7 (Berkeley) 3/16/91 -.\" $Id: inetd.8,v 1.20 2002/05/06 22:24:58 millert Exp $ +.\" $Id: inetd.8,v 1.21 2003/01/18 23:40:58 deraadt Exp $ .\" .Dd March 16, 1991 .Dt INETD 8 @@ -335,8 +335,8 @@ creates a file that contains its process identifier. .Ss IPv6 TCP/UDP behavior If you wish to run a server for IPv4 and IPv6 traffic, -you'll need to run two separate process for the same server program, -specified as two separate lines on +you'll need to run two separate processes for the same server program, +specified as two separate lines in .Pa inetd.conf , for .Dq tcp4 @@ -399,6 +399,6 @@ The command appeared in .Bx 4.3 . Support for Sun-RPC -based services is modeled after that +based services is modelled after that provided by SunOS 4.1. IPv6 support and IPsec hack was made by KAME project, in 1999. -- cgit v1.2.3