CVS commit: src/share/man/man7

2021-07-28 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jul 28 11:32:21 UTC 2021

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Fix typos.


To generate a diff of this commit:
cvs rdiff -u -r1.153 -r1.154 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.153 src/share/man/man7/sysctl.7:1.154
--- src/share/man/man7/sysctl.7:1.153	Tue Jul 27 09:32:55 2021
+++ src/share/man/man7/sysctl.7	Wed Jul 28 11:32:21 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.153 2021/07/27 09:32:55 manu Exp $
+.\"	$NetBSD: sysctl.7,v 1.154 2021/07/28 11:32:21 wiz Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -756,10 +756,10 @@ Memory Mapped Files Option is available 
 otherwise\ 0.
 .It Li kern.maxfiles ( Dv KERN_MAXFILES )
 The maximum number of open files that may be open in the system.
-This also controls the maximum file locks per unprivilegied user 
+This also controls the maximum file locks per unprivileged user
 enforced by
-.Xr fnctl 2
-and 
+.Xr fcntl 2
+and
 .Xr flock 2 .
 .It Li kern.maxpartitions ( Dv KERN_MAXPARTITIONS )
 The maximum number of partitions allowed per disk.



CVS commit: src/share/man/man7

2021-07-13 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Tue Jul 13 16:56:43 UTC 2021

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Swap encryption no longer experimental or default-off.


To generate a diff of this commit:
cvs rdiff -u -r1.151 -r1.152 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.151 src/share/man/man7/sysctl.7:1.152
--- src/share/man/man7/sysctl.7:1.151	Sat Oct 17 09:20:33 2020
+++ src/share/man/man7/sysctl.7	Tue Jul 13 16:56:43 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.151 2020/10/17 09:20:33 wiz Exp $
+.\"	$NetBSD: sysctl.7,v 1.152 2021/07/13 16:56:43 nia Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd October 17, 2020
+.Dd July 13, 2021
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -2602,7 +2602,7 @@ Return system wide guard size for the ma
 .It Li vm.thread_guard_size
 Return system wide default size for the guard area of all other threads
 of a program.
-.It Li vm.swap_encrypt Bq Sy "EXPERIMENTAL" Ns No , default off
+.It Li vm.swap_encrypt
 If true, encrypt data while swapped out to disk.
 .Pp
 Each swap device maintains an independent AES-256 key, generated when



CVS commit: src/share/man/man7

2021-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun May 30 07:17:01 UTC 2021

Modified Files:
src/share/man/man7: signal.7

Log Message:
signal.7: minor clarification. Bump date (to when I wrote the change)


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/share/man/man7/signal.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/signal.7
diff -u src/share/man/man7/signal.7:1.25 src/share/man/man7/signal.7:1.26
--- src/share/man/man7/signal.7:1.25	Wed May 30 23:41:44 2018
+++ src/share/man/man7/signal.7	Sun May 30 07:17:01 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: signal.7,v 1.25 2018/05/30 23:41:44 uwe Exp $
+.\"	$NetBSD: signal.7,v 1.26 2021/05/30 07:17:01 dholland Exp $
 .\"
 .\" Copyright (c) 1999, 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd May 28, 2018
+.Dd August 24, 2018
 .Dt SIGNAL 7
 .Os
 .Sh NAME
@@ -81,7 +81,8 @@ This is always done in a way that allows
 desired.
 (Note, however, that some signals may not be caught.)
 Otherwise, the default action for the signal is taken.
-For most signals the default action is a core dump.
+For most signals the default action is to terminate the process and
+generate a core dump.
 See the table below.
 Note that the term
 .Em delivery



CVS commit: src/share/man/man7

2021-05-01 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat May  1 07:41:14 UTC 2021

Modified Files:
src/share/man/man7: intro.7

Log Message:
intro.7: add missing entries


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/share/man/man7/intro.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/intro.7
diff -u src/share/man/man7/intro.7:1.28 src/share/man/man7/intro.7:1.29
--- src/share/man/man7/intro.7:1.28	Wed Feb 26 10:06:08 2020
+++ src/share/man/man7/intro.7	Sat May  1 07:41:14 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: intro.7,v 1.28 2020/02/26 10:06:08 wiz Exp $
+.\"	$NetBSD: intro.7,v 1.29 2021/05/01 07:41:14 nia Exp $
 .\"
 .\" Copyright (c) 1983, 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\" @(#)intro.7	8.1 (Berkeley) 6/5/93
 .\"
-.Dd May 15, 2018
+.Dd May 1, 2021
 .Dt INTRO 7
 .Os
 .Sh NAME
@@ -37,11 +37,13 @@
 .Nd miscellaneous information pages
 .Sh DESCRIPTION
 This section contains miscellaneous documentation, including:
-.Bl -tag -width "mdoc.samples(7)" -offset indent
+.Bl -tag -width "kernel_sanitizers(7)" -offset indent
 .It Xr ascii 7
 map of ASCII character set
 .It Xr c 7
 the C programming language
+.It Xr entropy 7
+random unpredictable secrets needed for security
 .It Xr environ 7
 user environment
 .It Xr glob 7
@@ -57,6 +59,10 @@ file system hierarchy in
 .Nx
 .It Xr hostname 7
 host name resolution description
+.It Xr kernel_sanitizers 7
+bug detection features in the
+.Nx
+kernel
 .It Xr mailaddr 7
 mail addressing description
 .\" .It Sy man
@@ -76,6 +82,9 @@ tutorial for writing BSD manuals with
 kernel modules
 .It Xr nls 7
 overview of national language support
+.It Xr npf 7
+.Nx
+Packet Filter
 .It Xr operator 7
 C operator precedence and order of evaluation
 .It Xr orders 7
@@ -100,6 +109,10 @@ checklist for security and setuid progra
 .It Xr signal 7
 available signals under
 .Nx
+.It Xr src 7
+layout of the
+.Nx
+source tree
 .It Xr sticky 7
 sticky bit
 .Pq Dv S_ISVTX



CVS commit: src/share/man/man7

2021-01-12 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jan 13 05:21:34 UTC 2021

Modified Files:
src/share/man/man7: entropy.7

Log Message:
entropy(7): Add missing URL to reference.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man7/entropy.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/entropy.7
diff -u src/share/man/man7/entropy.7:1.1 src/share/man/man7/entropy.7:1.2
--- src/share/man/man7/entropy.7:1.1	Sun Jan 10 23:24:26 2021
+++ src/share/man/man7/entropy.7	Wed Jan 13 05:21:34 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: entropy.7,v 1.1 2021/01/10 23:24:26 riastradh Exp $
+.\"	$NetBSD: entropy.7,v 1.2 2021/01/13 05:21:34 riastradh Exp $
 .\"
 .\" Copyright (c) 2021 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -232,6 +232,7 @@ create new ones before allowing anyone t
 .%I Debian Security Advisory
 .%O DSA-1571-1
 .%D 2008-05-13
+.%U https://www.debian.org/security/2008/dsa-1571.html
 .Re
 .Rs
 .%T Features/VirtIORNG



CVS commit: src/share/man/man7

2020-10-17 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Oct 17 09:20:33 UTC 2020

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Use Dv. Bump date for previous.


To generate a diff of this commit:
cvs rdiff -u -r1.150 -r1.151 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.150 src/share/man/man7/sysctl.7:1.151
--- src/share/man/man7/sysctl.7:1.150	Sat Oct 17 09:06:15 2020
+++ src/share/man/man7/sysctl.7	Sat Oct 17 09:20:33 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.150 2020/10/17 09:06:15 mlelstv Exp $
+.\"	$NetBSD: sysctl.7,v 1.151 2020/10/17 09:20:33 wiz Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd August 20, 2020
+.Dd October 17, 2020
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -1208,7 +1208,10 @@ See
 .Xr sched 3 .
 .El
 .It Li kern.sofixedbuf ( Dv KERN_SOFIXEDBUF )
-Prevent socket buffer autoscaling when a size is set with SO_SNDBUF or SO_RCVBUF.
+Prevent socket buffer autoscaling when a size is set with
+.Dv SO_SNDBUF
+or
+.Dv SO_RCVBUF .
 .It Li kern.somaxkva ( Dv KERN_SOMAXKVA )
 Maximum amount of kernel memory to be used for socket buffers in bytes.
 .It Li kern.sooptions



CVS commit: src/share/man/man7

2020-09-11 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Fri Sep 11 15:16:49 UTC 2020

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
sysctl: Adjust man page for new ARP sysctl ND settings


To generate a diff of this commit:
cvs rdiff -u -r1.148 -r1.149 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.148 src/share/man/man7/sysctl.7:1.149
--- src/share/man/man7/sysctl.7:1.148	Mon Jul 13 15:05:05 2020
+++ src/share/man/man7/sysctl.7	Fri Sep 11 15:16:48 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.148 2020/07/13 15:05:05 jruoho Exp $
+.\"	$NetBSD: sysctl.7,v 1.149 2020/09/11 15:16:48 roy Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd July 13, 2020
+.Dd August 20, 2020
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -1419,8 +1419,13 @@ The fourth level name is the variable na
 The currently defined protocols and names are:
 .Bl -column "Protocol" "anonportalgo.available" "integer" "Changeable" -offset indent
 .It Sy Protocol	Variable Ta Sy Type Ta Sy Changeable
-.It arp	down	integer	yes
-.It arp	keep	integer	yes
+.It arp	nd_delay	integer	yes
+.It arp	nd_bmaxtries	integer	yes
+.It arp	nd_umaxtries	integer	yes
+.It arp	nd_basereachable	integer	yes
+.It arp	nd_retrans	integer	yes
+.It arp	nd_nud		integer	yes
+.It arp	nd_maxnudhint	integer	yes
 .It arp	log_movements	integer	yes
 .It arp	log_permanent_modify	integer	yes
 .It arp	log_unknown_network	integer	yes
@@ -1502,10 +1507,31 @@ The currently defined protocols and name
 .Pp
 The variables are as follows:
 .Bl -tag -width "123456"
-.It Li arp.down
-Failed ARP entry lifetime.
-.It Li arp.keep
-Valid ARP entry lifetime.
+.It Li arp.nd_delay
+The delay in seconds before sending the first probe,
+after it has been decided that the entry is stale.
+.It Li arp.nd_bmaxtries
+The maximum number of broadcasts send to discover the hardware address
+claiming an IP address.
+.It Li arp.nd_umaxtries
+The maximum number of unicasts send to the hardware address to ensure
+it still claims an IP address.
+.It Li arp.nd_basereachable
+The number of milliseconds the ARP entry is considered reachable before
+probing reachability.
+.It Li arp.nd_retrans
+The number of milliseconds between ARP probes.
+.It Li arp.nd_nud
+If set to non-zero, perform Neighor Unreachability Detection.
+.It Li arp.nd_maxnudhint
+Neighbor discovery permits upper layer protocols to supply reachability
+hints, to avoid unnecessary neighbor discovery exchanges.
+The variable defines the number of consecutive hints the neighbor discovery
+layer will take.
+For example, by setting the variable to 3, neighbor discovery layer
+will take 3 consecutive hints in maximum.
+After receiving 3 hints, neighbor discovery layer will perform
+normal neighbor discovery process.
 .It Li carp.allow
 If set to 0, incoming
 .Xr carp 4
@@ -2024,7 +2050,7 @@ timing constant in IPv6 neighbor discove
 .Pq RFC 2461 ,
 in seconds.
 .It Li icmp6.nd6_maxnudhint
-IPv6 neighbor discovery permits upper layer protocols to supply reachability
+Neighbor discovery permits upper layer protocols to supply reachability
 hints, to avoid unnecessary neighbor discovery exchanges.
 The variable defines the number of consecutive hints the neighbor discovery
 layer will take.



CVS commit: src/share/man/man7

2020-07-13 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon Jul 13 15:05:05 UTC 2020

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Xref rfc6056(7).


To generate a diff of this commit:
cvs rdiff -u -r1.147 -r1.148 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.147 src/share/man/man7/sysctl.7:1.148
--- src/share/man/man7/sysctl.7:1.147	Sat Jun 13 20:18:00 2020
+++ src/share/man/man7/sysctl.7	Mon Jul 13 15:05:05 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.147 2020/06/13 20:18:00 ad Exp $
+.\"	$NetBSD: sysctl.7,v 1.148 2020/07/13 15:05:05 jruoho Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd November 14, 2019
+.Dd July 13, 2020
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -1542,7 +1542,9 @@ The available RFC 6056 port randomizatio
 A bitmask of ports that will not be used during anonymous or privileged
 port selection.
 .It Li ip.anonportalgo.selected
-The currently selected RFC 6056 port randomization algorithm.
+The currently selected RFC 6056 port randomization algorithm; see
+.Xr rfc6056 7
+for details.
 .It Li ip.anonportmax
 The highest port number to use for TCP and UDP ephemeral port allocation.
 This cannot be set to less than 1024 or greater than 65535, and must
@@ -1859,7 +1861,9 @@ The available RFC 6056 port randomizatio
 A bitmask of ports that will not be used during anonymous or privileged
 port selection.
 .It Li ip6.anonportalgo.selected
-The currently selected RFC 6056 port randomization algorithm.
+The currently selected RFC 6056 port randomization algorithm; see
+.Xr rfc6056 7
+for details.
 .It Li ip6.anonportmax
 The highest port number to use for TCP and UDP ephemeral port allocation.
 This cannot be set to less than 1024 or greater than 65535, and must



CVS commit: src/share/man/man7

2020-07-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jul 13 13:42:51 UTC 2020

Modified Files:
src/share/man/man7: module.7

Log Message:
Imnprove previous.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/share/man/man7/module.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/module.7
diff -u src/share/man/man7/module.7:1.8 src/share/man/man7/module.7:1.9
--- src/share/man/man7/module.7:1.8	Mon Jul 13 12:44:04 2020
+++ src/share/man/man7/module.7	Mon Jul 13 13:42:51 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: module.7,v 1.8 2020/07/13 12:44:04 jruoho Exp $
+.\" $NetBSD: module.7,v 1.9 2020/07/13 13:42:51 pgoyette Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -131,7 +131,7 @@ make install
 .Pp
 Alternatively, the
 .Dq build.sh
-tool can be used to build only the modules:
+tool can be used to build and install only the modules:
 .Bd -literal -offset indent
 cd /usr/src
 \&./build.sh -O /usr/obj -T /usr/tools modules



CVS commit: src/share/man/man7

2020-07-13 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon Jul 13 12:44:04 UTC 2020

Modified Files:
src/share/man/man7: module.7

Log Message:
Complete the example.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man7/module.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/module.7
diff -u src/share/man/man7/module.7:1.7 src/share/man/man7/module.7:1.8
--- src/share/man/man7/module.7:1.7	Thu Aug 31 08:36:32 2017
+++ src/share/man/man7/module.7	Mon Jul 13 12:44:04 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: module.7,v 1.7 2017/08/31 08:36:32 wiz Exp $
+.\" $NetBSD: module.7,v 1.8 2020/07/13 12:44:04 jruoho Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd August 31, 2017
+.Dd July 13, 2020
 .Dt MODULE 7
 .Os
 .Sh NAME
@@ -131,10 +131,11 @@ make install
 .Pp
 Alternatively, the
 .Dq build.sh
-tool can be used to build only the modules.
+tool can be used to build only the modules:
 .Bd -literal -offset indent
 cd /usr/src
 \&./build.sh -O /usr/obj -T /usr/tools modules
+\&./build.sh -O /usr/obj -T /usr/tools installmodules=/
 .Ed
 .Sh SEE ALSO
 .Xr modctl 2 ,



CVS commit: src/share/man/man7

2020-07-13 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon Jul 13 07:26:27 UTC 2020

Modified Files:
src/share/man/man7: release.7

Log Message:
Add the missing rescue(8) and tests(7) sets.  XXX: this manual is somewhat
broken due to the differences in the archival formats used.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/share/man/man7/release.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/release.7
diff -u src/share/man/man7/release.7:1.38 src/share/man/man7/release.7:1.39
--- src/share/man/man7/release.7:1.38	Wed Jul 26 15:32:09 2017
+++ src/share/man/man7/release.7	Mon Jul 13 07:26:27 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: release.7,v 1.38 2017/07/26 15:32:09 leot Exp $
+.\"	$NetBSD: release.7,v 1.39 2020/07/13 07:26:27 jruoho Exp $
 .\"
 .\" Copyright (c) 1997, 2000, 2005 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd July 26, 2017
+.Dd July 13, 2020
 .Dt RELEASE 7
 .Os
 .Sh NAME
@@ -305,6 +305,16 @@ the typesettable document set, and vario
 configuration files.
 .It Sy modules.tgz
 This set includes all the kernel modules.
+.It Sy rescue.tgz
+This set contains the
+.Xr rescue 8
+utilities.
+.It Sy tests.tgz
+This set includes the
+.Xr tests 7
+for
+.Xr atf 7 ,
+the automated test framework used by NetBSD.
 .It Sy text.tgz
 This set includes the
 .Nx



CVS commit: src/share/man/man7

2020-07-12 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Jul 12 13:40:44 UTC 2020

Modified Files:
src/share/man/man7: kernel_sanitizers.7

Log Message:
Note arm KUBSAN support


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man7/kernel_sanitizers.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/kernel_sanitizers.7
diff -u src/share/man/man7/kernel_sanitizers.7:1.5 src/share/man/man7/kernel_sanitizers.7:1.6
--- src/share/man/man7/kernel_sanitizers.7:1.5	Sun Jul 12 10:10:53 2020
+++ src/share/man/man7/kernel_sanitizers.7	Sun Jul 12 13:40:44 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: kernel_sanitizers.7,v 1.5 2020/07/12 10:10:53 maxv Exp $
+.\"	$NetBSD: kernel_sanitizers.7,v 1.6 2020/07/12 13:40:44 skrll Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -50,7 +50,7 @@ Heavy runtime checks.
 .Ss Used components
 Compiler instrumentation and an entirely MI runtime.
 .Ss Supported architectures
-aarch64 (gcc), amd64 (gcc).
+aarch64 (gcc), amd64 (gcc), arm (gcc).
 [Theoretically supported on all other architectures with no MD change required]
 .Ss Files
 .Bl -tag -width  -compact



CVS commit: src/share/man/man7

2020-07-12 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Jul 12 10:10:53 UTC 2020

Modified Files:
src/share/man/man7: kernel_sanitizers.7

Log Message:
fix inaccuracy about kmsan


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man7/kernel_sanitizers.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/kernel_sanitizers.7
diff -u src/share/man/man7/kernel_sanitizers.7:1.4 src/share/man/man7/kernel_sanitizers.7:1.5
--- src/share/man/man7/kernel_sanitizers.7:1.4	Fri Jul 10 12:25:11 2020
+++ src/share/man/man7/kernel_sanitizers.7	Sun Jul 12 10:10:53 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: kernel_sanitizers.7,v 1.4 2020/07/10 12:25:11 skrll Exp $
+.\"	$NetBSD: kernel_sanitizers.7,v 1.5 2020/07/12 10:10:53 maxv Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd July 10, 2020
+.Dd July 12, 2020
 .Dt KERNEL_SANITIZERS 7
 .Os
 .Sh NAME
@@ -126,10 +126,10 @@ should introduce only one MD header file
 .Sh KMSAN
 Kernel Memory Sanitizer, specializes in finding uninitialized memory.
 .Ss Runtime cost
-Heavy runtime checks, and ~100% increase in memory consumption.
+Heavy runtime checks, and ~200% increase in memory consumption.
 .Ss Used components
-Shadow memory, compiler instrumentation, special kernel wrappers, and heavy MD
-infrastructure.
+Double shadow memory, compiler instrumentation, special kernel wrappers, and
+heavy MD infrastructure.
 .Ss Supported architectures
 amd64 (llvm).
 .Ss Files



CVS commit: src/share/man/man7

2020-06-30 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Tue Jun 30 16:22:56 UTC 2020

Modified Files:
src/share/man/man7: kernel_sanitizers.7

Log Message:
fix file path


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man7/kernel_sanitizers.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/kernel_sanitizers.7
diff -u src/share/man/man7/kernel_sanitizers.7:1.2 src/share/man/man7/kernel_sanitizers.7:1.3
--- src/share/man/man7/kernel_sanitizers.7:1.2	Wed Jun 24 08:20:13 2020
+++ src/share/man/man7/kernel_sanitizers.7	Tue Jun 30 16:22:55 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: kernel_sanitizers.7,v 1.2 2020/06/24 08:20:13 wiz Exp $
+.\"	$NetBSD: kernel_sanitizers.7,v 1.3 2020/06/30 16:22:55 maxv Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 22, 2020
+.Dd June 30, 2020
 .Dt KERNEL_SANITIZERS 7
 .Os
 .Sh NAME
@@ -54,7 +54,7 @@ aarch64 (gcc), amd64 (gcc).
 [Theoretically supported on all other architectures with no MD change required]
 .Ss Files
 .Bl -tag -width  -compact
-.It Pa src/common/lib/libc/misc/
+.It Pa src/common/lib/libc/misc/ubsan.c
 Core KUBSAN code.
 MI.
 .El



CVS commit: src/share/man/man7

2020-06-24 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun 24 08:20:13 UTC 2020

Modified Files:
src/share/man/man7: kernel_sanitizers.7

Log Message:
New sentence, new line. Fix macro arguments. Improve Nd.
Remove superfluous Pp. Other minor cleanups.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man7/kernel_sanitizers.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/kernel_sanitizers.7
diff -u src/share/man/man7/kernel_sanitizers.7:1.1 src/share/man/man7/kernel_sanitizers.7:1.2
--- src/share/man/man7/kernel_sanitizers.7:1.1	Tue Jun 23 16:08:46 2020
+++ src/share/man/man7/kernel_sanitizers.7	Wed Jun 24 08:20:13 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: kernel_sanitizers.7,v 1.1 2020/06/23 16:08:46 maxv Exp $
+.\"	$NetBSD: kernel_sanitizers.7,v 1.2 2020/06/24 08:20:13 wiz Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -28,13 +28,11 @@
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
 .Dd June 22, 2020
-.Dt kernel_sanitizers 7
+.Dt KERNEL_SANITIZERS 7
 .Os
 .Sh NAME
 .Nm kernel_sanitizers
-.Nd
-.Nx
-Kernel Sanitizers
+.Nd NetBSD Kernel Sanitizers
 .Sh DESCRIPTION
 Kernel Sanitizers are powerful kernel bug detection features that can
 automatically discover several classes of bugs at run time while the kernel
@@ -55,15 +53,14 @@ Compiler instrumentation and an entirely
 aarch64 (gcc), amd64 (gcc).
 [Theoretically supported on all other architectures with no MD change required]
 .Ss Files
-.Pp
 .Bl -tag -width  -compact
 .It Pa src/common/lib/libc/misc/
-Core KUBSAN code. MI.
+Core KUBSAN code.
+MI.
 .El
 .Sh KASAN
 Kernel Address Sanitizer, specializes in finding memory corruptions such as
 buffer overflows and use-after-frees.
-.Pp
 .Ss Runtime cost
 Heavy runtime checks, and ~12.5% increase in memory consumption.
 .Ss Used components
@@ -89,11 +86,14 @@ An architecture is allowed to have only 
 .Ss Files
 .Bl -tag -width  -compact
 .It Pa src/sys/kern/subr_asan.c
-Core KASAN code. MI.
+Core KASAN code.
+MI.
 .It Pa src/sys/sys/asan.h
-Main KASAN header. MI.
+Main KASAN header.
+MI.
 .It Pa src/sys/arch/{port}/include/asan.h
-Port-specific KASAN code. MD.
+Port-specific KASAN code.
+MD.
 .El
 .Pp
 Each new port of KASAN should respect the existing naming conventions, and
@@ -109,11 +109,14 @@ amd64 (gcc).
 .Ss Files
 .Bl -tag -width  -compact
 .It Pa src/sys/kern/subr_csan.c
-Core KCSAN code. MI.
+Core KCSAN code.
+MI.
 .It Pa src/sys/sys/csan.h
-Main KCSAN header. MI.
+Main KCSAN header.
+MI.
 .It Pa src/sys/arch/{port}/include/csan.h
-Port-specific KCSAN code. MD.
+Port-specific KCSAN code.
+MD.
 .El
 .Pp
 Each new port of KCSAN should respect the existing naming conventions, and
@@ -130,16 +133,20 @@ amd64 (llvm).
 .Ss Files
 .Bl -tag -width  -compact
 .It Pa src/sys/kern/subr_msan.c
-Core KMSAN code. MI.
+Core KMSAN code.
+MI.
 .It Pa src/sys/sys/msan.h
-Main KMSAN header. MI.
+Main KMSAN header.
+MI.
 .It Pa src/sys/arch/{port}/include/msan.h
-Port-specific KMSAN code. MD.
+Port-specific KMSAN code.
+MD.
 .El
 .Pp
 Each new port of KMSAN should respect the existing naming conventions, and
 should introduce only one MD header file.
 .Sh AUTHORS
+.An -nosplit
 Support for KUBSAN was developed by
 .An Kamil Rytarowski .
 Support for KASAN, KCSAN and KMSAN was developed by



CVS commit: src/share/man/man7

2020-06-13 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat Jun 13 20:18:00 UTC 2020

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
g/c vm.idlezero


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.146 src/share/man/man7/sysctl.7:1.147
--- src/share/man/man7/sysctl.7:1.146	Sun May 10 02:32:32 2020
+++ src/share/man/man7/sysctl.7	Sat Jun 13 20:18:00 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.146 2020/05/10 02:32:32 riastradh Exp $
+.\"	$NetBSD: sysctl.7,v 1.147 2020/06/13 20:18:00 ad Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -2589,7 +2589,6 @@ them with
 with the caveat that whatever pages were already written to disk
 unencrypted or encrypted with a compromised key may still be written to
 disk afterward.
-.\" XXX vm.idlezero
 .El
 .Ss The ddb.* subtree ( Dv CTL_DDB )
 The information available for the



CVS commit: src/share/man/man7

2020-05-14 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu May 14 16:32:57 UTC 2020

Modified Files:
src/share/man/man7: src.7

Log Message:
- prune src/gnu and src/sys/netsmb
- add src/sys/netcan
- remove bogus statement about location of reachover Makefiles
- tweak language


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/share/man/man7/src.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/src.7
diff -u src/share/man/man7/src.7:1.15 src/share/man/man7/src.7:1.16
--- src/share/man/man7/src.7:1.15	Sun Sep 23 09:21:00 2018
+++ src/share/man/man7/src.7	Thu May 14 16:32:57 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: src.7,v 1.15 2018/09/23 09:21:00 maxv Exp $
+.\" $NetBSD: src.7,v 1.16 2020/05/14 16:32:57 snj Exp $
 .\"
 .\" Copyright (c) 2012, 2013 Mingzhe Wang and Elvira Khabirova.
 .\"	All rights reserved.
@@ -24,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd September 23, 2018
+.Dd May 14, 2020
 .Dt SRC 7
 .Os
 .Sh NAME
@@ -75,7 +75,7 @@ fragment for building an
 .Pa 
 compat libraries for
 .Pa  .
-E. g.,
+For example,
 .Pa compat/amd64/i386/
 is where the 32-bit compat libraries for the
 amd64 port are being built.
@@ -118,7 +118,7 @@ Tools and data-files for making distribu
 .It Pa /
 Architecture-specific files, grouped by
 image type.
-E. g.,
+For example,
 .Pa distrib//floppies/
 contains Makefiles for making images for
 various types of floppies;
@@ -157,10 +157,6 @@ Architecture-specific config files.
 .It Pa external/
 Unmodified sources from third parties,
 grouped by license.
-They are built with so-called "reachover"
-Makefiles which can be found in
-.Pa src/*bin/
-hierarchies.
 Every
 .Pa external///
 may contain:
@@ -173,7 +169,7 @@ Unmodified third party source for a give
 .It etc.
 Such subdirectories contain reachover Makefiles,
 README's and various import helper scripts.
-E. g.,
+For example,
 .Pa external/public-domain/
 contains
 sources licensed under Public Domain
@@ -196,19 +192,6 @@ Sources for utilities/files in
 .Pa /usr/games ;
 each utility has its own subdirectory, where
 its sources and Makefiles are located.
-.It Pa gnu/
-Sources licensed under GNU GPL.
-This is deprecated;
-.Pa external/gpl2/
-or
-.Pa external/gpl3/
-should be used instead.
-.Pa gnu/dists
-contains the original GNU sources plus changes that
-were submitted to maintainers and that are not
-yet published.
-Other folders contain files that are never expected
-to be submitted to the FSF (reachover Makefiles, etc.)
 .It Pa include/
 Files to be put into
 .Pa /usr/include .
@@ -294,6 +277,9 @@ Appletalk protocol stack
 .It Pa netbt/
 Bluetooth stack
 .Xr bluetooth 4 .
+.It Pa netcan/
+Controller Area Network stack
+.Xr can 4 .
 .It Pa netinet/
 IPv4 protocol stack
 .Xr ip 4 .
@@ -305,8 +291,6 @@ IPsec protocol stack
 .It Pa netmpls/
 MPLS protocol stack
 .Xr mpls 4 .
-.It Pa netsmb/
-SMB network protocol stack.
 .It Pa nfs/
 Network file system driver.
 .It Pa opencrypto/



CVS commit: src/share/man/man7

2020-05-12 Thread Leonardo Taccari
Module Name:src
Committed By:   leot
Date:   Tue May 12 10:20:16 UTC 2020

Modified Files:
src/share/man/man7: hier.7

Log Message:
Remove a reference to /etc/netstart

It was removed in rc.d era and no longer honored (except by newbtconf(8)).

Noticed by Ottavio Caruso on #netbsd@Freenode, thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.139 src/share/man/man7/hier.7:1.140
--- src/share/man/man7/hier.7:1.139	Sat Apr  4 15:32:42 2020
+++ src/share/man/man7/hier.7	Tue May 12 10:20:16 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.139 2020/04/04 15:32:42 jdolecek Exp $
+.\"	$NetBSD: hier.7,v 1.140 2020/05/12 10:20:16 leot 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 January 10, 2020
+.Dd May 12, 2020
 .Dt HIER 7
 .Os
 .Sh NAME
@@ -255,8 +255,6 @@ configuration files and databases.
 .It Pa netgroup
 Network groups; see
 .Xr netgroup 5 .
-.It Pa netstart
-Network startup script .
 .It Pa networks
 Network name database; see
 .Xr networks 5 .



CVS commit: src/share/man/man7

2020-05-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun May 10 02:32:32 UTC 2020

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Mark experimental-default-off knobs clearly as such.


To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.146 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.145 src/share/man/man7/sysctl.7:1.146
--- src/share/man/man7/sysctl.7:1.145	Sun May 10 02:31:29 2020
+++ src/share/man/man7/sysctl.7	Sun May 10 02:32:32 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.145 2020/05/10 02:31:29 riastradh Exp $
+.\"	$NetBSD: sysctl.7,v 1.146 2020/05/10 02:32:32 riastradh Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -2546,12 +2546,11 @@ the fifth is the size of
 Returns an array of
 .Vt struct kinfo_vmentry
 objects.
-.It Li vm.ubc_direct
+.It Li vm.ubc_direct Bq Sy "EXPERIMENTAL" Ns No , default off
 Use direct map for UBC I/O, avoiding need to map and unmap buffer memory.
 Speeds up operation for fast I/O devices like NVMe, especially
 on multi-CPU systems.
 Only available on some architectures.
-Currently still experimental, default is off.
 .It Li vm.uspace ( Dv VM_USPACE )
 The number of bytes allocated for each kernel stack.
 .It Li vm.uvmexp ( Dv VM_UVMEXP )
@@ -2567,7 +2566,7 @@ Return system wide guard size for the ma
 .It Li vm.thread_guard_size
 Return system wide default size for the guard area of all other threads
 of a program.
-.It Li vm.swap_encrypt
+.It Li vm.swap_encrypt Bq Sy "EXPERIMENTAL" Ns No , default off
 If true, encrypt data while swapped out to disk.
 .Pp
 Each swap device maintains an independent AES-256 key, generated when



CVS commit: src/share/man/man7

2020-05-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun May 10 02:31:29 UTC 2020

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Document vm.swap_encrypt.


To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.145 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.144 src/share/man/man7/sysctl.7:1.145
--- src/share/man/man7/sysctl.7:1.144	Sun May 10 02:30:33 2020
+++ src/share/man/man7/sysctl.7	Sun May 10 02:31:29 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.144 2020/05/10 02:30:33 riastradh Exp $
+.\"	$NetBSD: sysctl.7,v 1.145 2020/05/10 02:31:29 riastradh Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -2493,6 +2493,7 @@ privilege may change the value.
 .It vm.proc.map	struct kinfo_vmentry	no
 .It vm.guard_size	unsigned int	no
 .It vm.thread_guard_size	unsigned int	yes
+.It vm.swap_encrypt	bool	yes
 .El
 .Bl -tag -width "123456"
 .It Li vm.anonmax ( Dv VM_ANONMAX )
@@ -2566,6 +2567,29 @@ Return system wide guard size for the ma
 .It Li vm.thread_guard_size
 Return system wide default size for the guard area of all other threads
 of a program.
+.It Li vm.swap_encrypt
+If true, encrypt data while swapped out to disk.
+.Pp
+Each swap device maintains an independent AES-256 key, generated when
+the first page is swapped to that device.
+Each page is swapped independently using AES-CBC, with an
+initialization vector chosen by the encryption under the AES-256 key of
+the little-endian swap slot number padded to 128 bits with zeros.
+(This is essentially the
+.Xr cgd 4
+.Sq encblkno1
+method.)
+.Pp
+Changes to
+.Li vm.swap_encrypt
+only affect pages of swap newly written out.
+To force encrypting or decrypting all existing swap, or to rekey
+previously encrypted swap, you can remove the swap devices and re-add
+them with
+.Xr swapctl 8 ,
+with the caveat that whatever pages were already written to disk
+unencrypted or encrypted with a compromised key may still be written to
+disk afterward.
 .\" XXX vm.idlezero
 .El
 .Ss The ddb.* subtree ( Dv CTL_DDB )



CVS commit: src/share/man/man7

2020-05-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun May 10 02:30:33 UTC 2020

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Tweak kern.arandom documentation.


To generate a diff of this commit:
cvs rdiff -u -r1.143 -r1.144 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.143 src/share/man/man7/sysctl.7:1.144
--- src/share/man/man7/sysctl.7:1.143	Fri May  1 10:06:09 2020
+++ src/share/man/man7/sysctl.7	Sun May 10 02:30:33 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.143 2020/05/01 10:06:09 nia Exp $
+.\"	$NetBSD: sysctl.7,v 1.144 2020/05/10 02:30:33 riastradh Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -384,13 +384,25 @@ upon loading or unloading the correspond
 .It Li kern.aio_max
 The maximum number of asynchronous I/O operations.
 .It Li kern.arandom ( Dv KERN_ARND )
-This variable returns up to 256 bytes of random data.
-Multiple queries can be used to obtain an infinite amount of
-non-blocking cryptographically secure random data.
-The used random number generator
-.Pf ( RNG )
-is based on
-.Xr cprng_strong 9 .
+Returns independent uniformly distributed bytes at random each time, as
+many as requested up to 256, derived from the system entropy pool; see
+.Xr rnd 4 .
+.Pp
+Reading
+.Li kern.arandom
+is equivalent to reading up to 256 bytes at a time from
+.Pa /dev/urandom :
+reading
+.Li kern.arandom
+never blocks, and once the system entropy pool has full entropy, output
+subsequently read from
+.Li kern.arandom
+is fit for use as cryptographic key material.
+For example, the
+.Xr arc4random 3
+library routine uses
+.Li kern.arandom
+internally to seed a cryptographic pseudorandom number generator.
 .It Li kern.argmax ( Dv KERN_ARGMAX )
 The maximum bytes of argument to
 .Xr execve 2 .



CVS commit: src/share/man/man7

2020-05-01 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri May  1 10:06:09 UTC 2020

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Update documentation of kern.arandom. It uses cprng_strong(9).


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.142 src/share/man/man7/sysctl.7:1.143
--- src/share/man/man7/sysctl.7:1.142	Sat Nov 16 17:33:09 2019
+++ src/share/man/man7/sysctl.7	Fri May  1 10:06:09 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.142 2019/11/16 17:33:09 nia Exp $
+.\"	$NetBSD: sysctl.7,v 1.143 2020/05/01 10:06:09 nia Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -390,7 +390,7 @@ non-blocking cryptographically secure ra
 The used random number generator
 .Pf ( RNG )
 is based on
-.Xr arc4random 3 .
+.Xr cprng_strong 9 .
 .It Li kern.argmax ( Dv KERN_ARGMAX )
 The maximum bytes of argument to
 .Xr execve 2 .



CVS commit: src/share/man/man7

2020-04-02 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Thu Apr  2 20:57:20 UTC 2020

Modified Files:
src/share/man/man7: groups.7 users.7

Log Message:
Add _dhcpcd entries.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man7/groups.7
cvs rdiff -u -r1.4 -r1.5 src/share/man/man7/users.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/groups.7
diff -u src/share/man/man7/groups.7:1.7 src/share/man/man7/groups.7:1.8
--- src/share/man/man7/groups.7:1.7	Fri Feb 28 07:31:38 2020
+++ src/share/man/man7/groups.7	Thu Apr  2 20:57:20 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: groups.7,v 1.7 2020/02/28 07:31:38 kim Exp $
+.\"	$NetBSD: groups.7,v 1.8 2020/04/02 20:57:20 roy Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd February 25, 2020
+.Dd April 2, 2020
 .Dt GROUPS 7
 .Os
 .\"
@@ -251,6 +251,12 @@ Users authorized to read and write GPIO 
 .Xr gpio 4
 and
 .Xr gpioctl 8 .
+.It Em _dhcpcd
+Primary group for the
+.Em _dhcpcd
+pseudo-user used by the
+.Xr dhcpcd 8
+DHCP Client Daemon.
 .It Em _rtadvd
 Primary group for the
 .Em _rtadvd

Index: src/share/man/man7/users.7
diff -u src/share/man/man7/users.7:1.4 src/share/man/man7/users.7:1.5
--- src/share/man/man7/users.7:1.4	Fri Feb 28 07:30:51 2020
+++ src/share/man/man7/users.7	Thu Apr  2 20:57:20 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: users.7,v 1.4 2020/02/28 07:30:51 kim Exp $
+.\"	$NetBSD: users.7,v 1.5 2020/04/02 20:57:20 roy Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd February 25, 2020
+.Dd April 2, 2020
 .Dt USERS 7
 .Os
 .\"
@@ -168,6 +168,10 @@ Pseudo-user for use by the
 .Xr tcsd 8
 .Sq Trusted Computing
 daemon TPM to manage a TPM.
+.It Em _dhcpcd
+Pseudo-user for use by the
+.Xr dhcpcd 8
+DHCP Client Daemon.
 .It Em _rtadvd
 Pseudo-user for use by the
 .Xr rtadvd 8



CVS commit: src/share/man/man7

2020-02-27 Thread Kimmo Suominen
Module Name:src
Committed By:   kim
Date:   Fri Feb 28 07:31:38 UTC 2020

Modified Files:
src/share/man/man7: groups.7

Log Message:
Typo fix (remove extra TPM)


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man7/groups.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/groups.7
diff -u src/share/man/man7/groups.7:1.6 src/share/man/man7/groups.7:1.7
--- src/share/man/man7/groups.7:1.6	Fri Feb 28 07:30:51 2020
+++ src/share/man/man7/groups.7	Fri Feb 28 07:31:38 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: groups.7,v 1.6 2020/02/28 07:30:51 kim Exp $
+.\"	$NetBSD: groups.7,v 1.7 2020/02/28 07:31:38 kim Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -245,7 +245,7 @@ Primary group for the
 pseudo-user used by the
 .Xr tcsd 8
 .Sq Trusted Computing
-daemon TPM to manage a TPM.
+daemon to manage a TPM.
 .It Em _gpio
 Users authorized to read and write GPIO pins; see
 .Xr gpio 4



CVS commit: src/share/man/man7

2020-02-27 Thread Kimmo Suominen
Module Name:src
Committed By:   kim
Date:   Fri Feb 28 07:30:51 UTC 2020

Modified Files:
src/share/man/man7: groups.7 users.7

Log Message:
Fix .Dt to match installed section


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man7/groups.7
cvs rdiff -u -r1.3 -r1.4 src/share/man/man7/users.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/groups.7
diff -u src/share/man/man7/groups.7:1.5 src/share/man/man7/groups.7:1.6
--- src/share/man/man7/groups.7:1.5	Wed Feb 26 18:32:57 2020
+++ src/share/man/man7/groups.7	Fri Feb 28 07:30:51 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: groups.7,v 1.5 2020/02/26 18:32:57 uwe Exp $
+.\"	$NetBSD: groups.7,v 1.6 2020/02/28 07:30:51 kim Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -25,7 +25,7 @@
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
 .Dd February 25, 2020
-.Dt GROUPS 5
+.Dt GROUPS 7
 .Os
 .\"
 .Sh NAME

Index: src/share/man/man7/users.7
diff -u src/share/man/man7/users.7:1.3 src/share/man/man7/users.7:1.4
--- src/share/man/man7/users.7:1.3	Wed Feb 26 18:39:24 2020
+++ src/share/man/man7/users.7	Fri Feb 28 07:30:51 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: users.7,v 1.3 2020/02/26 18:39:24 uwe Exp $
+.\"	$NetBSD: users.7,v 1.4 2020/02/28 07:30:51 kim Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -25,7 +25,7 @@
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
 .Dd February 25, 2020
-.Dt USERS 5
+.Dt USERS 7
 .Os
 .\"
 .Sh NAME



CVS commit: src/share/man/man7

2020-02-26 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Wed Feb 26 18:39:24 UTC 2020

Modified Files:
src/share/man/man7: users.7

Log Message:
Make .Bl -width match the actual .It usage.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man7/users.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/users.7
diff -u src/share/man/man7/users.7:1.2 src/share/man/man7/users.7:1.3
--- src/share/man/man7/users.7:1.2	Wed Feb 26 10:04:32 2020
+++ src/share/man/man7/users.7	Wed Feb 26 18:39:24 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: users.7,v 1.2 2020/02/26 10:04:32 wiz Exp $
+.\"	$NetBSD: users.7,v 1.3 2020/02/26 18:39:24 uwe Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -38,7 +38,7 @@ A standard
 installation has the following user account names:
 .\" These are currently sorted by uid; perhaps they should be sorted
 .\" lexicographically by name instead.
-.Bl -tag -width "_tcpdump"
+.Bl -tag -width ".Em _tcpdump"
 .It Em root
 The super-user, uid 0, with the highest administrative privileges.
 Normally not used for login directly, only via



CVS commit: src/share/man/man7

2020-02-26 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Wed Feb 26 18:32:57 UTC 2020

Modified Files:
src/share/man/man7: groups.7

Log Message:
Minor formatting tweaks.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man7/groups.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/groups.7
diff -u src/share/man/man7/groups.7:1.4 src/share/man/man7/groups.7:1.5
--- src/share/man/man7/groups.7:1.4	Wed Feb 26 18:25:39 2020
+++ src/share/man/man7/groups.7	Wed Feb 26 18:32:57 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: groups.7,v 1.4 2020/02/26 18:25:39 uwe Exp $
+.\"	$NetBSD: groups.7,v 1.5 2020/02/26 18:32:57 uwe Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -38,13 +38,13 @@ A standard
 installation has the following user group names:
 .\" These are currently sorted by gid; perhaps they should be sorted
 .\" lexicographically by name instead.
-.Bl -tag -width "_tcpdump"
+.Bl -tag -width ".Em _tcpdump"
 .It Em wheel
 Users authorized to elevate themselves to the super-user privileges of
-the root user, meaning uid 0.
+the root user, meaning uid\~0.
 Normally the
 .Em wheel
-group has gid 0.
+group has gid\~0.
 .Pp
 Users who are not in the group
 .Em wheel
@@ -307,8 +307,7 @@ file.
 Some administrators may instead prefer to assign to each user a unique
 group with the same name as the user by passing the
 .So
-.Fl g
-.Ar "=uid"
+.Fl g Cm "=uid"
 .Sc
 option to
 .Xr useradd 8 .



CVS commit: src/share/man/man7

2020-02-26 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Wed Feb 26 18:25:39 UTC 2020

Modified Files:
src/share/man/man7: groups.7

Log Message:
Fix unedited pasto.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man7/groups.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/groups.7
diff -u src/share/man/man7/groups.7:1.3 src/share/man/man7/groups.7:1.4
--- src/share/man/man7/groups.7:1.3	Wed Feb 26 10:06:08 2020
+++ src/share/man/man7/groups.7	Wed Feb 26 18:25:39 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: groups.7,v 1.3 2020/02/26 10:06:08 wiz Exp $
+.\"	$NetBSD: groups.7,v 1.4 2020/02/26 18:25:39 uwe Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -161,7 +161,7 @@ pseudo-user used by the
 DNS nameserver daemon.
 .It Em ntpd
 Primary group for the
-.Em named
+.Em ntpd
 pseudo-user used by the
 .Xr ntpd 8
 network time protocol daemon.



CVS commit: src/share/man/man7

2020-02-26 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Feb 26 10:06:08 UTC 2020

Modified Files:
src/share/man/man7: groups.7 intro.7

Log Message:
Minor fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man7/groups.7
cvs rdiff -u -r1.27 -r1.28 src/share/man/man7/intro.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/groups.7
diff -u src/share/man/man7/groups.7:1.2 src/share/man/man7/groups.7:1.3
--- src/share/man/man7/groups.7:1.2	Wed Feb 26 10:04:32 2020
+++ src/share/man/man7/groups.7	Wed Feb 26 10:06:08 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: groups.7,v 1.2 2020/02/26 10:04:32 wiz Exp $
+.\"	$NetBSD: groups.7,v 1.3 2020/02/26 10:06:08 wiz Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -55,7 +55,7 @@ to gain root privileges.
 Used by the set-group-id
 .Pq Xr setuid 7
 programs
-.Xr lpq 1 
+.Xr lpq 1 ,
 .Xr lpr 1 ,
 and
 .Xr lprm 1 .
@@ -126,7 +126,7 @@ Historic group.
 Unused in modern
 .Nx .
 .\" Actually it seems to be used in the set lists somehow, but it's
- \" unclear to me how what the significance is.
+.\" unclear to me how what the significance is.
 .It Em maildrop
 Used by the set-group-id
 .Pq Xr setuid 7

Index: src/share/man/man7/intro.7
diff -u src/share/man/man7/intro.7:1.27 src/share/man/man7/intro.7:1.28
--- src/share/man/man7/intro.7:1.27	Wed Feb 26 07:31:51 2020
+++ src/share/man/man7/intro.7	Wed Feb 26 10:06:08 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: intro.7,v 1.27 2020/02/26 07:31:51 riastradh Exp $
+.\"	$NetBSD: intro.7,v 1.28 2020/02/26 10:06:08 wiz Exp $
 .\"
 .\" Copyright (c) 1983, 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -121,6 +121,6 @@ user account names
 .El
 .Sh HISTORY
 The
-.Xr intro 7
+.Nm intro
 manual page appeared in
 .Bx 4.2 .



CVS commit: src/share/man/man7

2020-02-26 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Feb 26 10:04:32 UTC 2020

Modified Files:
src/share/man/man7: groups.7 users.7

Log Message:
Fix Xr section numbers.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man7/groups.7 \
src/share/man/man7/users.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/groups.7
diff -u src/share/man/man7/groups.7:1.1 src/share/man/man7/groups.7:1.2
--- src/share/man/man7/groups.7:1.1	Wed Feb 26 07:31:51 2020
+++ src/share/man/man7/groups.7	Wed Feb 26 10:04:32 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: groups.7,v 1.1 2020/02/26 07:31:51 riastradh Exp $
+.\"	$NetBSD: groups.7,v 1.2 2020/02/26 10:04:32 wiz Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -49,16 +49,16 @@ group has gid 0.
 Users who are not in the group
 .Em wheel
 are never allowed by
-.Xr su 8
+.Xr su 1
 to gain root privileges.
 .It Em daemon
 Used by the set-group-id
 .Pq Xr setuid 7
 programs
-.Xr lpq 8 ,
-.Xr lpr 8 ,
+.Xr lpq 1 
+.Xr lpr 1 ,
 and
-.Xr lprm 8 .
+.Xr lprm 1 .
 .\" Unclear why.  Maybe used to be used by uucp stuff too, since
 .\" /var/spool/lock ownership is uucp:daemon?
 .It Em sys
@@ -69,7 +69,7 @@ Unused in modern
 Used by the set-group-id
 .Pq Xr setuid 7
 programs
-.Xr wall 8
+.Xr wall 1
 and
 .Xr write 1
 to allow users to send messages to another tty even if they don't own
@@ -131,11 +131,11 @@ Unused in modern
 Used by the set-group-id
 .Pq Xr setuid 7
 programs
-.Xr postdrop 8
+.Xr postdrop 1
 and
-.Xr postqueue 8
+.Xr postqueue 1
 to submit to and examine the
-.Xr postfix 8
+.Xr postfix 1
 mail queue at
 .Pa /var/spool/postfix/maildrop
 and
@@ -144,7 +144,7 @@ and
 Primary group for the
 .Em postfix
 pseudo-user used by the
-.Xr postfix 8
+.Xr postfix 1
 mail transfer agent.
 .\" Why are various subdirectories of /var/spool/postfix owned by
 .\" postfix:wheel and not postfix:postfix?
@@ -276,7 +276,7 @@ pseudo-user used by the
 authoritative DNS nameserver.
 .It Em nvmm
 Users authorized to use the
-.Xr nvmm 8
+.Xr nvmm 4
 .Nx
 Virtual Machine Monitor.
 .It Em nobody
Index: src/share/man/man7/users.7
diff -u src/share/man/man7/users.7:1.1 src/share/man/man7/users.7:1.2
--- src/share/man/man7/users.7:1.1	Wed Feb 26 07:31:51 2020
+++ src/share/man/man7/users.7	Wed Feb 26 10:04:32 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: users.7,v 1.1 2020/02/26 07:31:51 riastradh Exp $
+.\"	$NetBSD: users.7,v 1.2 2020/02/26 10:04:32 wiz Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -42,7 +42,7 @@ installation has the following user acco
 .It Em root
 The super-user, uid 0, with the highest administrative privileges.
 Normally not used for login directly, only via
-.Xr su 8
+.Xr su 1
 or equivalent by users in the
 .Em wheel
 group; see
@@ -100,7 +100,7 @@ Unused in modern
 Owner of high-score files and other shared files for games.
 .It Em postfix
 Pseudo-user for use by the
-.Xr postfix 8
+.Xr postfix 1
 mail transfer agent.
 .It Em named
 Pseudo-user for use by the



CVS commit: src/share/man/man7

2020-01-10 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri Jan 10 14:56:00 UTC 2020

Modified Files:
src/share/man/man7: hier.7

Log Message:
Fix markup typo.


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.137 src/share/man/man7/hier.7:1.138
--- src/share/man/man7/hier.7:1.137	Fri Jan 10 12:58:41 2020
+++ src/share/man/man7/hier.7	Fri Jan 10 14:56:00 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.137 2020/01/10 12:58:41 maya Exp $
+.\"	$NetBSD: hier.7,v 1.138 2020/01/10 14:56:00 maya Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -664,7 +664,7 @@ Apache 2.0 license.
 BSD (or equivalent) licensed software,
 possibly with the
 .Dq advertising clause .
-.It pa broadcom/
+.It Pa broadcom/
 Broadcom firmware license.
 .It Pa cddl/
 Common Development and Distribution License (the Sun license which is



CVS commit: src/share/man/man7

2020-01-10 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri Jan 10 12:58:41 UTC 2020

Modified Files:
src/share/man/man7: hier.7

Log Message:
Add some more licenses appearing in external.
Remove mentions of src/gnu that no longer exists.
Mention /usr/pkg/etc.
Bump date


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.136 src/share/man/man7/hier.7:1.137
--- src/share/man/man7/hier.7:1.136	Mon Mar 25 19:24:30 2019
+++ src/share/man/man7/hier.7	Fri Jan 10 12:58:41 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.136 2019/03/25 19:24:30 maxv Exp $
+.\"	$NetBSD: hier.7,v 1.137 2020/01/10 12:58:41 maya 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 March 25, 2019
+.Dd January 10, 2020
 .Dt HIER 7
 .Os
 .Sh NAME
@@ -504,6 +504,8 @@ Installed third-party software packages.
 .Bl -tag -width "include/" -compact
 .It Pa bin/
 Package binaries.
+.It Pa etc/
+Package configuration files.
 .It Pa include/
 Package include files.
 .It Pa lib/
@@ -662,6 +664,8 @@ Apache 2.0 license.
 BSD (or equivalent) licensed software,
 possibly with the
 .Dq advertising clause .
+.It pa broadcom/
+Broadcom firmware license.
 .It Pa cddl/
 Common Development and Distribution License (the Sun license which is
 based on the Mozilla Public License version 1.1).
@@ -681,8 +685,12 @@ terms similar to BSD licensed software.
 .It Pa intel-public/
 Intel license permitting redistribution with terms similar to
 BSD licensed software.
+.It Pa lgpl3/
+GNU lesser general public license, version 3.
 .It Pa mit/
 MIT (X11) style license.
+.It Pa mpl/
+Mozilla Public License.
 .It Pa zlib/
 BSD-like zlib license.
 .El
@@ -690,13 +698,6 @@ BSD-like zlib license.
 .It Pa games/
 Source for utilities/files in
 .Pa /usr/games .
-.It Pa gnu/
-Source for programs covered by the GNU license (or similar)
-(deprecated; use
-.Pa external/gpl2/
-or
-.Pa external/gpl3/
-as appropriate).
 .It Pa include/
 Source for files in
 .Pa /usr/include .



CVS commit: src/share/man/man7

2019-02-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Mar  1 03:05:08 UTC 2019

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Document kern.uidinfo.semcnt.


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.137 src/share/man/man7/sysctl.7:1.138
--- src/share/man/man7/sysctl.7:1.137	Wed Dec  5 16:15:20 2018
+++ src/share/man/man7/sysctl.7	Thu Feb 28 22:05:08 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.137 2018/12/05 21:15:20 wiz Exp $
+.\"	$NetBSD: sysctl.7,v 1.138 2019/03/01 03:05:08 christos Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd December 5, 2018
+.Dd February 28, 2019
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -1269,6 +1269,7 @@ Resource usage for the current user.
 .It kern.uidinfo.proccnt	integer	no
 .It kern.uidinfo.lwpcnt	integer	no
 .It kern.uidinfo.lockcnt	integer	no
+.It kern.uidinfo.semcnt	integer	no
 .It kern.uidinfo.sbsize	integer	no
 .El
 .Bl -tag -width "123456"
@@ -1279,6 +1280,8 @@ Returns the number of active threads for
 of each process is not counted.
 .It Li kern.uidinfo.lockcnt
 Number of locks held by the current user.
+.It Li kern.uidinfo.semcnt
+Number of semaphores held by the current user.
 .It Li kern.uidinfo.sbsize
 Number of bytes in socket buffers allocated to the current user.
 .El



CVS commit: src/share/man/man7

2018-12-29 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Dec 29 11:33:00 UTC 2018

Modified Files:
src/share/man/man7: symlink.7

Log Message:
Remove reference to compat_darwin (was retired a long time ago).


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/share/man/man7/symlink.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/symlink.7
diff -u src/share/man/man7/symlink.7:1.27 src/share/man/man7/symlink.7:1.28
--- src/share/man/man7/symlink.7:1.27	Sat Dec 29 11:30:11 2018
+++ src/share/man/man7/symlink.7	Sat Dec 29 11:33:00 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: symlink.7,v 1.27 2018/12/29 11:30:11 maxv Exp $
+.\"	$NetBSD: symlink.7,v 1.28 2018/12/29 11:33:00 maxv Exp $
 .\"
 .\" Copyright (c) 1992, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -564,7 +564,6 @@ Defaults to
 Other valid emulations are:
 .Dv aout ,
 .Dv aoutm68k ,
-.Dv darwin ,
 .Dv freebsd ,
 .Dv linux ,
 .Dv linux32 ,



CVS commit: src/share/man/man7

2018-12-05 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Dec  5 21:15:20 UTC 2018

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Remove trailing whitespace. Remove comma for better readability.


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.136 src/share/man/man7/sysctl.7:1.137
--- src/share/man/man7/sysctl.7:1.136	Wed Dec  5 18:16:51 2018
+++ src/share/man/man7/sysctl.7	Wed Dec  5 21:15:20 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.136 2018/12/05 18:16:51 christos Exp $
+.\"	$NetBSD: sysctl.7,v 1.137 2018/12/05 21:15:20 wiz Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -524,7 +524,7 @@ calls used by
 .Xr fstat 1
 and
 .Xr sockstat 1 .
-If it is set to 
+If it is set to
 .Dv 0
 access is not allowed.
 If it is set to
@@ -532,11 +532,11 @@ If it is set to
 then only processes that have opened
 .Pa /dev/kmem
 can have access.
-If it is set to 
+If it is set to
 .Dv 2
 every process is allowed.
 Defaults to
-.Dv 0 
+.Dv 0
 for
 .Dv KASLR
 kernels
@@ -544,7 +544,7 @@ and
 .Dv 1
 otherwise.
 Allowing general access renders KASLR ineffective; allowing only kmem
-accessing programs, weakens KASLR if those programs can be subverted
+accessing programs weakens KASLR if those programs can be subverted
 to leak the addresses.
 .It Li kern.dump_on_panic ( Dv KERN_DUMP_ON_PANIC )
 Perform a crash dump on system



CVS commit: src/share/man/man7

2018-10-06 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Oct  6 13:53:58 UTC 2018

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Fix some xrefs.


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.132 src/share/man/man7/sysctl.7:1.133
--- src/share/man/man7/sysctl.7:1.132	Fri Oct  5 22:16:50 2018
+++ src/share/man/man7/sysctl.7	Sat Oct  6 13:53:58 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.132 2018/10/05 22:16:50 christos Exp $
+.\"	$NetBSD: sysctl.7,v 1.133 2018/10/06 13:53:58 wiz Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -2137,9 +2137,9 @@ The variables are as follows:
 .It Li dgram.pcblist
 The Protocol Control Block list structure for datagram sockets.
 Parsed by
-.Xr netstat 8
+.Xr netstat 1
 or
-.Xr sockstat 8 .
+.Xr sockstat 1 .
 .It Li dgram.recvspace
 The default datagram receive buffer size.
 .It Li dgram.sendspace
@@ -2147,15 +2147,15 @@ The default datagram send buffer size.
 .It Li seqpacket.pcblist
 The Protocol Control Block list structure for Sequential Packet sockets.
 Parsed by
-.Xr netstat 8
+.Xr netstat 1
 or
-.Xr sockstat 8 .
+.Xr sockstat 1 .
 .It Li stream.pcblist
 The Protocol Control Block list structure for stream sockets.
 Parsed by
-.Xr netstat 8
+.Xr netstat 1
 or
-.Xr sockstat 8 .
+.Xr sockstat 1 .
 .It Li stream.recvspace
 The default stream receive buffer size.
 .It Li stream.sendspace
@@ -2618,7 +2618,7 @@ See
 .Xr secmodel 9
 for more information.
 .It Li security.pax
-Settings for PaX -- exploit mitigation features.
+Settings for PaX \(em exploit mitigation features.
 For more information on any of the PaX features, please see
 .Xr paxctl 8
 and



CVS commit: src/share/man/man7

2018-10-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Oct  5 22:16:51 UTC 2018

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
document kern.expose_address


To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.131 src/share/man/man7/sysctl.7:1.132
--- src/share/man/man7/sysctl.7:1.131	Thu Sep  6 06:09:29 2018
+++ src/share/man/man7/sysctl.7	Fri Oct  5 18:16:50 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.131 2018/09/06 10:09:29 maxv Exp $
+.\"	$NetBSD: sysctl.7,v 1.132 2018/10/05 22:16:50 christos Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd September 6, 2018
+.Dd October 5, 2018
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -293,6 +293,7 @@ privilege may change the value.
 .It kern.domainname	string	yes
 .It kern.drivers	struct kinfo_drivers	no
 .It kern.dump_on_panic	integer	yes
+.It kern.expose_address	integer	yes
 .It kern.file	struct file	no
 .It kern.forkfsleep	integer	yes
 .It kern.fscale	integer	no
@@ -513,6 +514,16 @@ field is always a NUL terminated string.
 The
 .Va d_bmajor
 field will be set to \-1 if the driver doesn't have a block device.
+.It Li kern.expose_address
+Expose kernel addresses in
+.Xr sysctl 3
+calls used by
+.Xr fstat 1
+and
+.Xr sockstat 1 .
+Defaults to
+.Dv 0 .
+Turning it on renders KASLR ineffective.
 .It Li kern.dump_on_panic ( Dv KERN_DUMP_ON_PANIC )
 Perform a crash dump on system
 .Xr panic 9 .



CVS commit: src/share/man/man7

2018-09-06 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Sep  6 10:09:29 UTC 2018

Modified Files:
src/share/man/man7: hier.7 sysctl.7

Log Message:
more netkey->netipsec


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 src/share/man/man7/hier.7
cvs rdiff -u -r1.130 -r1.131 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.132 src/share/man/man7/hier.7:1.133
--- src/share/man/man7/hier.7:1.132	Thu Sep  6 09:44:09 2018
+++ src/share/man/man7/hier.7	Thu Sep  6 10:09:29 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.132 2018/09/06 09:44:09 maxv Exp $
+.\"	$NetBSD: hier.7,v 1.133 2018/09/06 10:09:29 maxv Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -1013,7 +1013,7 @@ AppleTalk networking support.
 IP networking support.
 .It Pa netinet6/
 IPv6 networking support.
-.It Pa netkey/
+.It Pa netipsec/
 Key database for IPsec networking support.
 .It Pa nfs/
 NFS (network file system) support, both client and server.

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.130 src/share/man/man7/sysctl.7:1.131
--- src/share/man/man7/sysctl.7:1.130	Sun Sep  2 17:21:28 2018
+++ src/share/man/man7/sysctl.7	Thu Sep  6 10:09:29 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.130 2018/09/02 17:21:28 maxv Exp $
+.\"	$NetBSD: sysctl.7,v 1.131 2018/09/06 10:09:29 maxv Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd September 2, 2018
+.Dd September 6, 2018
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -2046,7 +2046,7 @@ The variables are as follows:
 .It Li debug
 Turn on debugging message from within the kernel.
 The value is a bitmap, as defined in
-.In netkey/key_debug.h .
+.In netipsec/key_debug.h .
 .It Li enabled
 Control processing of IPsec control messages.
 .Bl -tag -width indent



CVS commit: src/share/man/man7

2018-09-06 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Sep  6 09:44:09 UTC 2018

Modified Files:
src/share/man/man7: hier.7 src.7

Log Message:
Replace netkey/ -> netipsec/, everything was moved into netipsec/.


To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 src/share/man/man7/hier.7
cvs rdiff -u -r1.13 -r1.14 src/share/man/man7/src.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.131 src/share/man/man7/hier.7:1.132
--- src/share/man/man7/hier.7:1.131	Thu Sep  6 06:41:59 2018
+++ src/share/man/man7/hier.7	Thu Sep  6 09:44:09 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.131 2018/09/06 06:41:59 maxv Exp $
+.\"	$NetBSD: hier.7,v 1.132 2018/09/06 09:44:09 maxv Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -461,7 +461,7 @@ Include files for Internet standard prot
 .It Pa netinet6/
 Include files for Internet protocol version 6; see
 .Xr inet6 4 .
-.It Pa netkey/
+.It Pa netipsec/
 Include files for secret key management, used for security protocols; see
 .Xr ipsec 4 .
 .It Pa nfs/

Index: src/share/man/man7/src.7
diff -u src/share/man/man7/src.7:1.13 src/share/man/man7/src.7:1.14
--- src/share/man/man7/src.7:1.13	Thu Sep  6 06:41:59 2018
+++ src/share/man/man7/src.7	Thu Sep  6 09:44:09 2018
@@ -1,4 +1,4 @@
-.\" $NetBSD: src.7,v 1.13 2018/09/06 06:41:59 maxv Exp $
+.\" $NetBSD: src.7,v 1.14 2018/09/06 09:44:09 maxv Exp $
 .\"
 .\" Copyright (c) 2012, 2013 Mingzhe Wang and Elvira Khabirova.
 .\"	All rights reserved.
@@ -305,8 +305,6 @@ IPsec protocol stack
 .It Pa netisdn/
 ISDN protocol stack
 .Xr isdn 4 .
-.It Pa netkey/
-Key management for IPsec.
 .It Pa netmpls/
 MPLS protocol stack
 .Xr mpls 4 .



CVS commit: src/share/man/man7

2018-09-02 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Sep  2 17:21:28 UTC 2018

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
well well well it's September now


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.129 src/share/man/man7/sysctl.7:1.130
--- src/share/man/man7/sysctl.7:1.129	Sun Sep  2 16:02:18 2018
+++ src/share/man/man7/sysctl.7	Sun Sep  2 17:21:28 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.129 2018/09/02 16:02:18 maxv Exp $
+.\"	$NetBSD: sysctl.7,v 1.130 2018/09/02 17:21:28 maxv Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd August 2, 2018
+.Dd September 2, 2018
 .Dt SYSCTL 7
 .Os
 .Sh NAME



CVS commit: src/share/man/man7

2018-09-02 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Sep  2 16:02:18 UTC 2018

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
remove reference to ipnat


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.128 src/share/man/man7/sysctl.7:1.129
--- src/share/man/man7/sysctl.7:1.128	Mon Jun 18 02:57:51 2018
+++ src/share/man/man7/sysctl.7	Sun Sep  2 16:02:18 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.128 2018/06/18 02:57:51 eadler Exp $
+.\"	$NetBSD: sysctl.7,v 1.129 2018/09/02 16:02:18 maxv Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd May 5, 2018
+.Dd August 2, 2018
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -1492,7 +1492,7 @@ This cannot be set to less than 1024 or 
 .It Li ip.checkinterface
 If set to non-zero, the host will reject packets addressed to it
 that arrive on an interface not bound to that address.
-Currently, this must be disabled if ipnat is used to translate the
+Currently, this must be disabled if NAT is used to translate the
 destination address to another local interface, or if addresses
 are added to the loopback interface instead of the interface where
 the packets for those packets are received.



CVS commit: src/share/man/man7

2018-06-17 Thread Eitan Adler
Module Name:src
Committed By:   eadler
Date:   Mon Jun 18 02:57:51 UTC 2018

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
sysctl.7: fix speeling mistake


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.127 src/share/man/man7/sysctl.7:1.128
--- src/share/man/man7/sysctl.7:1.127	Sat May  5 21:33:53 2018
+++ src/share/man/man7/sysctl.7	Mon Jun 18 02:57:51 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.127 2018/05/05 21:33:53 wiz Exp $
+.\"	$NetBSD: sysctl.7,v 1.128 2018/06/18 02:57:51 eadler Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -2058,7 +2058,7 @@ Allow IPsec processing when SPD policies
 Force IPsec processing even when SPD policies are not present.
 .El
 .It Li used
-Based on if IPsec is enabled, and SPD rule existance, show if
+Based on if IPsec is enabled, and SPD rule existence, show if
 IPsec is being used.
 Note that currently once IPsec is being used, it cannot be disabled.
 .It Li spi_try



CVS commit: src/share/man/man7

2018-05-30 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Wed May 30 23:41:44 UTC 2018

Modified Files:
src/share/man/man7: signal.7

Log Message:
Avoid widowed signal numbers.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/share/man/man7/signal.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/signal.7
diff -u src/share/man/man7/signal.7:1.24 src/share/man/man7/signal.7:1.25
--- src/share/man/man7/signal.7:1.24	Wed May 30 23:24:13 2018
+++ src/share/man/man7/signal.7	Wed May 30 23:41:44 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: signal.7,v 1.24 2018/05/30 23:24:13 uwe Exp $
+.\"	$NetBSD: signal.7,v 1.25 2018/05/30 23:41:44 uwe Exp $
 .\"
 .\" Copyright (c) 1999, 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -167,7 +167,7 @@ such as
 as a cue to reload configuration.
 The number for
 .Dv SIGHUP
-is 1, which is quite well known.
+is\~1, which is quite well known.
 .\" 
 .It Dv SIGINT No (Interrupt)
 This signal is generated by the
@@ -177,7 +177,7 @@ when the user presses the interrupt char
 The default action is to terminate the process.
 The number for
 .Dv SIGINT
-is 2.
+is\~2.
 .\" 
 .It Dv SIGQUIT No (Quit)
 This signal is generated by the
@@ -187,7 +187,7 @@ when the user presses the quit character
 The default action is to terminate the process and dump core.
 The number for
 .Dv SIGQUIT
-is 3.
+is\~3.
 .\" 
 .It Dv SIGILL No (Illegal instruction)
 This signal is generated synchronously by the kernel when the process
@@ -198,7 +198,7 @@ Note: the results of executing an illega
 is blocked or ignored are formally unspecified.
 The number for
 .Dv SIGILL
-is 4.
+is\~4.
 .\" 
 .It Dv SIGTRAP No (Trace/BPT trap)
 This signal is used when a process is being traced
@@ -211,7 +211,7 @@ debuggee.
 The default action is to terminate the process and dump core.
 The number for
 .Dv SIGTRAP
-is 5.
+is\~5.
 .\" 
 .It Dv SIGABRT No (Abort trap)
 This signal is generated when the
@@ -220,7 +220,7 @@ standard library function is called.
 The default action is to terminate the process and dump core.
 The number for
 .Dv SIGABRT
-is 6.
+is\~6.
 This number was also formerly used for
 .Dv SIGIOT ,
 which is no longer defined,
@@ -235,7 +235,7 @@ emulated.
 The default action is to terminate the process and dump core.
 The number for
 .Dv SIGEMT
-is 7.
+is\~7.
 .\" 
 .It Dv SIGFPE No (Floating point exception)
 This signal is generated when an invalid floating point operation is
@@ -243,7 +243,7 @@ detected by hardware or by a soft-float 
 The default action is to terminate the process and dump core.
 The number for
 .Dv SIGFPE
-is 8.
+is\~8.
 .\" 
 .It Dv SIGKILL No (Killed)
 This signal cannot be caught or ignored.
@@ -257,7 +257,7 @@ exiting, it is usually best (as a user o
 until a process has failed to respond to other signals.
 The number for
 .Dv SIGKILL
-is 9, which is extremely well known.
+is\~9, which is extremely well known.
 .\" 
 .It Dv SIGBUS No (Bus error)
 This signal is generated synchronously by the kernel when the process
@@ -273,7 +273,7 @@ Note: the results of performing such inv
 is blocked or ignored are formally unspecified.
 The number for
 .Dv SIGBUS
-is 10.
+is\~10.
 .\" 
 .It Dv SIGSEGV No (Segmentation fault)
 This signal is generated synchronously by the kernel when the process
@@ -294,7 +294,7 @@ Note: the results of an invalid memory a
 is blocked or ignored are formally unspecified.
 The number for
 .Dv SIGSEGV
-is 11, which is very well known.
+is\~11, which is very well known.
 .\" 
 .It Dv SIGSYS No (Bad system call)
 This signal is generated by the kernel, in addition to failing with
@@ -304,7 +304,7 @@ when a system call is made using an inva
 The default action is to terminate the process and dump core.
 The number for
 .Dv SIGSYS
-is 12.
+is\~12.
 .\" 
 .It Dv SIGPIPE No (Broken pipe)
 This signal is generated by the kernel, in addition to failing with
@@ -316,7 +316,7 @@ has no readers.
 The default action is to terminate the process.
 The number for
 .Dv SIGPIPE
-is 13.
+is\~13.
 .\" 
 .It Dv SIGALRM No (Alarm clock)
 This signal is generated by the kernel when a real-time timer expires.
@@ -328,7 +328,7 @@ and
 The default action is to terminate the process.
 The number for
 .Dv SIGALRM
-is 14.
+is\~14.
 .\" 
 .It Dv SIGTERM No (Terminated)
 This signal is the default signal sent by
@@ -341,7 +341,7 @@ procedure.
 The default action is to terminate the process.
 The number for
 .Dv SIGTERM
-is 15.
+is\~15.
 .\" 
 .It Dv SIGURG No (Urgent I/O condition)
 This signal is generated when an ``urgent condition'' exists on a
@@ -352,7 +352,7 @@ out-of-band data has arrived.
 The default action is to do nothing.
 The number for
 .Dv SIGURG
-is 16.
+is\~16.
 .\" 
 .It 

CVS commit: src/share/man/man7

2018-05-30 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Wed May 30 23:24:13 UTC 2018

Modified Files:
src/share/man/man7: signal.7

Log Message:
Shorten pleonastic "by the tty driver tty(4)".


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/share/man/man7/signal.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/signal.7
diff -u src/share/man/man7/signal.7:1.23 src/share/man/man7/signal.7:1.24
--- src/share/man/man7/signal.7:1.23	Mon May 28 15:48:23 2018
+++ src/share/man/man7/signal.7	Wed May 30 23:24:13 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: signal.7,v 1.23 2018/05/28 15:48:23 wiz Exp $
+.\"	$NetBSD: signal.7,v 1.24 2018/05/30 23:24:13 uwe Exp $
 .\"
 .\" Copyright (c) 1999, 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -155,8 +155,9 @@ Detailed descriptions of these signals f
 .Bl -tag -width "aaa"
 .\" 
 .It Dv SIGHUP No (Hangup)
-This signal is generated by the tty driver
+This signal is generated by the
 .Xr tty 4
+driver
 to indicate a hangup condition on a process's controlling terminal:
 the user has disconnected.
 Accordingly, the default action is to terminate the process.
@@ -169,8 +170,9 @@ The number for
 is 1, which is quite well known.
 .\" 
 .It Dv SIGINT No (Interrupt)
-This signal is generated by the tty driver
+This signal is generated by the
 .Xr tty 4
+driver
 when the user presses the interrupt character, normally control-C.
 The default action is to terminate the process.
 The number for
@@ -178,8 +180,9 @@ The number for
 is 2.
 .\" 
 .It Dv SIGQUIT No (Quit)
-This signal is generated by the tty driver
+This signal is generated by the
 .Xr tty 4
+driver
 when the user presses the quit character, normally control-backspace.
 The default action is to terminate the process and dump core.
 The number for
@@ -369,8 +372,9 @@ The number for
 is 17.
 .\" 
 .It Dv SIGTSTP No (Suspended)
-This signal is generated by the tty driver
+This signal is generated by the
 .Xr tty 4
+driver
 when the user presses the stop character, normally control-Z.
 The default action is to stop the process.
 The number for
@@ -417,8 +421,9 @@ in old System V versions and today many 
 spellings.
 .\" 
 .It Dv SIGTTIN No (Stopped (tty input))
-This signal is generated by the tty driver
+This signal is generated by the
 .Xr tty 4
+driver
 when a process that is not in the foreground of its controlling
 terminal attempts to read from this terminal.
 The default action is to stop the process.
@@ -427,8 +432,9 @@ The number for
 is 21.
 .\" 
 .It Dv SIGTTOU No (Stopped (tty output))
-This signal is generated by the tty driver
+This signal is generated by the
 .Xr tty 4
+driver
 when a process that is not in the foreground of its controlling
 terminal attempts to write to this terminal, if the terminal is
 configured accordingly, which is not the default.
@@ -515,8 +521,9 @@ The number for
 is 27.
 .\" 
 .It Dv SIGWINCH No (Window size changed)
-This signal is generated by the tty driver
+This signal is generated by the
 .Xr tty 4
+driver
 when the stored window size of the process's controlling terminal has
 changed.
 The default action is to do nothing.
@@ -525,8 +532,9 @@ The number for
 is 28.
 .\" 
 .It Dv SIGINFO No (Information request)
-This signal is generated by the tty driver
+This signal is generated by the
 .Xr tty 4
+driver
 when the user presses the status request character, normally
 control-T.
 The default action is to do nothing.



CVS commit: src/share/man/man7

2018-05-28 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon May 28 15:48:23 UTC 2018

Modified Files:
src/share/man/man7: signal.7

Log Message:
Add signal numbers in overview table.
They are already in the text, but this way they're easier to find.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/share/man/man7/signal.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/signal.7
diff -u src/share/man/man7/signal.7:1.22 src/share/man/man7/signal.7:1.23
--- src/share/man/man7/signal.7:1.22	Wed May 23 07:06:45 2018
+++ src/share/man/man7/signal.7	Mon May 28 15:48:23 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: signal.7,v 1.22 2018/05/23 07:06:45 wiz Exp $
+.\"	$NetBSD: signal.7,v 1.23 2018/05/28 15:48:23 wiz Exp $
 .\"
 .\" Copyright (c) 1999, 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd May 22, 2018
+.Dd May 28, 2018
 .Dt SIGNAL 7
 .Os
 .Sh NAME
@@ -111,40 +111,40 @@ one can find and kill that process the s
 The following signals are defined in
 .Nx :
 .Pp
-.Bl -column ".Sy SIGVTALRM" "Profiling timer expired blablabla" -compact
-.\".It Sy "Symbol" Ta Sy "Descriptive name"
-.It Dv SIGHUP Ta "Hangup"
-.It Dv SIGINT Ta "Interrupt"
-.It Dv SIGQUIT Ta "Quit"
-.It Dv SIGILL Ta "Illegal instruction"
-.It Dv SIGTRAP Ta "Trace/BPT trap"
-.It Dv SIGABRT Ta "Abort trap"
-.It Dv SIGEMT Ta "EMT trap"
-.It Dv SIGFPE Ta "Floating point exception"
-.It Dv SIGKILL Ta "Killed"
-.It Dv SIGBUS Ta "Bus error"
-.It Dv SIGSEGV Ta "Segmentation fault"
-.It Dv SIGSYS Ta "Bad system call"
-.It Dv SIGPIPE Ta "Broken pipe"
-.It Dv SIGALRM Ta "Alarm clock"
-.It Dv SIGTERM Ta "Terminated"
-.It Dv SIGURG Ta "Urgent I/O condition"
-.It Dv SIGSTOP Ta "Suspended (signal)"
-.It Dv SIGTSTP Ta "Suspended"
-.It Dv SIGCONT Ta "Continued"
-.It Dv SIGCHLD Ta "Child exited, stopped or continued"
-.It Dv SIGTTIN Ta "Stopped (tty input)"
-.It Dv SIGTTOU Ta "Stopped (tty output)"
-.It Dv SIGIO Ta "I/O possible"
-.It Dv SIGXCPU Ta "CPU time limit exceeded"
-.It Dv SIGXFSZ Ta "File size limit exceeded"
-.It Dv SIGVTALRM Ta "Virtual timer expired"
-.It Dv SIGPROF Ta "Profiling timer expired"
-.It Dv SIGWINCH Ta "Window size changed"
-.It Dv SIGINFO Ta "Information request"
-.It Dv SIGUSR1 Ta "User defined signal 1"
-.It Dv SIGUSR2 Ta "User defined signal 2"
-.It Dv SIGPWR Ta "Power fail/restart"
+.Bl -column ".Sy SIGVTALRM" 3n "Profiling timer expired blablabla" -compact
+.\".It Sy "Symbol" Ta No Ta Sy "Descriptive name"
+.It Dv SIGHUP Ta 1 Ta "Hangup"
+.It Dv SIGINT Ta 2 Ta "Interrupt"
+.It Dv SIGQUIT Ta 3 Ta "Quit"
+.It Dv SIGILL Ta 4 Ta "Illegal instruction"
+.It Dv SIGTRAP Ta 5 Ta "Trace/BPT trap"
+.It Dv SIGABRT Ta 6 Ta "Abort trap"
+.It Dv SIGEMT Ta 7 Ta "EMT trap"
+.It Dv SIGFPE Ta 8 Ta "Floating point exception"
+.It Dv SIGKILL Ta 9 Ta "Killed"
+.It Dv SIGBUS Ta 10 Ta "Bus error"
+.It Dv SIGSEGV Ta 11 Ta "Segmentation fault"
+.It Dv SIGSYS Ta 12 Ta "Bad system call"
+.It Dv SIGPIPE Ta 13 Ta "Broken pipe"
+.It Dv SIGALRM Ta 14 Ta "Alarm clock"
+.It Dv SIGTERM Ta 15 Ta "Terminated"
+.It Dv SIGURG Ta 16 Ta "Urgent I/O condition"
+.It Dv SIGSTOP Ta 17 Ta "Suspended (signal)"
+.It Dv SIGTSTP Ta 18 Ta "Suspended"
+.It Dv SIGCONT Ta 19 Ta "Continued"
+.It Dv SIGCHLD Ta 20 Ta "Child exited, stopped or continued"
+.It Dv SIGTTIN Ta 21 Ta "Stopped (tty input)"
+.It Dv SIGTTOU Ta 22 Ta "Stopped (tty output)"
+.It Dv SIGIO Ta 23 Ta "I/O possible"
+.It Dv SIGXCPU Ta 24 Ta "CPU time limit exceeded"
+.It Dv SIGXFSZ Ta 25 Ta "File size limit exceeded"
+.It Dv SIGVTALRM Ta 26 Ta "Virtual timer expired"
+.It Dv SIGPROF Ta 27 Ta "Profiling timer expired"
+.It Dv SIGWINCH Ta 28 Ta "Window size changed"
+.It Dv SIGINFO Ta 29 Ta "Information request"
+.It Dv SIGUSR1 Ta 30 Ta "User defined signal 1"
+.It Dv SIGUSR2 Ta 31 Ta "User defined signal 2"
+.It Dv SIGPWR Ta 32 Ta "Power fail/restart"
 .El
 .Pp
 These are numbered 1 to 32.



CVS commit: src/share/man/man7

2018-05-23 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed May 23 07:08:13 UTC 2018

Modified Files:
src/share/man/man7: audio.7

Log Message:
Mark up argument. Fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man7/audio.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/audio.7
diff -u src/share/man/man7/audio.7:1.3 src/share/man/man7/audio.7:1.4
--- src/share/man/man7/audio.7:1.3	Tue May 22 01:35:49 2018
+++ src/share/man/man7/audio.7	Wed May 23 07:08:13 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: audio.7,v 1.3 2018/05/22 01:35:49 nat Exp $
+.\"	$NetBSD: audio.7,v 1.4 2018/05/23 07:08:13 wiz Exp $
 .\"
 .\" Copyright (c) 2016 - 2018  Nathanial Sloss 
 .\" All rights reserved.
@@ -189,12 +189,12 @@ are numbered starting at zero (0).
 Not specifying
 .Fl p
 is the same as specifying
-.Fl p
-0 and will result in working with vchan 0 (the mix ring).
+.Fl p Ar 0
+and will result in working with vchan 0 (the mix ring).
 This will display the audio parameters of the mix ring and allow
 setting the hardware gain and balance.
 .Pp
-This is for compatibility with existing applications and shell scrpits
+This is for compatibility with existing applications and shell scripts
 that are unaware of the
 .Fl p
 switch.



CVS commit: src/share/man/man7

2018-05-23 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed May 23 07:06:45 UTC 2018

Modified Files:
src/share/man/man7: signal.7

Log Message:
Add missing .El. Replace Ta outside its defined usage with No (no change
to text output).


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/share/man/man7/signal.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/signal.7
diff -u src/share/man/man7/signal.7:1.21 src/share/man/man7/signal.7:1.22
--- src/share/man/man7/signal.7:1.21	Tue May 22 02:31:57 2018
+++ src/share/man/man7/signal.7	Wed May 23 07:06:45 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: signal.7,v 1.21 2018/05/22 02:31:57 kamil Exp $
+.\"	$NetBSD: signal.7,v 1.22 2018/05/23 07:06:45 wiz Exp $
 .\"
 .\" Copyright (c) 1999, 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -152,10 +152,9 @@ These are numbered 1 to 32.
 no-op with some signal operations.)
 .Pp
 Detailed descriptions of these signals follow.
-.Pp
 .Bl -tag -width "aaa"
 .\" 
-.It Dv SIGHUP (Hangup)
+.It Dv SIGHUP No (Hangup)
 This signal is generated by the tty driver
 .Xr tty 4
 to indicate a hangup condition on a process's controlling terminal:
@@ -169,7 +168,7 @@ The number for
 .Dv SIGHUP
 is 1, which is quite well known.
 .\" 
-.It Dv SIGINT (Interrupt)
+.It Dv SIGINT No (Interrupt)
 This signal is generated by the tty driver
 .Xr tty 4
 when the user presses the interrupt character, normally control-C.
@@ -178,7 +177,7 @@ The number for
 .Dv SIGINT
 is 2.
 .\" 
-.It Dv SIGQUIT Ta (Quit)
+.It Dv SIGQUIT No (Quit)
 This signal is generated by the tty driver
 .Xr tty 4
 when the user presses the quit character, normally control-backspace.
@@ -187,7 +186,7 @@ The number for
 .Dv SIGQUIT
 is 3.
 .\" 
-.It Dv SIGILL Ta (Illegal instruction)
+.It Dv SIGILL No (Illegal instruction)
 This signal is generated synchronously by the kernel when the process
 executes an invalid instruction.
 The default action is to terminate the process and dump core.
@@ -198,7 +197,7 @@ The number for
 .Dv SIGILL
 is 4.
 .\" 
-.It Dv SIGTRAP Ta (Trace/BPT trap)
+.It Dv SIGTRAP No (Trace/BPT trap)
 This signal is used when a process is being traced
 (see
 .Xr ptrace 2 )
@@ -211,7 +210,7 @@ The number for
 .Dv SIGTRAP
 is 5.
 .\" 
-.It Dv SIGABRT Ta (Abort trap)
+.It Dv SIGABRT No (Abort trap)
 This signal is generated when the
 .Xr abort 3
 standard library function is called.
@@ -225,7 +224,7 @@ which is no longer defined,
 as it was specific to the PDP-11 instruction
 .Dv iot .
 .\" 
-.It Dv SIGEMT Ta (EMT trap)
+.It Dv SIGEMT No (EMT trap)
 In theory this signal is generated when an instruction needs to be
 emulated.
 .\"   XXX expand this -- I don't know, grep isn't helping much and
@@ -235,7 +234,7 @@ The number for
 .Dv SIGEMT
 is 7.
 .\" 
-.It Dv SIGFPE Ta (Floating point exception)
+.It Dv SIGFPE No (Floating point exception)
 This signal is generated when an invalid floating point operation is
 detected by hardware or by a soft-float library.
 The default action is to terminate the process and dump core.
@@ -243,7 +242,7 @@ The number for
 .Dv SIGFPE
 is 8.
 .\" 
-.It Dv SIGKILL Ta (Killed)
+.It Dv SIGKILL No (Killed)
 This signal cannot be caught or ignored.
 The (unconditional) action is to terminate the process.
 It is most often sent by system administrators, but is also generated
@@ -257,7 +256,7 @@ The number for
 .Dv SIGKILL
 is 9, which is extremely well known.
 .\" 
-.It Dv SIGBUS Ta (Bus error)
+.It Dv SIGBUS No (Bus error)
 This signal is generated synchronously by the kernel when the process
 performs certain kinds of invalid memory accesses.
 The most common cause of
@@ -273,7 +272,7 @@ The number for
 .Dv SIGBUS
 is 10.
 .\" 
-.It Dv SIGSEGV Ta (Segmentation fault)
+.It Dv SIGSEGV No (Segmentation fault)
 This signal is generated synchronously by the kernel when the process
 attempts to access unmapped memory, or access memory in a manner that
 the protection settings for that memory region do not permit.
@@ -294,7 +293,7 @@ The number for
 .Dv SIGSEGV
 is 11, which is very well known.
 .\" 
-.It Dv SIGSYS Ta (Bad system call)
+.It Dv SIGSYS No (Bad system call)
 This signal is generated by the kernel, in addition to failing with
 .Er ENOSYS ,
 when a system call is made using an invalid system call number.
@@ -304,7 +303,7 @@ The number for
 .Dv SIGSYS
 is 12.
 .\" 
-.It Dv SIGPIPE Ta (Broken pipe)
+.It Dv SIGPIPE No (Broken pipe)
 This signal is generated by the kernel, in addition to failing with
 .Er EPIPE ,
 when a
@@ -316,7 +315,7 @@ The number for
 .Dv SIGPIPE
 is 13.
 .\" 
-.It Dv SIGALRM Ta (Alarm clock)
+.It Dv SIGALRM No (Alarm clock)
 This signal is generated by the kernel when a real-time timer expires.
 See
 .Xr alarm 3 ,
@@ 

CVS commit: src/share/man/man7

2018-05-22 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue May 22 02:31:57 UTC 2018

Modified Files:
src/share/man/man7: signal.7

Log Message:
Minor update to signal(7)

Note that SIGCHLD is not just a child exit signal.
Note that SIGIOT is PDP-11 specific signal.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/share/man/man7/signal.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/signal.7
diff -u src/share/man/man7/signal.7:1.20 src/share/man/man7/signal.7:1.21
--- src/share/man/man7/signal.7:1.20	Tue Jul 12 12:39:04 2016
+++ src/share/man/man7/signal.7	Tue May 22 02:31:57 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: signal.7,v 1.20 2016/07/12 12:39:04 wiz Exp $
+.\"	$NetBSD: signal.7,v 1.21 2018/05/22 02:31:57 kamil Exp $
 .\"
 .\" Copyright (c) 1999, 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd July 9, 2016
+.Dd May 22, 2018
 .Dt SIGNAL 7
 .Os
 .Sh NAME
@@ -132,7 +132,7 @@ The following signals are defined in
 .It Dv SIGSTOP Ta "Suspended (signal)"
 .It Dv SIGTSTP Ta "Suspended"
 .It Dv SIGCONT Ta "Continued"
-.It Dv SIGCHLD Ta "Child exited"
+.It Dv SIGCHLD Ta "Child exited, stopped or continued"
 .It Dv SIGTTIN Ta "Stopped (tty input)"
 .It Dv SIGTTOU Ta "Stopped (tty output)"
 .It Dv SIGIO Ta "I/O possible"
@@ -221,7 +221,9 @@ The number for
 is 6.
 This number was also formerly used for
 .Dv SIGIOT ,
-which is no longer defined.
+which is no longer defined,
+as it was specific to the PDP-11 instruction
+.Dv iot .
 .\" 
 .It Dv SIGEMT Ta (EMT trap)
 In theory this signal is generated when an instruction needs to be
@@ -389,7 +391,7 @@ The number for
 .Dv SIGCONT
 is 19.
 .\" 
-.It Dv SIGCHLD Ta (Child exited)
+.It Dv SIGCHLD Ta (Child exited, stopped or continued)
 This signal is generated by the kernel when one of a process's
 immediate children exits and can be waited for using one of the
 .Xr wait 2



CVS commit: src/share/man/man7

2018-05-15 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue May 15 09:30:01 UTC 2018

Modified Files:
src/share/man/man7: audio.7

Log Message:
Various improvements, more markup, typo fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man7/audio.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/audio.7
diff -u src/share/man/man7/audio.7:1.1 src/share/man/man7/audio.7:1.2
--- src/share/man/man7/audio.7:1.1	Tue May 15 00:54:01 2018
+++ src/share/man/man7/audio.7	Tue May 15 09:30:01 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: audio.7,v 1.1 2018/05/15 00:54:01 nat Exp $
+.\"	$NetBSD: audio.7,v 1.2 2018/05/15 09:30:01 wiz Exp $
 .\"
 .\" Copyright (c) 2016 - 2018  Nathanial Sloss 
 .\" All rights reserved.
@@ -35,19 +35,29 @@ in-kernel audio mixer specification
 .Sh INTRODUCTION
 This document aims to describe all aspects of the in-kernel audio mixer
 included with
-.Nx 8 and onwards.
-Describing its current behavior as of 2018.
+.Nx 8
+and onwards, describing its current behavior as of 2018.
 .Sh VIRTUAL CHANNEL (VCHAN)
 This is the most fundamental element to the mixer.
 The vchan has all of the properties of the traditional single open
 .Nx
 audio channel.
-It consists of playback and record rings along with audio_info structures.
-.Pp
-Upon opening of /dev/audio or /dev/sound a new vchan and mixerctl structure is
-created.
-In the case of /dev/sound, audio_info structures are inherited from the last
-open of /dev/audio or /dev/sound.
+It consists of playback and record rings along with
+.Vt audio_info
+structures.
+.Pp
+Upon opening of
+.Pa /dev/audio
+or
+.Pa /dev/sound ,
+a new vchan and mixerctl structure is created.
+In the case of
+.Pa /dev/sound ,
+.Vt audio_info
+structures are inherited from the last open of
+.Pa /dev/audio
+or
+.Pa /dev/sound .
 .Pp
 All vchans are up or down sampled into the mix ring (intermediate) format
 before being sent to hardware.
@@ -61,37 +71,46 @@ It is described in the following diagram
 	VCHANn-/
 .Ed
 .Pp
-In the case of sysctl usemixer=0 (see below) there is only one vchan whose play
+In the case of
+.Xr sysctl 8
+.Dv usemixer=0
+(see below), there is only one vchan whose play
 and record rings are the hardware play/record rings.
 .Pp
-User accessible vchans are numbered starting at one(1).
-Vchan 0 is used internaly by the mixer for the mix ring and its ring buffers
+User accessible vchans are numbered starting at one (1).
+Vchan 0 is used internally by the mixer for the mix ring and its ring buffers
 are not user accessible.
 .Pp
 The only limit to the number of open vchans is the speed of the computer and the
 number of free file descriptors.
 .Sh BLOCK - SIZE / LATENCY
 A block of audio data is the basic unit for audio data.
-Audio applications will not commence play back until three(3) blocks have been
+Audio applications will not commence playback until three (3) blocks have been
 written - this is the source of latency in the mixer along with the size of the
 audio data block.
 .Pp
-For normal uses audio read/write their will be three blocks of audio data before
-play back commences one in the vchan, one in the mix ring and one in the
+For normal uses of audio read/write there will be three blocks of audio data before
+playback commences one in the vchan, one in the mix ring and one in the
 hardware ring.
 .Pp
 The size of the audio data block is dependent on the audio format configured
-by the application the latency sysctl and the underlying audio hardware.
+by the application the latency
+.Xr sysctl 8
+and the underlying audio hardware.
 .Pp
 Some audio hardware devices only support a static block size, as such the
 overall latency of the mixer for these devices cannot be changed.
-Other devices such as those supported by hdaudio allow the hardware block size
+Other devices such as those supported by
+.Xr hdaudio 4
+allow the hardware block size
 to be changed, allowing the latency of the mixer to change from 4
-milliseconds(ms) to 128 ms with the mixer intermediate format being 16 bit,
+milliseconds (ms) to 128 ms with the mixer intermediate format being 16 bit,
 stereo, 48 kHz.
 .Pp
 With regard to mmapped audio, blocks are played back immediately so the latency
-presented to applications is one third of the latency sysctl value.
+presented to applications is one third of the latency
+.Xr sysctl 8
+value.
 .Pp
 Latency can be calculated by the following formula:
 .Bd -literal
@@ -109,72 +128,101 @@ constraints.
 .Sh ADDED IOCTLS
 Two new ioctls have been added to accommodate mixing of multiple vchans:
 .Bl -tag -width indent
-.It Ar AUDIO_SETCHAN:
+.It Dv AUDIO_SETCHAN :
 Allows setting the target vchan to operate on for subsequent
-ioctl calls.
-.It Ar AUDIO_GETCHAN:
+.Xr ioctl 2
+calls.
+.It Dv AUDIO_GETCHAN :
 Returns the current vchan number.
 .El
 .Pp
-These ioctls were 

CVS commit: src/share/man/man7

2018-05-15 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue May 15 09:13:36 UTC 2018

Modified Files:
src/share/man/man7: intro.7

Log Message:
Remove Tn.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/share/man/man7/intro.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/intro.7
diff -u src/share/man/man7/intro.7:1.24 src/share/man/man7/intro.7:1.25
--- src/share/man/man7/intro.7:1.24	Tue May 15 01:07:37 2018
+++ src/share/man/man7/intro.7	Tue May 15 09:13:36 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: intro.7,v 1.24 2018/05/15 01:07:37 nat Exp $
+.\"	$NetBSD: intro.7,v 1.25 2018/05/15 09:13:36 wiz Exp $
 .\"
 .\" Copyright (c) 1983, 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -39,9 +39,7 @@
 This section contains miscellaneous documentation, including:
 .Bl -tag -width "mdoc.samples(7)" -offset indent
 .It Xr ascii 7
-map of
-.Tn ASCII
-character set
+map of ASCII character set
 .It Xr audio 7
 the
 .Nx audio specification



CVS commit: src/share/man/man7

2018-05-14 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Tue May 15 01:07:37 UTC 2018

Modified Files:
src/share/man/man7: intro.7

Log Message:
Update the introduction page to section 7 of the manual noting the audio
spec.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/share/man/man7/intro.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/intro.7
diff -u src/share/man/man7/intro.7:1.23 src/share/man/man7/intro.7:1.24
--- src/share/man/man7/intro.7:1.23	Sun Jul  1 16:18:00 2012
+++ src/share/man/man7/intro.7	Tue May 15 01:07:37 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: intro.7,v 1.23 2012/07/01 16:18:00 christos Exp $
+.\"	$NetBSD: intro.7,v 1.24 2018/05/15 01:07:37 nat Exp $
 .\"
 .\" Copyright (c) 1983, 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\" @(#)intro.7	8.1 (Berkeley) 6/5/93
 .\"
-.Dd July 1, 2012
+.Dd May 15, 2018
 .Dt INTRO 7
 .Os
 .Sh NAME
@@ -42,6 +42,9 @@ This section contains miscellaneous docu
 map of
 .Tn ASCII
 character set
+.It Xr audio 7
+the
+.Nx audio specification
 .It Xr c 7
 the C programming language
 .It Xr environ 7



CVS commit: src/share/man/man7

2018-05-05 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat May  5 21:33:53 UTC 2018

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Fix tab/macro order.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.126 src/share/man/man7/sysctl.7:1.127
--- src/share/man/man7/sysctl.7:1.126	Sat May  5 20:20:43 2018
+++ src/share/man/man7/sysctl.7	Sat May  5 21:33:53 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.126 2018/05/05 20:20:43 christos Exp $
+.\"	$NetBSD: sysctl.7,v 1.127 2018/05/05 21:33:53 wiz Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -2112,7 +2112,7 @@ deferred for cleanup by a kernel task.
 .Pp
 Other variables are specific to a socket type:
 .Bl -column "seqpacket" "sendspace" "integer" "Changeable" -offset indent
-.It Sy "Socket Type" Sy 	Variable	Type Ta Sy Changeable
+.It Sy "Socket Type"  	Sy Variable	Type Ta Sy Changeable
 .It dgram	pcblist	struct	no
 .It dgram	recvspace	integer	yes
 .It dgram	sendspace	integer	yes



CVS commit: src/share/man/man7

2018-05-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat May  5 20:20:43 UTC 2018

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Document new PF_LOCAL sysctls.


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.125 src/share/man/man7/sysctl.7:1.126
--- src/share/man/man7/sysctl.7:1.125	Sat Apr 21 08:38:17 2018
+++ src/share/man/man7/sysctl.7	Sat May  5 16:20:43 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.125 2018/04/21 12:38:17 wiz Exp $
+.\"	$NetBSD: sysctl.7,v 1.126 2018/05/05 20:20:43 christos Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd February 22, 2018
+.Dd May 5, 2018
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -2041,7 +2041,6 @@ The currently defined variable and names
 .It esp_auth	integer	yes
 .It ah_keymin	integer	yes
 .El
-.Pp
 The variables are as follows:
 .Bl -tag -width "123456"
 .It Li debug
@@ -2091,6 +2090,66 @@ Minimum AH key length, in bits,
 The value is used when the kernel creates proposal payload
 on ACQUIRE PF_KEY message.
 .El
+.It Li net.local ( Dv PF_LOCAL )
+Get or set various global information about
+.Dv AF_LOCAL
+type sockets.
+For some variables, the third level name is the variable name:
+.Bl -column "Variable" "integer" "Changeable" -offset indent
+.It Sy Variable	Type Ta Sy Changeable
+.It inflight	integer	no
+.It deferred	integer	no
+.El
+The variables are as follows:
+.Bl -tag -width "123456"
+.It Li inflight
+The number of file descriptors currently passed between processes,
+.Qq in flight .
+.It Li deferred
+The number of file descriptors passed between processes that have been
+deferred for cleanup by a kernel task.
+.El
+.Pp
+Other variables are specific to a socket type:
+.Bl -column "seqpacket" "sendspace" "integer" "Changeable" -offset indent
+.It Sy "Socket Type" Sy 	Variable	Type Ta Sy Changeable
+.It dgram	pcblist	struct	no
+.It dgram	recvspace	integer	yes
+.It dgram	sendspace	integer	yes
+.It seqpacket	pcblist	struct	no
+.It stream	pcblist	struct	no
+.It stream	recvspace	integer	yes
+.It stream	sendspace	integer	yes
+.El
+The variables are as follows:
+.Bl -tag -width "123456"
+.It Li dgram.pcblist
+The Protocol Control Block list structure for datagram sockets.
+Parsed by
+.Xr netstat 8
+or
+.Xr sockstat 8 .
+.It Li dgram.recvspace
+The default datagram receive buffer size.
+.It Li dgram.sendspace
+The default datagram send buffer size.
+.It Li seqpacket.pcblist
+The Protocol Control Block list structure for Sequential Packet sockets.
+Parsed by
+.Xr netstat 8
+or
+.Xr sockstat 8 .
+.It Li stream.pcblist
+The Protocol Control Block list structure for stream sockets.
+Parsed by
+.Xr netstat 8
+or
+.Xr sockstat 8 .
+.It Li stream.recvspace
+The default stream receive buffer size.
+.It Li stream.sendspace
+The default stream send buffer size.
+.El
 .El
 .Ss The proc.* subtree
 The string and integer information available for the



CVS commit: src/share/man/man7

2018-04-21 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Apr 21 12:38:17 UTC 2018

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
New sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.124 src/share/man/man7/sysctl.7:1.125
--- src/share/man/man7/sysctl.7:1.124	Thu Feb 22 14:49:29 2018
+++ src/share/man/man7/sysctl.7	Sat Apr 21 12:38:17 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.124 2018/02/22 14:49:29 sevan Exp $
+.\"	$NetBSD: sysctl.7,v 1.125 2018/04/21 12:38:17 wiz Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -2450,7 +2450,7 @@ privilege may change the value.
 .Bl -column "Second level name" "integer" "Changeable" -offset indent
 .It Sy Second level name Ta Sy Type Ta Sy Changeable
 .It ddb.commandonenter	string	yes
-.It ddb.dumpstack 	integer yes
+.It ddb.dumpstack 	integer	yes
 .It ddb.fromconsole	integer	yes
 .It ddb.lines	integer	yes
 .It ddb.maxoff	integer	yes
@@ -2467,7 +2467,8 @@ If not empty, the string is used as the 
 DDB is entered.
 .It Li ddb.dumpstack
 A value of 1 causes a stack trace to be printed on entering ddb from a panic.
-A value of 0 disables this behaviour. The default value is 1.
+A value of 0 disables this behaviour.
+The default value is 1.
 .It Li ddb.fromconsole ( Dv DDBCTL_FROMCONSOLE )
 If not zero, DDB may be entered by sending a break on a serial
 console or by a special key sequence on a graphics console.



CVS commit: src/share/man/man7

2018-02-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Mar  1 06:37:40 UTC 2018

Modified Files:
src/share/man/man7: hier.7

Log Message:
remove reference to /usr/X11R6


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.128 src/share/man/man7/hier.7:1.129
--- src/share/man/man7/hier.7:1.128	Wed Jan 24 09:04:42 2018
+++ src/share/man/man7/hier.7	Thu Mar  1 06:37:40 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.128 2018/01/24 09:04:42 skrll Exp $
+.\"	$NetBSD: hier.7,v 1.129 2018/03/01 06:37:40 snj Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -420,8 +420,6 @@ preserved across a system reboot.
 Contains the majority of the system utilities and files.
 .Pp
 .Bl -tag -width "libdata/" -compact
-.It Pa X11R6/
-X11 files (for X11 revision 6).
 .It Pa X11R7/
 X11 files (for X11 revision 7).
 .Pp



CVS commit: src/share/man/man7

2018-02-22 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Feb 22 14:49:29 UTC 2018

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Improve description of ddb.commandonenter.


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.123 src/share/man/man7/sysctl.7:1.124
--- src/share/man/man7/sysctl.7:1.123	Thu Feb 22 14:37:53 2018
+++ src/share/man/man7/sysctl.7	Thu Feb 22 14:49:29 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.123 2018/02/22 14:37:53 sevan Exp $
+.\"	$NetBSD: sysctl.7,v 1.124 2018/02/22 14:49:29 sevan Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -2463,7 +2463,8 @@ privilege may change the value.
 .El
 .Bl -tag -width "123456"
 .It Li ddb.commandonenter
-If not empty, a command to be executed on each enter to the DDB.
+If not empty, the string is used as the DDB command to be executed each time
+DDB is entered.
 .It Li ddb.dumpstack
 A value of 1 causes a stack trace to be printed on entering ddb from a panic.
 A value of 0 disables this behaviour. The default value is 1.



CVS commit: src/share/man/man7

2018-02-22 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Feb 22 14:37:53 UTC 2018

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Document ddb.dumpstack sysctl
Remove the mention of ddb.onpanic=2 as that functionality was removed with the
introduction of ddb.dumpstack.

Heads up by 


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.122 src/share/man/man7/sysctl.7:1.123
--- src/share/man/man7/sysctl.7:1.122	Thu Feb 22 14:32:50 2018
+++ src/share/man/man7/sysctl.7	Thu Feb 22 14:37:53 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.122 2018/02/22 14:32:50 sevan Exp $
+.\"	$NetBSD: sysctl.7,v 1.123 2018/02/22 14:37:53 sevan Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -2450,6 +2450,7 @@ privilege may change the value.
 .Bl -column "Second level name" "integer" "Changeable" -offset indent
 .It Sy Second level name Ta Sy Type Ta Sy Changeable
 .It ddb.commandonenter	string	yes
+.It ddb.dumpstack 	integer yes
 .It ddb.fromconsole	integer	yes
 .It ddb.lines	integer	yes
 .It ddb.maxoff	integer	yes
@@ -2463,6 +2464,9 @@ privilege may change the value.
 .Bl -tag -width "123456"
 .It Li ddb.commandonenter
 If not empty, a command to be executed on each enter to the DDB.
+.It Li ddb.dumpstack
+A value of 1 causes a stack trace to be printed on entering ddb from a panic.
+A value of 0 disables this behaviour. The default value is 1.
 .It Li ddb.fromconsole ( Dv DDBCTL_FROMCONSOLE )
 If not zero, DDB may be entered by sending a break on a serial
 console or by a special key sequence on a graphics console.
@@ -2474,8 +2478,7 @@ The maximum symbol offset.
 The maximum output line width.
 .It Li ddb.onpanic ( Dv DDBCTL_ONPANIC )
 If greater than zero, DDB will be entered if the kernel panics.
-A value of 1 causes the system to enter DDB on panic, while a value of 2
-causes the kernel to attempt to print out a stack trace before entering DDB.
+A value of 1 causes the system to enter DDB on panic.
 A value of 0 causes the kernel to attempt to print a stack trace, then
 reboot, while a value of \-1 means neither a stack trace will be printed
 nor DDB entered.



CVS commit: src/share/man/man7

2018-02-22 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Feb 22 14:32:50 UTC 2018

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Sort ddb section in alphabetical order.
Bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.121 src/share/man/man7/sysctl.7:1.122
--- src/share/man/man7/sysctl.7:1.121	Thu Jan 11 09:53:55 2018
+++ src/share/man/man7/sysctl.7	Thu Feb 22 14:32:50 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.121 2018/01/11 09:53:55 pgoyette Exp $
+.\"	$NetBSD: sysctl.7,v 1.122 2018/02/22 14:32:50 sevan Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd December 28, 2017
+.Dd February 22, 2018
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -2447,31 +2447,31 @@ The information available for the
 level is detailed below.
 The changeable column shows whether a process with appropriate
 privilege may change the value.
-.\" XXX sort
 .Bl -column "Second level name" "integer" "Changeable" -offset indent
 .It Sy Second level name Ta Sy Type Ta Sy Changeable
-.It ddb.radix	integer	yes
+.It ddb.commandonenter	string	yes
+.It ddb.fromconsole	integer	yes
+.It ddb.lines	integer	yes
 .It ddb.maxoff	integer	yes
 .It ddb.maxwidth	integer	yes
-.It ddb.lines	integer	yes
-.It ddb.tabstops	integer	yes
 .It ddb.onpanic	integer	yes
-.It ddb.fromconsole	integer	yes
-.It ddb.tee_msgbuf	integer	yes
-.It ddb.commandonenter	string	yes
 .It ddb.panicstackframes	integer	yes
+.It ddb.radix	integer	yes
+.It ddb.tabstops	integer	yes
+.It ddb.tee_msgbuf	integer	yes
 .El
 .Bl -tag -width "123456"
-.It Li ddb.radix ( Dv DDBCTL_RADIX )
-The input and output radix.
+.It Li ddb.commandonenter
+If not empty, a command to be executed on each enter to the DDB.
+.It Li ddb.fromconsole ( Dv DDBCTL_FROMCONSOLE )
+If not zero, DDB may be entered by sending a break on a serial
+console or by a special key sequence on a graphics console.
+.It Li ddb.lines ( Dv DDBCTL_LINES )
+Number of display lines.
 .It Li ddb.maxoff ( Dv DDBCTL_MAXOFF )
 The maximum symbol offset.
 .It Li ddb.maxwidth ( Dv DDBCTL_MAXWIDTH )
 The maximum output line width.
-.It Li ddb.lines ( Dv DDBCTL_LINES )
-Number of display lines.
-.It Li ddb.tabstops ( Dv DDBCTL_TABSTOPS )
-Tab width.
 .It Li ddb.onpanic ( Dv DDBCTL_ONPANIC )
 If greater than zero, DDB will be entered if the kernel panics.
 A value of 1 causes the system to enter DDB on panic, while a value of 2
@@ -2479,13 +2479,6 @@ causes the kernel to attempt to print ou
 A value of 0 causes the kernel to attempt to print a stack trace, then
 reboot, while a value of \-1 means neither a stack trace will be printed
 nor DDB entered.
-.It Li ddb.fromconsole ( Dv DDBCTL_FROMCONSOLE )
-If not zero, DDB may be entered by sending a break on a serial
-console or by a special key sequence on a graphics console.
-.It Li ddb.tee_msgbuf
-If not zero, DDB will output also to the kernel message buffer.
-.It Li ddb.commandonenter
-If not empty, a command to be executed on each enter to the DDB.
 .It Li ddb.panicstackframes
 Number of stack frames to display on panic.
 Useful to avoid scrolling away the interesting frames on a glass tty.
@@ -2493,6 +2486,12 @@ Default value is
 .Dv 65535
 (all frames), useful value around
 .Dv 10 .
+.It Li ddb.radix ( Dv DDBCTL_RADIX )
+The input and output radix.
+.It Li ddb.tabstops ( Dv DDBCTL_TABSTOPS )
+Tab width.
+.It Li ddb.tee_msgbuf
+If not zero, DDB will output also to the kernel message buffer.
 .El
 .Pp
 Some of these MIB



CVS commit: src/share/man/man7

2018-02-11 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Feb 11 13:31:17 UTC 2018

Modified Files:
src/share/man/man7: ascii.7

Log Message:
Remove Tn.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/share/man/man7/ascii.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/ascii.7
diff -u src/share/man/man7/ascii.7:1.12 src/share/man/man7/ascii.7:1.13
--- src/share/man/man7/ascii.7:1.12	Thu Feb  8 03:18:37 2018
+++ src/share/man/man7/ascii.7	Sun Feb 11 13:31:17 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ascii.7,v 1.12 2018/02/08 03:18:37 pgoyette Exp $
+.\"	$NetBSD: ascii.7,v 1.13 2018/02/11 13:31:17 wiz Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -34,9 +34,7 @@
 .Os
 .Sh NAME
 .Nm ascii
-.Nd octal, hexadecimal and decimal
-.Tn ASCII
-character sets
+.Nd octal, hexadecimal and decimal ASCII character sets
 .Sh DESCRIPTION
 The
 .Nm octal



CVS commit: src/share/man/man7

2018-02-07 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Feb  8 02:30:08 UTC 2018

Modified Files:
src/share/man/man7: ascii.7

Log Message:
Bump date for previous


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man7/ascii.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/ascii.7
diff -u src/share/man/man7/ascii.7:1.9 src/share/man/man7/ascii.7:1.10
--- src/share/man/man7/ascii.7:1.9	Thu Feb  8 02:29:37 2018
+++ src/share/man/man7/ascii.7	Thu Feb  8 02:30:08 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ascii.7,v 1.9 2018/02/08 02:29:37 pgoyette Exp $
+.\"	$NetBSD: ascii.7,v 1.10 2018/02/08 02:30:08 pgoyette Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)ascii.7	8.1 (Berkeley) 6/5/93
 .\"
-.Dd June 5, 1993
+.Dd February 8, 2017
 .Dt ASCII 7
 .Os
 .Sh NAME



CVS commit: src/share/man/man7

2018-02-07 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Feb  8 02:29:37 UTC 2018

Modified Files:
src/share/man/man7: ascii.7

Log Message:
Since this is describing the ASCII character set, use the correct
ASCII abbreviation for character 012.  All references I can find
which seem to be even remotely authoritative and/or definitive use
"lf" (for "line feed") rather than "nl" (for "new line").

See https://www.ascii-code.com and https://en.wikipedia.org/wiki/ASCII

>From Eitan Adler in PR misc/52989


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/share/man/man7/ascii.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/ascii.7
diff -u src/share/man/man7/ascii.7:1.8 src/share/man/man7/ascii.7:1.9
--- src/share/man/man7/ascii.7:1.8	Mon Jul  3 21:30:59 2017
+++ src/share/man/man7/ascii.7	Thu Feb  8 02:29:37 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ascii.7,v 1.8 2017/07/03 21:30:59 wiz Exp $
+.\"	$NetBSD: ascii.7,v 1.9 2018/02/08 02:29:37 pgoyette Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -43,7 +43,7 @@ The
 set:
 .Bd -literal -offset left
 000 nul  001 soh  002 stx  003 etx  004 eot  005 enq  006 ack  007 bel
-010 bs   011 ht   012 nl   013 vt   014 np   015 cr   016 so   017 si
+010 bs   011 ht   012 lf   013 vt   014 np   015 cr   016 so   017 si
 020 dle  021 dc1  022 dc2  023 dc3  024 dc4  025 nak  026 syn  027 etb
 030 can  031 em   032 sub  033 esc  034 fs   035 gs   036 rs   037 us
 040 sp   041  !   042  "   043  #   044  $   045  %   046  &   047  '
@@ -65,7 +65,7 @@ The
 set:
 .Bd -literal -offset left
 00 nul   01 soh   02 stx   03 etx   04 eot   05 enq   06 ack   07 bel
-08 bs09 ht0a nl0b vt0c np0d cr0e so0f si
+08 bs09 ht0a lf0b vt0c np0d cr0e so0f si
 10 dle   11 dc1   12 dc2   13 dc3   14 dc4   15 nak   16 syn   17 etb
 18 can   19 em1a sub   1b esc   1c fs1d gs1e rs1f us
 20 sp21  !22  "23  #24  $25  %26  &27  '
@@ -87,7 +87,7 @@ The
 set:
 .Bd -literal -offset left
   0 nul1 soh2 stx3 etx4 eot5 enq6 ack7 bel
-  8 bs 9 ht10 nl11 vt12 np13 cr14 so15 si
+  8 bs 9 ht10 lf11 vt12 np13 cr14 so15 si
  16 dle   17 dc1   18 dc2   19 dc3   20 dc4   21 nak   22 syn   23 etb
  24 can   25 em26 sub   27 esc   28 fs29 gs30 rs31 us
  32 sp33  !34  "35  #36  $37  %38  &39  '



CVS commit: src/share/man/man7

2018-01-11 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 11 09:53:55 UTC 2018

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
kern.module.verbose is a boolean, not an integer.  We had it right in the
text following the table, but the table itself was wrong.

Thanks to martin@ for pointing this out.


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.120 src/share/man/man7/sysctl.7:1.121
--- src/share/man/man7/sysctl.7:1.120	Thu Dec 28 23:16:57 2017
+++ src/share/man/man7/sysctl.7	Thu Jan 11 09:53:55 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.120 2017/12/28 23:16:57 wiz Exp $
+.\"	$NetBSD: sysctl.7,v 1.121 2018/01/11 09:53:55 pgoyette Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -786,7 +786,7 @@ The third level names for the settings a
 .It Sy Third level name Ta Sy Type Ta Sy Changeable
 .It kern.module.autoload	integer	yes
 .It kern.module.autotime	integer	yes
-.It kern.module.verbose	integer	yes
+.It kern.module.verbose	boolean	yes
 .El
 .Pp
 The variables are as follows:



CVS commit: src/share/man/man7

2018-01-09 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Jan  9 09:21:41 UTC 2018

Modified Files:
src/share/man/man7: hier.7

Log Message:
Remove superfluous Pp.


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.125 src/share/man/man7/hier.7:1.126
--- src/share/man/man7/hier.7:1.125	Tue Jan  9 09:20:23 2018
+++ src/share/man/man7/hier.7	Tue Jan  9 09:21:41 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.125 2018/01/09 09:20:23 wiz Exp $
+.\"	$NetBSD: hier.7,v 1.126 2018/01/09 09:21:41 wiz Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -47,7 +47,6 @@ and what they are, with references to ot
 documentation.
 .Pp
 Not all files will be in every system.
-.Pp
 .Bl -tag -width "/altroot/"
 .It Sy \&/
 Root directory of the system.
@@ -624,7 +623,6 @@ Test programs; see
 .Xr tests 7
 for information on how to run them.
 .El
-.Pp
 .It Sy /usr/src/
 .Nx
 and local source files.
@@ -736,7 +734,6 @@ Source for Programmer's Supplementary Do
 Source for System Manager's Manual.
 .It Sy usd/
 Source for User's Supplementary Documents.
-.Pp
 .El
 .El
 .It Sy sys/



CVS commit: src/share/man/man7

2018-01-09 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Jan  9 09:22:26 UTC 2018

Modified Files:
src/share/man/man7: hier.7

Log Message:
Use Pa for paths.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.126 src/share/man/man7/hier.7:1.127
--- src/share/man/man7/hier.7:1.126	Tue Jan  9 09:21:41 2018
+++ src/share/man/man7/hier.7	Tue Jan  9 09:22:25 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.126 2018/01/09 09:21:41 wiz Exp $
+.\"	$NetBSD: hier.7,v 1.127 2018/01/09 09:22:25 wiz Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -48,309 +48,309 @@ documentation.
 .Pp
 Not all files will be in every system.
 .Bl -tag -width "/altroot/"
-.It Sy \&/
+.It Pa \&/
 Root directory of the system.
-.It Sy /COPYRIGHT
+.It Pa /COPYRIGHT
 System copyright notice, most often put on CD-ROM distributions.
-.It Sy "/[a-z]/"
+.It Pa "/[a-z]/"
 User file systems.
-.It Sy /altroot/
+.It Pa /altroot/
 Alternate root file system, in case of disaster.
-.\" .It Sy /amd/
+.\" .It Pa /amd/
 .\" Home directories mount point; see
 .\" .Xr amd 8 .
-.It Sy /bin/
+.It Pa /bin/
 Utilities used in both single and multi-user environments.
-.It Sy /boot*
+.It Pa /boot*
 Second-stage boot loader(s) for some platforms; see
 .Xr installboot 8 .
-.It Sy /cdrom/
+.It Pa /cdrom/
 Empty directory commonly used by
 system administrators as a temporary mount point for ISO-9660 file
 systems on CD (or DVD) media.
-.It Sy /dev/
+.It Pa /dev/
 Block, character, and other special device files.
 .Pp
 .Bl -tag -width "MAKEDEV" -compact
-.It Sy MAKEDEV
+.It Pa MAKEDEV
 Script for creating device files;
 see
 .Xr makedev 8 .
-.It Sy console
+.It Pa console
 The computer's console device.
-.It Sy drum
+.It Pa drum
 The computer's swap space device; see
 .Xr drum 4 .
-.It Sy fd/
+.It Pa fd/
 File descriptor files;
 see
 .Xr fd 4 .
-.It Sy klog
+.It Pa klog
 Kernel logging device; see
 .Xr syslog 3 .
-.It Sy kmem
+.It Pa kmem
 Kernel virtual memory device; see
 .Xr mem 4 .
-.It Sy log
+.It Pa log
 .Ux
 domain datagram log socket; see
 .Xr syslogd 8 .
-.It Sy mem
+.It Pa mem
 Kernel physical memory device; see
 .Xr mem 4 .
-.It Sy null
+.It Pa null
 The null device; see
 .Xr null 4 .
-.It Sy pts/
+.It Pa pts/
 Mount point for the pseudo-terminal device file system; see
 .Xr mount_ptyfs 8 .
-.It Sy stderr
-.It Sy stdin
-.It Sy stdout
+.It Pa stderr
+.It Pa stdin
+.It Pa stdout
 File descriptor files;
 see
 .Xr fd 4 .
-.It Sy tty
+.It Pa tty
 Device pointing to each process's own controlling terminal; see
 .Xr tty 4 .
-.It Sy zero
+.It Pa zero
 The zero device; see
 .Xr zero 4 .
 .El
-.\" .It Sy /dump/
+.\" .It Pa /dump/
 .\" Online
 .\" .Xr dump 8
 .\" repository.
-.It Sy /etc/
+.It Pa /etc/
 System configuration files and scripts.
 .Pp
 .Bl -tag -width "master.passwd" -compact
-.It Sy amd*
+.It Pa amd*
 Configuration files for
 .Xr amd 8 .
-.It Sy changelist
+.It Pa changelist
 Files backed up by the
-.Sy security
+.Pa security
 script.
-.It Sy crontab
+.It Pa crontab
 Schedule used by the
 .Xr cron 8
 daemon.
-.It Sy csh.cshrc
-.It Sy csh.login
-.It Sy csh.logout
+.It Pa csh.cshrc
+.It Pa csh.login
+.It Pa csh.logout
 System-wide scripts for
 .Xr csh 1 .
-.It Sy daily
+.It Pa daily
 Script run each day by
 .Xr cron 8 .
-.It Sy daily.conf
+.It Pa daily.conf
 Configuration file for
-.Sy daily ;
+.Pa daily ;
 see
 .Xr daily.conf 5 .
-.It Sy defaults/
+.It Pa defaults/
 Default configuration files read by various
 .Pa /etc/*.conf
 files.
-.It Sy disktab
+.It Pa disktab
 Disk description file; see
 .Xr disktab 5 .
-.It Sy dm.conf
+.It Pa dm.conf
 Dungeon master configuration; see
 .Xr dm.conf 5 .
-.It Sy dumpdates
+.It Pa dumpdates
 Dump history; see
 .Xr dump 8 .
-.It Sy exports
+.It Pa exports
 File system export information; see
 .Xr mountd 8 .
-.It Sy fstab
+.It Pa fstab
 File system mounting table; see
 .Xr fstab 5
 and
 .Xr mount 8 .
-.It Sy ftpusers
+.It Pa ftpusers
 Users denied
 .Xr ftp 1
 access; see
 .Xr ftpd 8 .
-.It Sy ftpwelcome
+.It Pa ftpwelcome
 .Xr ftp 1
 initial message; see
 .Xr ftpd 8 .
-.It Sy gettytab
+.It Pa gettytab
 Terminal configuration database; see
 .Xr gettytab 5 .
-.It Sy group
+.It Pa group
 Group permissions file; see
 .Xr group 5 .
-.It Sy hosts
+.It Pa hosts
 Host name database backup for
 .Xr named 8 ;
 see
 .Xr hosts 5 .
-.It Sy hosts.equiv
+.It Pa hosts.equiv
 Trusted machines with equivalent user IDs.
 (Obsolete.)
-.It Sy hosts.lpd
+.It Pa hosts.lpd
 Trusted machines with printing privileges.
-.It Sy inetd.conf
+.It Pa inetd.conf
 Internet server configuration file; see
 .Xr inetd 8 .
-.It Sy kerberosV/
+.It Pa kerberosV/
 Configuration files for Kerberos version V;
 see
 .Xr kerberos 8 .
-.It Sy 

CVS commit: src/share/man/man7

2018-01-09 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Jan  9 09:20:23 UTC 2018

Modified Files:
src/share/man/man7: hier.7

Log Message:
Stop using Tn.


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.124 src/share/man/man7/hier.7:1.125
--- src/share/man/man7/hier.7:1.124	Tue Jan  9 03:31:12 2018
+++ src/share/man/man7/hier.7	Tue Jan  9 09:20:23 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.124 2018/01/09 03:31:12 christos Exp $
+.\"	$NetBSD: hier.7,v 1.125 2018/01/09 09:20:23 wiz Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -52,9 +52,7 @@ Not all files will be in every system.
 .It Sy \&/
 Root directory of the system.
 .It Sy /COPYRIGHT
-System copyright notice, most often put on
-.Tn CD-ROM
-distributions.
+System copyright notice, most often put on CD-ROM distributions.
 .It Sy "/[a-z]/"
 User file systems.
 .It Sy /altroot/
@@ -322,8 +320,7 @@ List of permitted shells; see
 .It Sy skel/
 Sample initialization files for new user accounts.
 .It Sy sliphome/
-.Tn SLIP
-login/logout scripts; see
+SLIP login/logout scripts; see
 .Xr sliplogin 8 .
 .It Sy spwd.db
 Database form of master.passwd file; see
@@ -700,9 +697,8 @@ BSD-like zlib license.
 Source for utilities/files in
 .Pa /usr/games .
 .It Sy gnu/
-Source for programs covered by the
-.Tn GNU
-license (or similar) (deprecated; use
+Source for programs covered by the GNU license (or similar)
+(deprecated; use
 .Sy external/gpl2/
 or
 .Sy external/gpl3/
@@ -909,28 +905,19 @@ Support for
 .Nx
 32-bit binaries on 64 bit platforms with compatible CPU families.
 .It Sy osf1/
-Support for
-.Tn Digital
+Support for Digital
 .Ux
-.Po
-formerly
-.Tn OSF/1
-.Pc
-binaries.
+(formerly OSF/1) binaries.
 .It Sy ossaudio/
 Support for OSS audio.
 .It Sy sunos/
-Support for
-.Tn SunOS 4.x
-binaries; see
+Support for SunOS 4.x binaries; see
 .Xr compat_sunos 8 .
 .It Sy svr4/
 Support for System V Release 4 binaries; see
 .Xr compat_svr4 8 .
 .It Sy ultrix/
-Support for
-.Tn ULTRIX
-binaries.
+Support for ULTRIX binaries.
 .It Sy vax1k/
 Support for older VAX binaries that started on a 1 KB boundary.
 .El
@@ -960,8 +947,7 @@ Support for the ISO-9660 file system; se
 Support for the Acorn RISC OS filecore file system; see
 .Xr mount_filecore 8 .
 .It Sy msdosfs/
-.Tn MS-DOS
-file system; see
+MS-DOS file system; see
 .Xr mount_msdos 8 .
 .It Sy ntfs/
 NTFS file system support; see



CVS commit: src/share/man/man7

2017-12-28 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Dec 28 23:16:57 UTC 2017

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Fix word.


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.119 src/share/man/man7/sysctl.7:1.120
--- src/share/man/man7/sysctl.7:1.119	Thu Dec 28 23:15:45 2017
+++ src/share/man/man7/sysctl.7	Thu Dec 28 23:16:57 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.119 2017/12/28 23:15:45 wiz Exp $
+.\"	$NetBSD: sysctl.7,v 1.120 2017/12/28 23:16:57 wiz Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -2488,7 +2488,7 @@ If not zero, DDB will output also to the
 If not empty, a command to be executed on each enter to the DDB.
 .It Li ddb.panicstackframes
 Number of stack frames to display on panic.
-Useful to avoid scrolling way the interesting frames on a glass tty.
+Useful to avoid scrolling away the interesting frames on a glass tty.
 Default value is
 .Dv 65535
 (all frames), useful value around



CVS commit: src/share/man/man7

2017-12-28 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Dec 28 23:15:45 UTC 2017

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Remove Tn.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.118 src/share/man/man7/sysctl.7:1.119
--- src/share/man/man7/sysctl.7:1.118	Thu Dec 28 17:51:49 2017
+++ src/share/man/man7/sysctl.7	Thu Dec 28 23:15:45 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.118 2017/12/28 17:51:49 christos Exp $
+.\"	$NetBSD: sysctl.7,v 1.119 2017/12/28 23:15:45 wiz Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -372,9 +372,8 @@ privilege may change the value.
 .El
 .Bl -tag -width "123456"
 .It Li kern.aio_listio_max
-The maximum number of asynchronous
-.Tn I/O
-operations in a single list I/O call.
+The maximum number of asynchronous I/O operations in a single list
+I/O call.
 Like with all variables related to
 .Xr aio 3 ,
 the variable may be created and removed dynamically
@@ -384,7 +383,7 @@ The maximum number of asynchronous I/O o
 .It Li kern.arandom
 This variable picks a random number each time it is queried.
 The used random number generator
-.Pf ( Tn RNG )
+.Pf ( RNG )
 is based on
 .Xr arc4random 3 .
 .It Li kern.argmax ( Dv KERN_ARGMAX )
@@ -811,9 +810,7 @@ Returns the standard version the impleme
 Monotonic Clock Option conforms to,
 otherwise\ 0.
 .It Li kern.mqueue
-Settings related to
-.Tn POSIX
-message queues; see
+Settings related to POSIX message queues; see
 .Xr mqueue 3 .
 This node is created dynamically when
 the corresponding kernel module is loaded.
@@ -2017,10 +2014,7 @@ Default UDP receive buffer size.
 Default UDP send buffer size.
 .El
 .Pp
-We reuse net.*.tcp for
-.Tn TCP
-over
-.Tn IPv6 ,
+We reuse net.*.tcp for TCP over IPv6,
 and therefore we do not have variables net.*.tcp6.
 Variables net.inet6.udp6 have identical meaning to net.inet.udp.
 Please refer to
@@ -2491,8 +2485,7 @@ console or by a special key sequence on 
 .It Li ddb.tee_msgbuf
 If not zero, DDB will output also to the kernel message buffer.
 .It Li ddb.commandonenter
-If not empty, a command to be executed on each enter to the
-.Tn DDB .
+If not empty, a command to be executed on each enter to the DDB.
 .It Li ddb.panicstackframes
 Number of stack frames to display on panic.
 Useful to avoid scrolling way the interesting frames on a glass tty.
@@ -2502,8 +2495,7 @@ Default value is
 .Dv 10 .
 .El
 .Pp
-Some of these
-.Tn MIB
+Some of these MIB
 nodes are also available as variables from within the debugger.
 See
 .Xr ddb 4
@@ -2524,8 +2516,7 @@ The available second level names are:
 Available settings are detailed below.
 .Bl -tag -width "123456"
 .It Li security.curtain
-If non-zero, will filter return objects according to the user
-.Tn ID
+If non-zero, will filter return objects according to the user ID
 requesting information about them, preventing users from
 accessing any objects they do not own.
 .Pp



CVS commit: src/share/man/man7

2017-08-31 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Aug 31 08:36:32 UTC 2017

Modified Files:
src/share/man/man7: module.7

Log Message:
Revert probably unintentional case changes from previous.
Remove superfluous Tn.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man7/module.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/module.7
diff -u src/share/man/man7/module.7:1.6 src/share/man/man7/module.7:1.7
--- src/share/man/man7/module.7:1.6	Thu Aug 31 07:47:59 2017
+++ src/share/man/man7/module.7	Thu Aug 31 08:36:32 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: module.7,v 1.6 2017/08/31 07:47:59 pgoyette Exp $
+.\" $NetBSD: module.7,v 1.7 2017/08/31 08:36:32 wiz Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -147,7 +147,7 @@ The
 .Nm
 facility was designed to be similar in functionality
 to the loadable kernel modules facility provided by
-.Tn "SunOS 4.1.3" .
+SunOS 4.1.3.
 The old
 .Dv LKM
 interface was replaced by
@@ -211,4 +211,4 @@ Refer to
 .Xr secmodel_securelevel 9
 for additional details on the
 .Pa securelevel .
-oNLY USE modules from trusted sources.
+Only use modules from trusted sources.



CVS commit: src/share/man/man7

2017-08-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Aug 31 07:47:59 UTC 2017

Modified Files:
src/share/man/man7: module.7

Log Message:
Add a note that some external software is available only via loadable
modules due to licensing concerns.

Also add an additional example of how to build modules only, using
build.sh


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man7/module.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/module.7
diff -u src/share/man/man7/module.7:1.5 src/share/man/man7/module.7:1.6
--- src/share/man/man7/module.7:1.5	Tue Sep 22 08:29:30 2015
+++ src/share/man/man7/module.7	Thu Aug 31 07:47:59 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: module.7,v 1.5 2015/09/22 08:29:30 wiz Exp $
+.\" $NetBSD: module.7,v 1.6 2017/08/31 07:47:59 pgoyette Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd September 22, 2015
+.Dd August 31, 2017
 .Dt MODULE 7
 .Os
 .Sh NAME
@@ -105,8 +105,10 @@ Alternate system security models also ma
 The common build tool of
 .Nx ,
 .Dq build.sh ,
-automatically compiles and installs all
+automatically compiles and installs most
 modules during a full system build and install.
+(The exceptions are some modules from external sources which, due to
+licensing concerns, can be built only as separately-loaded modules.)
 However, sometimes it is useful to update only modules.
 The following example demonstrates one way to do this.
 It is assumed that the source code is under
@@ -126,6 +128,14 @@ make clean
 make
 make install
 .Ed
+.Pp
+Alternatively, the
+.Dq build.sh
+tool can be used to build only the modules.
+.Bd -literal -offset indent
+cd /usr/src
+\&./build.sh -O /usr/obj -T /usr/tools modules
+.Ed
 .Sh SEE ALSO
 .Xr modctl 2 ,
 .Xr modload 8 ,
@@ -201,4 +211,4 @@ Refer to
 .Xr secmodel_securelevel 9
 for additional details on the
 .Pa securelevel .
-Only use modules from trusted sources.
+oNLY USE modules from trusted sources.



CVS commit: src/share/man/man7

2017-07-30 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Jul 30 16:07:06 UTC 2017

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Remove lurking reference to TCP_COMPAT_42.


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.116 src/share/man/man7/sysctl.7:1.117
--- src/share/man/man7/sysctl.7:1.116	Tue Jul 11 08:32:17 2017
+++ src/share/man/man7/sysctl.7	Sun Jul 30 16:07:06 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.116 2017/07/11 08:32:17 wiz Exp $
+.\"	$NetBSD: sysctl.7,v 1.117 2017/07/30 16:07:06 maxv Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd July 2, 2017
+.Dd July 30, 2017
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -1413,7 +1413,6 @@ The currently defined protocols and name
 .It tcp	mss_ifmtu	integer	yes
 .It tcp	win_scale	integer	yes
 .It tcp	timestamps	integer	yes
-.It tcp	compat_42	integer	yes
 .It tcp	cwm	integer	yes
 .It tcp	cwm_burstsize	integer	yes
 .It tcp	ack_on_push	integer	yes
@@ -1606,10 +1605,6 @@ This can avoid losing a round trip time 
 but has the caveat of potentially defeating TCP's delayed ACK algorithm.
 Use of this option is generally not recommended, but
 the variable exists in case your configuration really needs it.
-.It Li tcp.compat_42
-If set to 1, enables work-arounds for bugs in the 4.2BSD TCP implementation.
-Use of this option is not recommended, although it may be
-required in order to communicate with extremely old TCP implementations.
 .It Li tcp.cwm
 If set to 1, enables use of the Hughes/Touch/Heidemann Congestion Window
 Monitoring algorithm.



CVS commit: src/share/man/man7

2017-07-26 Thread Leonardo Taccari
Module Name:src
Committed By:   leot
Date:   Wed Jul 26 15:32:09 UTC 2017

Modified Files:
src/share/man/man7: release.7

Log Message:
Document xetc.tgz installation set.

Thanks to  for the review!


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/share/man/man7/release.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/release.7
diff -u src/share/man/man7/release.7:1.37 src/share/man/man7/release.7:1.38
--- src/share/man/man7/release.7:1.37	Mon Jul  3 21:30:59 2017
+++ src/share/man/man7/release.7	Wed Jul 26 15:32:09 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: release.7,v 1.37 2017/07/03 21:30:59 wiz Exp $
+.\"	$NetBSD: release.7,v 1.38 2017/07/26 15:32:09 leot Exp $
 .\"
 .\" Copyright (c) 1997, 2000, 2005 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd November 3, 2014
+.Dd July 26, 2017
 .Dt RELEASE 7
 .Os
 .Sh NAME
@@ -314,6 +314,8 @@ all related programs, and their manual p
 .It Sy xbase.tgz
 This set includes the base X11 distribution, including manual pages
 and excluding everything contained in the other X11 sets.
+.It Sy xetc.tgz
+This set includes X11 configuration files.
 .It Sy xcomp.tgz
 This set includes the X11 include files and static X11 libraries.
 .It Sy xfont.tgz



CVS commit: src/share/man/man7

2017-07-11 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Jul 11 08:32:17 UTC 2017

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Fix a macro. Fix two tables.


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.115 src/share/man/man7/sysctl.7:1.116
--- src/share/man/man7/sysctl.7:1.115	Mon Jul 10 22:41:46 2017
+++ src/share/man/man7/sysctl.7	Tue Jul 11 08:32:17 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.115 2017/07/10 22:41:46 joerg Exp $
+.\"	$NetBSD: sysctl.7,v 1.116 2017/07/11 08:32:17 wiz Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -315,7 +315,7 @@ privilege may change the value.
 .It kern.maxproc	integer	yes
 .It kern.maxptys	integer	yes
 .It kern.maxvnodes	integer	yes
-.It kern.messages	integer yes
+.It kern.messages	integer	yes
 .It kern.mbuf	node	not applicable
 .It kern.memlock	integer	no
 .It kern.memlock_range	integer	no
@@ -771,14 +771,14 @@ otherwise\ 0.
 .It Li kern.messages
 Kernel console message verbosity.
 See
-.Sy \
+.Aq Pa sys/reboot.h
 .Bl -column "verbosity" "setting" -offset indent
-.It Sy Verbosity   Setting
-.It \ \ \ \ 0  Silent Sy AB_SILENT
-.It \ \ \ \ 1  Quiet Sy AB_QUIET
-.It \ \ \ \ 2  Normal Sy AB_NORMAL
-.It \ \ \ \ 3  Verbose Sy AB_VERBOSE
-.It \ \ \ \ 4  Debug Sy AB_DEBUG
+.It Sy Value Ta Sy Verbosity Ta Sy sys/reboot.h equivalent
+.It 0 Ta Silent Ta Sy AB_SILENT
+.It 1 Ta Quiet Ta Sy AB_QUIET
+.It 2 Ta Normal Ta Sy AB_NORMAL
+.It 3 Ta Verbose Ta Sy AB_VERBOSE
+.It 4 Ta Debug Ta Sy AB_DEBUG
 .El
 .It Li kern.module
 Settings related to kernel modules.
@@ -2428,7 +2428,7 @@ The returned data consists of a
 A flag which controls whether user processes can map virtual address\ 0.
 .It Li vm.proc.map ( Dv VM_PROC )
 The third level is
-.dv VM_PROC_MAP ,
+.Dv VM_PROC_MAP ,
 the fourth is the pid of the process to display the vm object entries for, and
 the fifth is the size of
 .Vt struct kinfo_vmentry .



CVS commit: src/share/man/man7

2017-07-10 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon Jul 10 22:41:46 UTC 2017

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Document vm.guard_size and vm.thread_guard_size


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.114 src/share/man/man7/sysctl.7:1.115
--- src/share/man/man7/sysctl.7:1.114	Mon Jul  3 21:30:59 2017
+++ src/share/man/man7/sysctl.7	Mon Jul 10 22:41:46 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.114 2017/07/03 21:30:59 wiz Exp $
+.\"	$NetBSD: sysctl.7,v 1.115 2017/07/10 22:41:46 joerg Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd March 25, 2017
+.Dd July 2, 2017
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -2381,6 +2381,8 @@ privilege may change the value.
 .It vm.uvmexp2	struct uvmexp_sysctl	no
 .It vm.vmmeter	struct vmtotal	no
 .It vm.proc.map	struct kinfo_vmentry	no
+.It vm.guard_size	unsigned int	no
+.It vm.thread_guard_size	unsigned int	yes
 .El
 .Bl -tag -width "123456"
 .It Li vm.anonmax ( Dv VM_ANONMAX )
@@ -2443,6 +2445,11 @@ The returned data consists of a
 Return system wide virtual memory statistics.
 The returned data consists of a
 .Vt struct uvmexp_sysctl .
+.It Li vm.guard_size
+Return system wide guard size for the main thread of a program.
+.It Li vm.thread_guard_size
+Return system wide default size for the guard area of all other threads
+of a program.
 .\" XXX vm.idlezero
 .El
 .Ss The ddb.* subtree ( Dv CTL_DDB )



CVS commit: src/share/man/man7

2017-06-26 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Tue Jun 27 01:13:44 UTC 2017

Modified Files:
src/share/man/man7: environ.7

Log Message:
Document EDITRC


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/share/man/man7/environ.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/environ.7
diff -u src/share/man/man7/environ.7:1.26 src/share/man/man7/environ.7:1.27
--- src/share/man/man7/environ.7:1.26	Sat Feb 25 15:55:45 2017
+++ src/share/man/man7/environ.7	Tue Jun 27 01:13:44 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: environ.7,v 1.26 2017/02/25 15:55:45 abhinav Exp $
+.\"	$NetBSD: environ.7,v 1.27 2017/06/27 01:13:44 kre Exp $
 .\"
 .\" Copyright (c) 1983, 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -80,6 +80,13 @@ by
 or
 .Ql g .
 Sizes less than 512 bytes or greater than a gigabyte are ignored.
+.It Ev EDITRC
+Gives the path name of the file used by
+.Xr editline 7
+when command line editing is enabled in various programs.
+See
+.Xr editrc 5
+for information on the format of the file.
 .It Ev EXINIT
 A startup list of commands read by
 .Xr ex 1



CVS commit: src/share/man/man7

2017-04-24 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon Apr 24 09:42:19 UTC 2017

Modified Files:
src/share/man/man7: symlink.7

Log Message:
Use serial comma. Update a count.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/share/man/man7/symlink.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/symlink.7
diff -u src/share/man/man7/symlink.7:1.24 src/share/man/man7/symlink.7:1.25
--- src/share/man/man7/symlink.7:1.24	Fri Apr 21 20:17:26 2017
+++ src/share/man/man7/symlink.7	Mon Apr 24 09:42:19 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: symlink.7,v 1.24 2017/04/21 20:17:26 christos Exp $
+.\"	$NetBSD: symlink.7,v 1.25 2017/04/24 09:42:19 wiz Exp $
 .\"
 .\" Copyright (c) 1992, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -107,7 +107,7 @@ the system call
 would return a file descriptor to the file
 .Qq afile .
 .Pp
-There are twelve system calls that do not follow links, and which operate
+There are eleven system calls that do not follow links, and which operate
 on the symbolic link itself.
 They are:
 .Xr lchflags 2 ,
@@ -152,7 +152,7 @@ flag:
 .\" .Xr chflagsat 2 ,
 .Xr fchmodat 2 ,
 .Xr fchownat 2 ,
-.Xr fstatat 2
+.Xr fstatat 2 ,
 and
 .Xr utimensat 2 .
 .Pp
@@ -273,7 +273,7 @@ command follows symbolic links named as 
 option is specified,
 or if the
 .Fl F ,
-.Fl d
+.Fl d ,
 or
 .Fl l
 options are not specified.
@@ -306,7 +306,7 @@ The
 system differs from historical
 .Bx 4
 systems in that the
-.Nm chown ,
+.Nm chown
 and
 .Nm chgrp
 commands follow symbolic links specified on the command line.
@@ -321,7 +321,7 @@ The following commands either optionally
 .Xr ls 1 ,
 .Xr pax 1 ,
 .Xr rm 1 ,
-.Xr tar 1
+.Xr tar 1 ,
 and
 .Xr chown 8 .
 .Pp
@@ -442,7 +442,7 @@ physical name space.
 .Pp
 For commands that do not by default do file tree traversals, the
 .Fl H ,
-.Fl L
+.Fl L ,
 and
 .Fl P
 flags are ignored if the
@@ -450,7 +450,7 @@ flags are ignored if the
 flag is not also specified.
 In addition, you may specify the
 .Fl H ,
-.Fl L
+.Fl L ,
 and
 .Fl P
 options more than once; the last one specified determines the
@@ -471,7 +471,7 @@ The
 .Nm rm
 command does not support the
 .Fl H ,
-.Fl L
+.Fl L ,
 or
 .Fl P
 options.
@@ -482,7 +482,7 @@ the
 command acts a little differently.
 If you do not specify the
 .Fl F ,
-.Fl d
+.Fl d ,
 or
 .Fl l
 options,



CVS commit: src/share/man/man7

2017-04-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 21 20:17:26 UTC 2017

Modified Files:
src/share/man/man7: symlink.7

Log Message:
Add some more text from FreeBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/share/man/man7/symlink.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/symlink.7
diff -u src/share/man/man7/symlink.7:1.23 src/share/man/man7/symlink.7:1.24
--- src/share/man/man7/symlink.7:1.23	Fri Jan 10 04:44:30 2014
+++ src/share/man/man7/symlink.7	Fri Apr 21 16:17:26 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: symlink.7,v 1.23 2014/01/10 09:44:30 wiz Exp $
+.\"	$NetBSD: symlink.7,v 1.24 2017/04/21 20:17:26 christos 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 January 9, 2014
+.Dd April 21, 2017
 .Dt SYMLINK 7
 .Os
 .Sh NAME
@@ -107,16 +107,20 @@ the system call
 would return a file descriptor to the file
 .Qq afile .
 .Pp
-There are eight system calls that do not follow links, and which operate
+There are twelve system calls that do not follow links, and which operate
 on the symbolic link itself.
 They are:
 .Xr lchflags 2 ,
 .Xr lchmod 2 ,
 .Xr lchown 2 ,
+.\".Xr lpathconf 2 ,
 .Xr lstat 2 ,
 .Xr lutimes 2 ,
 .Xr readlink 2 ,
+.Xr readlinkat 2 ,
 .Xr rename 2 ,
+.Xr renameat 2 ,
+.Xr unlinkat 2 .
 and
 .Xr unlink 2 .
 Because
@@ -124,6 +128,48 @@ Because
 is an alias for
 .Xr unlink 2 ,
 it also does not follow symbolic links.
+When
+.Xr rmdir 2
+or
+.Xr unlinkat 2
+with the
+.Dv AT_REMOVEDIR
+flag
+is applied to a symbolic link, it fails with the error
+.Er ENOTDIR .
+.Pp
+The
+.Xr linkat 2
+system call does not follow symbolic links
+unless given the
+.Dv AT_SYMLINK_FOLLOW
+flag.
+.Pp
+The following system calls follow symbolic links
+unless given the
+.Dv AT_SYMLINK_NOFOLLOW
+flag:
+.\" .Xr chflagsat 2 ,
+.Xr fchmodat 2 ,
+.Xr fchownat 2 ,
+.Xr fstatat 2
+and
+.Xr utimensat 2 .
+.Pp
+The owner and group of an existing symbolic link can be changed by
+means of the
+.Xr lchown 2
+system call.
+The flags, access permissions, owner/group and modification time of
+an existing symbolic link can be changed by means of the
+.Xr lchflags 2 ,
+.Xr lchmod 2 ,
+.Xr lchown 2 ,
+and
+.Xr lutimes 2
+system calls, respectively.
+Of these, only the flags and ownership are used by the system;
+the access permissions are ignored.
 .Pp
 The
 .Bx 4.4
@@ -132,6 +178,11 @@ system differs from historical
 systems in that the system call
 .Xr chown 2
 has been changed to follow symbolic links.
+The
+.Xr lchown 2
+system call was added later when the limitations of the new
+.Xr chown 2
+became apparent.
 .Pp
 If the filesystem is mounted with the
 .Em symperm
@@ -193,7 +244,7 @@ would report that
 .Qq Li slink
 was a symbolic link.
 .Pp
-There are three exceptions to this rule.
+There are five exceptions to this rule.
 The
 .Xr mv 1
 and
@@ -216,6 +267,8 @@ option is not specified),
 the
 .Nm ls
 command follows symbolic links named as arguments if the
+.\" .Fl H
+.\" or
 .Fl L
 option is specified,
 or if the
@@ -231,19 +284,31 @@ option is specified,
 always follows symbolic links.
 .Nm ls
 is the only command where the
+.\" .Fl H
+.\" and
 .Fl L
 option affects its behavior even though it is not doing a walk of
 a file tree).
 .Pp
 The
+.Xr file 1
+and
+.Xr stat 1
+commands are also exceptions to this rule.
+These
+commands do not follow symbolic links named as argument by default,
+but do follow symbolic links named as argument if the
+.Fl L
+option is specified.
+.Pp
+The
 .Bx 4.4
 system differs from historical
 .Bx 4
 systems in that the
 .Nm chown ,
-.Nm chgrp
 and
-.Nm file
+.Nm chgrp
 commands follow symbolic links specified on the command line.
 .Ss Commands traversing a file tree
 The following commands either optionally or always traverse file trees:
@@ -414,7 +479,16 @@ options.
 To maintain compatibility with historic systems,
 the
 .Nm ls
-command never follows symbolic links unless the
+command acts a little differently.
+If you do not specify the
+.Fl F ,
+.Fl d
+or
+.Fl l
+options,
+.Nm ls
+will follow symbolic links specified on the command line.
+If the
 .Fl L
 flag is specified.
 If the



CVS commit: src/share/man/man7

2017-03-24 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Mar 25 05:58:50 UTC 2017

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
A couple more minor changes for readability.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.112 src/share/man/man7/sysctl.7:1.113
--- src/share/man/man7/sysctl.7:1.112	Sat Mar 25 05:51:28 2017
+++ src/share/man/man7/sysctl.7	Sat Mar 25 05:58:50 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.112 2017/03/25 05:51:28 pgoyette Exp $
+.\"	$NetBSD: sysctl.7,v 1.113 2017/03/25 05:58:50 pgoyette Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -2206,9 +2206,9 @@ If non zero, the process' children will 
 calls.
 The children are created in the SSTOP state and are never scheduled
 for running before being stopped.
-This feature helps attaching to a process with a debugger such as
+This feature enables attaching to a process with a debugger such as
 .Xr gdb 1
-before it has the opportunity to actually do anything.
+before the process has the opportunity to actually do anything.
 .Pp
 This value is inherited by the process's children, and it also
 applies to emulation specific system calls that fork a new process, such as
@@ -2225,7 +2225,7 @@ is created in the SSTOP state and is nev
 before being stopped.
 This feature enables attaching to a process with a debugger such as
 .Xr gdb 1
-before it has the opportunity to actually do anything.
+before the process has the opportunity to actually do anything.
 .Pp
 This value is inherited by the process's children.
 .It Li proc.pid.stopexit ( Dv PROC_PID_STOPEXIT )



CVS commit: src/share/man/man7

2017-03-24 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Mar 25 05:51:28 UTC 2017

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Improve some grammar, let verbs agree in number with their subjects.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.111 src/share/man/man7/sysctl.7:1.112
--- src/share/man/man7/sysctl.7:1.111	Fri Mar 24 21:44:13 2017
+++ src/share/man/man7/sysctl.7	Sat Mar 25 05:51:28 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.111 2017/03/24 21:44:13 pgoyette Exp $
+.\"	$NetBSD: sysctl.7,v 1.112 2017/03/25 05:51:28 pgoyette Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -2204,38 +2204,38 @@ Both are of type integer.
 If non zero, the process' children will be stopped after
 .Xr fork 2
 calls.
-The children is created in the SSTOP state and is never scheduled
+The children are created in the SSTOP state and are never scheduled
 for running before being stopped.
-This feature helps attaching a process with a debugger such as
+This feature helps attaching to a process with a debugger such as
 .Xr gdb 1
-before it had the opportunity to actually do anything.
+before it has the opportunity to actually do anything.
 .Pp
 This value is inherited by the process's children, and it also
-apply to emulation specific system calls that fork a new process, such as
+applies to emulation specific system calls that fork a new process, such as
 .Fn sproc
 or
 .Fn clone .
 .It Li proc.pid.stopexec ( Dv PROC_PID_STOPEXEC )
-If non zero, the process will be stopped on next
+If non zero, the process will be stopped on the next
 .Xr exec 3
 call.
 The process created by
 .Xr exec 3
 is created in the SSTOP state and is never scheduled for running
 before being stopped.
-This feature helps attaching a process with a debugger such as
+This feature enables attaching to a process with a debugger such as
 .Xr gdb 1
-before it had the opportunity to actually do anything.
+before it has the opportunity to actually do anything.
 .Pp
 This value is inherited by the process's children.
 .It Li proc.pid.stopexit ( Dv PROC_PID_STOPEXIT )
-If non zero, the process will be stopped on when it has cause to exit,
+If non zero, the process will be stopped when it has cause to exit,
 either by way of calling
 .Xr exit 3 ,
 .Xr _exit 2 ,
 or by the receipt of a specific signal.
 The process is stopped before any of its resources or vm space is
-released allowing examination of the termination state of a process
+released allowing examination of the termination state of the process
 before it disappears.
 This feature can be used to examine the final conditions of the
 process's vmspace via



CVS commit: src/share/man/man7

2017-03-24 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Mar 24 21:44:13 UTC 2017

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Document new proc.curproc.paxflags variable.


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.110 src/share/man/man7/sysctl.7:1.111
--- src/share/man/man7/sysctl.7:1.110	Thu Jan 12 18:19:31 2017
+++ src/share/man/man7/sysctl.7	Fri Mar 24 21:44:13 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.110 2017/01/12 18:19:31 abhinav Exp $
+.\"	$NetBSD: sysctl.7,v 1.111 2017/03/24 21:44:13 pgoyette Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd November 17, 2016
+.Dd March 25, 2017
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -964,7 +964,7 @@ structures is returned,
 whose size depends on the current number of such objects in the system.
 The third and fourth level numeric names are as follows:
 .Bl -column "KERN_PROC_SESSION" "Fourth level is:" -offset indent
-.It Sy Third level name Ta Sy Fourth level is:
+.It Sy Third level name Ta Sy Fourth level is :
 .It KERN_PROC_ALL	None
 .It KERN_PROC_GID	A group ID
 .It KERN_PROC_PID	A process ID
@@ -1347,7 +1347,7 @@ The fourth level name is an address fami
 select all address families.
 The fifth and sixth level names are as follows:
 .Bl -column "Fifth level name" "Sixth level is:" -offset indent
-.It Sy Fifth level name Ta Sy Sixth level is:
+.It Sy Fifth level name Ta Sy Sixth level is :
 .It NET_RT_FLAGS	rtflags
 .It NET_RT_DUMP	None
 .It NET_RT_IFLIST	None
@@ -2124,6 +2124,7 @@ points to the current process, or the PI
 .It proc.pid.stopfork	int	yes
 .It proc.pid.stopexec	int	yes
 .It proc.pid.stopexit	int	yes
+.It proc.pid.paxflags	int	no
 .El
 .Bl -tag -width "123456"
 .It Li proc.pid.corename ( Dv PROC_PID_CORENAME )
@@ -2244,6 +2245,10 @@ or its resource settings with
 before it disappears.
 .Pp
 This value is also inherited by the process's children.
+.It Li proc.pid.paxflags ( Dv PROC_PID_PAXFLAGS )
+This read-only variable returns the current value of the process's pax
+flags (see
+.Xr paxctl 8 ) .
 .El
 .Ss The user.* subtree ( Dv CTL_USER )
 The string and integer information available for the



CVS commit: src/share/man/man7

2017-02-25 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sat Feb 25 15:55:46 UTC 2017

Modified Files:
src/share/man/man7: environ.7

Log Message:
Change reference from malloc(3) to jemalloc(3) as the MALLOC_OPTIONS variable
is actually described in jemalloc(3).


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/share/man/man7/environ.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/environ.7
diff -u src/share/man/man7/environ.7:1.25 src/share/man/man7/environ.7:1.26
--- src/share/man/man7/environ.7:1.25	Fri Jan 21 10:03:27 2011
+++ src/share/man/man7/environ.7	Sat Feb 25 15:55:45 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: environ.7,v 1.25 2011/01/21 10:03:27 wiz Exp $
+.\"	$NetBSD: environ.7,v 1.26 2017/02/25 15:55:45 abhinav Exp $
 .\"
 .\" Copyright (c) 1983, 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -141,7 +141,7 @@ Control the behaviour of the
 .Fn malloc
 function.
 Refer to
-.Xr malloc 3
+.Xr jemalloc 3
 for more information.
 .It Ev MIXERDEVICE
 The name of the audio mixer device to be used by
@@ -272,7 +272,7 @@ unless you know what you are doing.
 .Xr execve 2 ,
 .Xr _DIAGASSERT 3 ,
 .Xr execle 3 ,
-.Xr malloc 3 ,
+.Xr jemalloc 3 ,
 .Xr rcmd 3 ,
 .Xr system 3 ,
 .Xr termcap 3 ,



CVS commit: src/share/man/man7

2017-02-15 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Wed Feb 15 17:44:52 UTC 2017

Modified Files:
src/share/man/man7: src.7

Log Message:
Fix spelling: s/alogorithms/algorithms


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man7/src.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/src.7
diff -u src/share/man/man7/src.7:1.10 src/share/man/man7/src.7:1.11
--- src/share/man/man7/src.7:1.10	Thu May 21 01:05:33 2015
+++ src/share/man/man7/src.7	Wed Feb 15 17:44:52 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: src.7,v 1.10 2015/05/21 01:05:33 ozaki-r Exp $
+.\" $NetBSD: src.7,v 1.11 2017/02/15 17:44:52 abhinav Exp $
 .\"
 .\" Copyright (c) 2012, 2013 Mingzhe Wang and Elvira Khabirova.
 .\"	All rights reserved.
@@ -258,7 +258,7 @@ binaries.
 .It Pa conf/
 Misc files for building kernel.
 .It Pa crypto/
-Crypt alogorithms used by IPsec.
+Crypt algorithms used by IPsec.
 .It Pa ddb/
 Client code for local kernel debugger.
 .It Pa dev/



CVS commit: src/share/man/man7

2017-01-12 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Thu Jan 12 18:19:31 UTC 2017

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Fix typo: s/currenly/currently


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.109 src/share/man/man7/sysctl.7:1.110
--- src/share/man/man7/sysctl.7:1.109	Wed Jan 11 11:53:07 2017
+++ src/share/man/man7/sysctl.7	Thu Jan 12 18:19:31 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.109 2017/01/11 11:53:07 wiz Exp $
+.\"	$NetBSD: sysctl.7,v 1.110 2017/01/12 18:19:31 abhinav Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -2072,7 +2072,7 @@ Force IPsec processing even when SPD pol
 .It Li used
 Based on if IPsec is enabled, and SPD rule existance, show if
 IPsec is being used.
-Note that currenly once IPsec is being used, it cannot be disabled.
+Note that currently once IPsec is being used, it cannot be disabled.
 .It Li spi_try
 The number of times the kernel will try to obtain an unique SPI
 when it generates it from random number generator.



CVS commit: src/share/man/man7

2017-01-11 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jan 11 11:53:07 UTC 2017

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
New sentence, new line.

Remove trailing whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.108 src/share/man/man7/sysctl.7:1.109
--- src/share/man/man7/sysctl.7:1.108	Mon Jan  9 20:08:26 2017
+++ src/share/man/man7/sysctl.7	Wed Jan 11 11:53:07 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.108 2017/01/09 20:08:26 hubertf Exp $
+.\"	$NetBSD: sysctl.7,v 1.109 2017/01/11 11:53:07 wiz Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -1070,8 +1070,8 @@ distributed on and moved between CPUs.
 .It kern.sched.kpreempt_pri	   integer	 yes
 .It kern.sched.upreempt_pri	   integer	 yes
 .It kern.sched.maxts	   integer	 yes
-.It kern.sched.mints	   integer	 yes 
-.It kern.sched.name	   string	 no 
+.It kern.sched.mints	   integer	 yes
+.It kern.sched.name	   string	 no
 .It kern.sched.rtts	   integer	 no
 .It kern.sched.pri_min	   integer	 no
 .It kern.sched.pri_max	   integer	 no
@@ -1081,34 +1081,34 @@ The variables are as follows:
 .Bl -tag -width "123456"
 .It Li kern.sched.cacheht_time ( dynamic )
 Cache hotness time in which a LWP is kept on one particular CPU
-and not moved to another CPU. This reduces the overhead of flushing
-and reloading caches.  
+and not moved to another CPU.
+This reduces the overhead of flushing and reloading caches.
 Defaults to 3ms.
-Needs to be given in 
+Needs to be given in
 .Dq hz
 units, see
 .Xr mstohz 9 .
 .It Li kern.sched.balance_period ( dynamic )
 Interval at which the CPU queues are checked for re-balancing.
 Defaults to 300ms.
-Needs to be given in 
+Needs to be given in
 .Dq hz
 units, see
 .Xr mstohz 9 .
 .It Li kern.sched.average_weight ( dynamic )
 Can be used to influence how likely LWPs are to be migrated from
-one CPU's queue of LWPs that are ready to run to a different, idle CPU. 
+one CPU's queue of LWPs that are ready to run to a different, idle CPU.
 The value gives the percentage for weighting the average count of
 migratable threads from the past against the current number of
-migratable threads. 
-A small value gives more weight to the past, a larger values more weight 
+migratable threads.
+A small value gives more weight to the past, a larger values more weight
 on the current situation.
-Defaults to 50 and must be between 0 and 100. 
+Defaults to 50 and must be between 0 and 100.
 .It Li kern.sched.min_catch ( dynamic )
 Minimum count of migratable (runable) threads for catching (stealing)
 from another CPU.
 Defaults to 1 but can be increased to decrease chance of thread
-migration between CPUs. 
+migration between CPUs.
 .It Li kern.sched.timesoftints ( dynamic )
 Enable tracking of CPU time for soft interrupts
 as part of a LWP's real execution time.
@@ -1125,7 +1125,7 @@ Scheduler specific maximal time quantum 
 Must be set to a value larger than
 .Dq mints
 and between 10 and
-.Dq hz 
+.Dq hz
 as given by the
 .Dv kern.clockrate
 sysctl.
@@ -1135,13 +1135,13 @@ Scheduler specific minimal time quantum 
 Must be set to a value smaller than
 .Dq maxts
 and between 1 and
-.Dq hz 
+.Dq hz
 as given by the
 .Dq kern.clockrate
 sysctl.
 Provided by the M2 scheduler.
 .It Li kern.sched.name ( dynamic )
-Scheduler name. 
+Scheduler name.
 Provided both by the M2 and the 4BSD scheduler.
 .It Li kern.sched.rtts ( dynamic )
 Fixed scheduler specific round-robin time quantum in milliseconds.



CVS commit: src/share/man/man7

2017-01-09 Thread Hubert Feyrer
Module Name:src
Committed By:   hubertf
Date:   Mon Jan  9 20:08:26 UTC 2017

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Document kern.sched sysctl variables.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.107 src/share/man/man7/sysctl.7:1.108
--- src/share/man/man7/sysctl.7:1.107	Sun Jan  8 14:28:42 2017
+++ src/share/man/man7/sysctl.7	Mon Jan  9 20:08:26 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.107 2017/01/08 14:28:42 wiz Exp $
+.\"	$NetBSD: sysctl.7,v 1.108 2017/01/09 20:08:26 hubertf Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -355,7 +355,7 @@ privilege may change the value.
 .It kern.rtc_offset	integer	yes
 .It kern.saved_ids	integer	no
 .It kern.sbmax	integer	yes
-.\".It kern.sched	node	not applicable
+.It kern.sched	node	not applicable
 .It kern.securelevel	integer	raise only
 .It kern.somaxkva	integer	yes
 .It kern.synchronized_io	integer	no
@@ -1057,8 +1057,104 @@ Maximum socket buffer size.
 .It Li kern.securelevel ( Dv KERN_SECURELVL )
 See
 .Xr secmodel_securelevel 9 .
-.\" .It Li kern.sched
-.\" XXX: Undocumented.
+.It Li kern.sched ( dynamic )
+Influence the scheduling of LWPs, their priorisation and how they are
+distributed on and moved between CPUs.
+.Bl -column "kern.sched.balance_period" "integer" "Changeable" -offset indent
+.It Sy Third level name	   Sy Type	 Sy Changeable
+.It kern.sched.cacheht_time	   integer	 yes
+.It kern.sched.balance_period	   integer	 yes
+.It kern.sched.average_weight	   integer	 yes
+.It kern.sched.min_catch	   integer	 yes
+.It kern.sched.timesoftints	   integer	 yes
+.It kern.sched.kpreempt_pri	   integer	 yes
+.It kern.sched.upreempt_pri	   integer	 yes
+.It kern.sched.maxts	   integer	 yes
+.It kern.sched.mints	   integer	 yes 
+.It kern.sched.name	   string	 no 
+.It kern.sched.rtts	   integer	 no
+.It kern.sched.pri_min	   integer	 no
+.It kern.sched.pri_max	   integer	 no
+.El
+.Pp
+The variables are as follows:
+.Bl -tag -width "123456"
+.It Li kern.sched.cacheht_time ( dynamic )
+Cache hotness time in which a LWP is kept on one particular CPU
+and not moved to another CPU. This reduces the overhead of flushing
+and reloading caches.  
+Defaults to 3ms.
+Needs to be given in 
+.Dq hz
+units, see
+.Xr mstohz 9 .
+.It Li kern.sched.balance_period ( dynamic )
+Interval at which the CPU queues are checked for re-balancing.
+Defaults to 300ms.
+Needs to be given in 
+.Dq hz
+units, see
+.Xr mstohz 9 .
+.It Li kern.sched.average_weight ( dynamic )
+Can be used to influence how likely LWPs are to be migrated from
+one CPU's queue of LWPs that are ready to run to a different, idle CPU. 
+The value gives the percentage for weighting the average count of
+migratable threads from the past against the current number of
+migratable threads. 
+A small value gives more weight to the past, a larger values more weight 
+on the current situation.
+Defaults to 50 and must be between 0 and 100. 
+.It Li kern.sched.min_catch ( dynamic )
+Minimum count of migratable (runable) threads for catching (stealing)
+from another CPU.
+Defaults to 1 but can be increased to decrease chance of thread
+migration between CPUs. 
+.It Li kern.sched.timesoftints ( dynamic )
+Enable tracking of CPU time for soft interrupts
+as part of a LWP's real execution time.
+Set to a non-zero value to enable,
+and see
+.Xr ps 1
+for printing CPU times.
+.It Li kern.sched.kpreempt_pri ( dynamic )
+Minimum priority to trigger kernel preemption.
+.It Li kern.sched.upreempt_pri ( dynamic )
+Minimum priority to trigger user preemption.
+.It Li kern.sched.maxts ( dynamic )
+Scheduler specific maximal time quantum (in milliseconds).
+Must be set to a value larger than
+.Dq mints
+and between 10 and
+.Dq hz 
+as given by the
+.Dv kern.clockrate
+sysctl.
+Provided by the M2 scheduler.
+.It Li kern.sched.mints ( dynamic )
+Scheduler specific minimal time quantum (in milliseconds).
+Must be set to a value smaller than
+.Dq maxts
+and between 1 and
+.Dq hz 
+as given by the
+.Dq kern.clockrate
+sysctl.
+Provided by the M2 scheduler.
+.It Li kern.sched.name ( dynamic )
+Scheduler name. 
+Provided both by the M2 and the 4BSD scheduler.
+.It Li kern.sched.rtts ( dynamic )
+Fixed scheduler specific round-robin time quantum in milliseconds.
+Provided both by the M2 and the 4BSD scheduler.
+.It Li kern.sched.pri_min ( dynamic )
+Minimal POSIX real-time priority.
+See
+.Xr sched 3 .
+.It Li kern.sched.pri_max ( dynamic )
+Maximal POSIX real-time priority.
+See
+.Xr sched 3 .
+.El
 .It Li kern.somaxkva ( Dv KERN_SOMAXKVA )
 Maximum amount of kernel memory to be used for socket buffers.
 .\" XXX units?



CVS commit: src/share/man/man7

2017-01-08 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Jan  8 14:28:43 UTC 2017

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Fix display problem reported by kamil via abhinav.


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.106 src/share/man/man7/sysctl.7:1.107
--- src/share/man/man7/sysctl.7:1.106	Thu Jan  5 09:50:40 2017
+++ src/share/man/man7/sysctl.7	Sun Jan  8 14:28:42 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.106 2017/01/05 09:50:40 wiz Exp $
+.\"	$NetBSD: sysctl.7,v 1.107 2017/01/08 14:28:42 wiz Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -188,7 +188,7 @@ level is detailed below.
 The changeable column shows whether a process with appropriate
 privilege may change the value.
 .Bl -column "hw.machine_arch" "integer" "Changeable" -offset indent
-.It Sy Second level name	Sy Type	Sy Changeable
+.It Sy Second level name Ta Sy Type Ta Sy Changeable
 .It hw.alignbytes	integer	no
 .It hw.byteorder	integer	no
 .It hw.cnmagic	string	yes
@@ -272,7 +272,7 @@ The changeable column shows whether a pr
 privilege may change the value.
 .Bl -column "kern.posix_reader_writer_locks" \
 "struct kinfo_drivers" "not applicable"
-.It Sy Second level name	Sy Type	Sy Changeable
+.It Sy Second level name Ta Sy Type Ta Sy Changeable
 .It kern.aio_listio_max	integer	yes
 .It kern.aio_max	integer	yes
 .It kern.arandom	integer	no
@@ -434,7 +434,7 @@ The third level name is
 .Dv kern.coredump.setid
 and fourth level variables are described below.
 .Bl -column "kern.coredump.setid.group" "integer" "Changeable" -offset indent
-.It Sy Fourth level name	Sy Type	Sy Changeable
+.It Sy Fourth level name Ta Sy Type Ta Sy Changeable
 .It kern.coredump.setid.dump	integer	yes
 .It kern.coredump.setid.group	integer	yes
 .It kern.coredump.setid.mode	integer	yes
@@ -595,7 +595,7 @@ and
 Return information about the SysV IPC parameters.
 The third level names for the ipc variables are detailed below.
 .Bl -column "kern.ipc.shm_use_phys" "integer" "Changeable" -offset indent
-.It Sy Third level name	Sy Type	Sy Changeable
+.It Sy Third level name Ta Sy Type Ta Sy Changeable
 .It kern.ipc.sysvmsg	integer	no
 .It kern.ipc.sysvsem	integer	no
 .It kern.ipc.sysvshm	integer	no
@@ -628,7 +628,7 @@ otherwise\ 0.
 Return System V style IPC configuration and run-time information.
 The fourth level name selects the System V style IPC facility.
 .Bl -column "KERN_SYSVIPC_MSG_INFO" "struct shm_sysctl_info" -offset indent
-.It Sy Fourth level name	Sy Type
+.It Sy Fourth level name Ta Sy Type
 .It KERN_SYSVIPC_MSG_INFO	struct msg_sysctl_info
 .It KERN_SYSVIPC_SEM_INFO	struct sem_sysctl_info
 .It KERN_SYSVIPC_SHM_INFO	struct shm_sysctl_info
@@ -729,7 +729,7 @@ The third level names for the mbuf varia
 The changeable column shows whether a process with appropriate
 privilege may change the value.
 .Bl -column "kern.mbuf.nmbclusters" "integer" "Changeable" -offset indent
-.It Sy Third level name	Sy Type	Sy Changeable
+.It Sy Third level name Ta Sy Type Ta Sy Changeable
 .\" XXX Changeable? really?
 .It kern.mbuf.mblowat	integer	yes
 .It kern.mbuf.mclbytes	integer	yes
@@ -784,7 +784,7 @@ See
 Settings related to kernel modules.
 The third level names for the settings are described below.
 .Bl -column "kern.module.autoload" "integer" "Changeable" -offset indent
-.It Sy Third level name	Sy Type	Sy Changeable
+.It Sy Third level name Ta Sy Type Ta Sy Changeable
 .It kern.module.autoload	integer	yes
 .It kern.module.autotime	integer	yes
 .It kern.module.verbose	integer	yes
@@ -819,7 +819,7 @@ This node is created dynamically when
 the corresponding kernel module is loaded.
 The third level names for the settings are described below.
 .Bl -column "kern.mqueue.mq_max_msgsize" "integer" "Changeable" -offset indent
-.It Sy Third level name	Sy Type	Sy Changeable
+.It Sy Third level name Ta Sy Type Ta Sy Changeable
 .It kern.mqueue.mq_open_max	integer	yes
 .It kern.mqueue.mq_prio_max	integer	yes
 .It kern.mqueue.mq_max_msgsize	integer	yes
@@ -871,7 +871,7 @@ The third level names for the  integer p
 The changeable column shows whether a process with appropriate
 privilege may change the value.
 .Bl -column "kern.pipe.maxbigpipes" "integer" "Changeable" -offset indent
-.It Sy Third level name	Sy Type	Sy Changeable
+.It Sy Third level name Ta Sy Type Ta Sy Changeable
 .It kern.pipe.kvasiz	integer	yes
 .It kern.pipe.maxbigpipes	integer	yes
 .It kern.pipe.maxkvasz	integer	yes
@@ -964,7 +964,7 @@ structures is returned,
 whose size depends on the current number of such objects in the system.
 The third and fourth level numeric names are as follows:
 .Bl -column "KERN_PROC_SESSION" "Fourth level is:" -offset indent
-.It Sy Third level 

CVS commit: src/share/man/man7

2017-01-05 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Jan  5 09:50:40 UTC 2017

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Use Fl for flags.


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.105 src/share/man/man7/sysctl.7:1.106
--- src/share/man/man7/sysctl.7:1.105	Sun Jan  1 23:59:19 2017
+++ src/share/man/man7/sysctl.7	Thu Jan  5 09:50:40 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.105 2017/01/01 23:59:19 pgoyette Exp $
+.\"	$NetBSD: sysctl.7,v 1.106 2017/01/05 09:50:40 wiz Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -563,11 +563,13 @@ The values of the history tables are in 
 decoded by the
 .Xr vmstat 1
 utility's
-.Dv -U
+.Fl U
 and
-.Dv u
+.Fl u
 options;
-the -l option can be used to see which tables are available.
+the
+.Fl l
+option can be used to see which tables are available.
 .It Li kern.hostid ( Dv KERN_HOSTID )
 Get or set the host identifier.
 This is aimed to replace the legacy



CVS commit: src/share/man/man7

2017-01-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Jan  1 23:59:19 UTC 2017

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Document kern.hist


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.104 src/share/man/man7/sysctl.7:1.105
--- src/share/man/man7/sysctl.7:1.104	Thu Nov 17 01:22:00 2016
+++ src/share/man/man7/sysctl.7	Sun Jan  1 23:59:19 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.104 2016/11/17 01:22:00 pgoyette Exp $
+.\"	$NetBSD: sysctl.7,v 1.105 2017/01/01 23:59:19 pgoyette Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -547,6 +547,27 @@ otherwise\ 0.
 Returns the number of
 .Xr hardclock 9
 ticks.
+.It Li kern.hist
+This variable contains kernel history data if the kernel was
+configured for any of the options
+.Dv UVHMIST ,
+.Dv USB_DEBUG ,
+.Dv BIOHIST ,
+or
+.Dv SCDEBUG .
+(See
+.Xr options 4
+for more details.)
+The third-level names correspond to each available history table.
+The values of the history tables are in an internal format, and can be
+decoded by the
+.Xr vmstat 1
+utility's
+.Dv -U
+and
+.Dv u
+options;
+the -l option can be used to see which tables are available.
 .It Li kern.hostid ( Dv KERN_HOSTID )
 Get or set the host identifier.
 This is aimed to replace the legacy



CVS commit: src/share/man/man7

2016-11-16 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Nov 17 01:22:00 UTC 2016

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Document the previously-undocument kern.bufq node.


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.103 src/share/man/man7/sysctl.7:1.104
--- src/share/man/man7/sysctl.7:1.103	Wed Oct 12 08:52:49 2016
+++ src/share/man/man7/sysctl.7	Thu Nov 17 01:22:00 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.103 2016/10/12 08:52:49 roy Exp $
+.\"	$NetBSD: sysctl.7,v 1.104 2016/11/17 01:22:00 pgoyette Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd October 12, 2016
+.Dd November 17, 2016
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -399,11 +399,16 @@ A
 .Vt struct timeval
 structure is returned.
 This structure contains the time that the system was booted.
+.It Li kern.bufq
+This variable contains information on the
+.Xr bufq 9
+subsystem.
+Currently, the only third level name implemented is
+.Dv kern.bufq.strategies
+which provides a list of buffer queue strategies currently available.
 .It Li kern.buildinfo
 When the kernel is built, the build environment may optionally provide
 arbitrary information to be stored in this variable.
-.\" .It Li kern.bufq
-.\" XXX: Undocumented.
 .It Li kern.ccpu ( Dv KERN_CCPU )
 The scheduler exponential decay value.
 .It Li kern.clockrate ( Dv KERN_CLOCKRATE )



CVS commit: src/share/man/man7

2016-10-12 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Wed Oct 12 08:52:49 UTC 2016

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Document net.inet.ip.dad_count.


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.102 src/share/man/man7/sysctl.7:1.103
--- src/share/man/man7/sysctl.7:1.102	Tue May 31 05:44:19 2016
+++ src/share/man/man7/sysctl.7	Wed Oct 12 08:52:49 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.102 2016/05/31 05:44:19 pgoyette Exp $
+.\"	$NetBSD: sysctl.7,v 1.103 2016/10/12 08:52:49 roy Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd May 31, 2016
+.Dd October 12, 2016
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -1258,6 +1258,7 @@ The currently defined protocols and name
 .It ip	anonportmax	integer	yes
 .It ip	anonportmin	integer	yes
 .It ip	checkinterface	integer	yes
+.It ip	dad_count	integer	yes
 .It ip	directed-broadcast	integer	yes
 .It ip	do_loopback_cksum	integer	yes
 .It ip	forwarding	integer	yes
@@ -1375,6 +1376,11 @@ Currently, this must be disabled if ipna
 destination address to another local interface, or if addresses
 are added to the loopback interface instead of the interface where
 the packets for those packets are received.
+.It Li ip.dad_count
+The number of
+.Xr arp 4
+probes sent for Address Conflict Detection.
+Set to 0 to disable this.
 .It Li ip.directed-broadcast
 If set to 1, enables directed broadcast behavior for the host.
 .It Li ip.do_loopback_cksum



CVS commit: src/share/man/man7

2016-08-16 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Aug 16 07:52:05 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
File system police.


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.120 src/share/man/man7/hier.7:1.121
--- src/share/man/man7/hier.7:1.120	Tue Aug 16 02:29:43 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 07:52:05 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.120 2016/08/16 02:29:43 dholland Exp $
+.\"	$NetBSD: hier.7,v 1.121 2016/08/16 07:52:05 wiz Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -34,9 +34,9 @@
 .Os
 .Sh NAME
 .Nm hier
-.Nd layout of filesystems
+.Nd layout of file systems
 .Sh DESCRIPTION
-An outline of the filesystem hierarchy.
+An outline of the file system hierarchy.
 .Pp
 Naming is very important.
 The
@@ -56,9 +56,9 @@ System copyright notice, most often put 
 .Tn CD-ROM
 distributions.
 .It Sy "/[a-z]/"
-User filesystems.
+User file systems.
 .It Sy /altroot/
-Alternate root filesystem, in case of disaster.
+Alternate root file system, in case of disaster.
 .\" .It Sy /amd/
 .\" Home directories mount point; see
 .\" .Xr amd 8 .
@@ -166,7 +166,7 @@ Dungeon master configuration; see
 Dump history; see
 .Xr dump 8 .
 .It Sy exports
-Filesystem export information; see
+File system export information; see
 .Xr mountd 8 .
 .It Sy fstab
 File system mounting table; see
@@ -498,7 +498,7 @@ Boot blocks, etc.
 .It Sy obj/
 Architecture-specific target tree produced by building the
 .Pa /usr/src
-tree; often a symbolic link or mounted filesystem.
+tree; often a symbolic link or mounted file system.
 .It Sy pkg/
 Installed third-party software packages.
 .Pp
@@ -947,23 +947,23 @@ and
 AmigaDOS file-system support; see
 .Xr mount_ados 8 .
 .It Sy cd9660/
-Support for the ISO-9660 filesystem; see
+Support for the ISO-9660 file system; see
 .Xr mount_cd9660 8 .
 .It Sy filecorefs/
-Support for the Acorn RISC OS filecore filesystem; see
+Support for the Acorn RISC OS filecore file system; see
 .Xr mount_filecore 8 .
 .It Sy msdosfs/
 .Tn MS-DOS
 file system; see
 .Xr mount_msdos 8 .
 .It Sy ntfs/
-NTFS filesystem support; see
+NTFS file system support; see
 .Xr mount_ntfs 8 .
 .It Sy ptyfs/
-Pseudo-terminal device filesystem; see
+Pseudo-terminal device file system; see
 .Xr mount_ptyfs 8 .
 .It Sy smbfs/
-SMB/CIFS filesystem support; see
+SMB/CIFS file system support; see
 .Xr mount_smbfs 8 .
 .It Sy union/
 Union file system; see
@@ -1194,7 +1194,7 @@ Temporary home of files preserved after 
 or
 .Xr vi 1 .
 .It Sy quotas/
-Filesystem quota information.
+File system quota information.
 (Legacy.)
 .It Sy run/
 System information files, rebuilt after each reboot.



CVS commit: src/share/man/man7

2016-08-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 16 02:29:44 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
More stuff spotted by jnemeth: fix wording for /var/mail, and document
utmpx/wtmpx. While here also document dmesg.boot.


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.119 src/share/man/man7/hier.7:1.120
--- src/share/man/man7/hier.7:1.119	Tue Aug 16 01:46:51 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 02:29:43 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.119 2016/08/16 01:46:51 dholland Exp $
+.\"	$NetBSD: hier.7,v 1.120 2016/08/16 02:29:43 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -1177,10 +1177,13 @@ script.
 Login and logout log;
 see
 .Xr utmp 5 .
+.It Sy wtmpx
+Another login and logout log; see
+.Xr utmpx 5 .
 .El
 .Pp
 .It Sy mail/
-User system mailboxes.
+User e-mail inboxes.
 .It Sy msgs/
 System messages; see
 .Xr msgs 1 .
@@ -1197,9 +1200,16 @@ Filesystem quota information.
 System information files, rebuilt after each reboot.
 .Pp
 .Bl -tag -width "utmp" -compact
+.It Sy dmesg.boot
+A dump from
+.Xr dmesg 8
+taken at boot time.
 .It Sy utmp
 Database of currently logged in users; see
 .Xr utmp 5 .
+.It Sy utmpx
+Another database of currently logged in users; see
+.Xr utmpx 5 .
 .El
 .Pp
 .It Sy rwho/



CVS commit: src/share/man/man7

2016-08-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 16 01:46:51 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
Document /etc/login.conf, /etc/profile, /etc/ttyaction.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.118 src/share/man/man7/hier.7:1.119
--- src/share/man/man7/hier.7:1.118	Tue Aug 16 01:41:18 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 01:46:51 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.118 2016/08/16 01:41:18 dholland Exp $
+.\"	$NetBSD: hier.7,v 1.119 2016/08/16 01:46:51 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -209,6 +209,9 @@ see
 Local time zone;
 see
 .Xr ctime 3 .
+.It Sy login.conf
+Configuration of user classes and limits; see
+.Xr login.conf 5 .
 .It Sy mail/
 Configuration files for
 .Xr sendmail 1 .
@@ -272,6 +275,9 @@ Printer configuration for
 .Xr lpr 1 ;
 see
 .Xr printcap 5 .
+.It Sy profile
+System-wide scripts for
+.Xr sh 1 .
 .It Sy protocols
 Protocol name database; see
 .Xr protocols 5 .
@@ -326,6 +332,11 @@ Database form of master.passwd file; see
 .Xr syslogd 8
 Configuration file; see
 .Xr syslog.conf 5 .
+.It Sy ttyaction
+Login hooks for specific ttys, typically used to chown console
+devices.
+See
+.Xr ttyaction 5 .
 .It Sy ttys
 Terminal initialization information; see
 .Xr ttys 5 .



CVS commit: src/share/man/man7

2016-08-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 16 01:41:18 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
More important fix: there is an /etc/skel but no /usr/share/skel.


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.117 src/share/man/man7/hier.7:1.118
--- src/share/man/man7/hier.7:1.117	Tue Aug 16 01:39:40 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 01:41:18 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.117 2016/08/16 01:39:40 dholland Exp $
+.\"	$NetBSD: hier.7,v 1.118 2016/08/16 01:41:18 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -313,6 +313,8 @@ Service name data base; see
 .It Sy shells
 List of permitted shells; see
 .Xr shells 5 .
+.It Sy skel/
+Sample initialization files for new user accounts.
 .It Sy sliphome/
 .Tn SLIP
 login/logout scripts; see
@@ -591,8 +593,6 @@ roff macro package.
 .It Sy nls/
 Message catalogs; see
 .Xr catgets 3 .
-.It Sy skel/
-Sample initialization files for new user accounts.
 .It Sy tmac/
 Text processing macros;
 see



CVS commit: src/share/man/man7

2016-08-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 16 01:39:40 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
More improvements from jnemeth


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.116 src/share/man/man7/hier.7:1.117
--- src/share/man/man7/hier.7:1.116	Tue Aug 16 00:47:19 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 01:39:40 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.116 2016/08/16 00:47:19 dholland Exp $
+.\"	$NetBSD: hier.7,v 1.117 2016/08/16 01:39:40 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -507,7 +507,7 @@ Package system utilities.
 .It Sy pkgsrc/
 Build descriptions (packaging) for the
 .Nx
-packages system.
+package system.
 .Pp
 .Bl -tag -width "distfilesX" -compact
 .It Sy distfiles/
@@ -539,7 +539,7 @@ and
 .It Sy words
 Common words.
 .It Sy web2
-Words of Webster's 2nd International.
+Words from Webster's Second International Dictionary.
 .It Sy papers/
 Reference databases;
 see
@@ -606,7 +606,7 @@ see
 .El
 .It Sy tests/
 Test programs; see
-.Xr atf-run 1
+.Xr tests 7
 for information on how to run them.
 .El
 .Pp
@@ -828,7 +828,8 @@ Digital MIPS-based DECstations and DECsy
 .It Sy powerpc/
 PowerPC processor general support.
 .It Sy prep/
-PReP (PowerPC Reference Platform) and CHRP machines
+PReP (PowerPC Reference Platform) and CHRP (Common Hardware Reference
+Platform) machines.
 .It Sy sandpoint/
 Motorola Sandpoint reference platform.
 .It Sy sbmips/
@@ -913,7 +914,7 @@ Support for
 .Tn ULTRIX
 binaries.
 .It Sy vax1k/
-Support for older VAX binaries that started on a 1 KB boundary
+Support for older VAX binaries that started on a 1 KB boundary.
 .El
 .Pp
 .It Sy conf/
@@ -1035,7 +1036,7 @@ Still more file systems.
 .Bl -tag -width "ffs/" -compact
 .It Sy chfs/
 A FFS-based file system for use on raw flash.
-.It Sy chfs/
+.It Sy ext2fs/
 The Linux ext2 file system.
 .It Sy ffs/
 The Berkeley Fast File System.
@@ -1139,6 +1140,9 @@ Printer daemon error logs; see
 .Xr lpd 8 .
 .It Sy maillog.*
 .Xr sendmail 1
+and
+.Xr postfix 1
+(and other mail-related)
 log files.
 .It Sy messages.*
 General system information log.



CVS commit: src/share/man/man7

2016-08-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 16 00:47:19 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
Another typo.


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.115 src/share/man/man7/hier.7:1.116
--- src/share/man/man7/hier.7:1.115	Tue Aug 16 00:40:09 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 00:47:19 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.115 2016/08/16 00:40:09 dholland Exp $
+.\"	$NetBSD: hier.7,v 1.116 2016/08/16 00:47:19 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -958,7 +958,7 @@ Union file system; see
 .Xr mount_union 8 .
 .El
 .It Sy gdbscripts/
-Support for accessing kernel structures from within the debugger.
+Support for accessing kernel structures from within the debugger
 .Xr gdb 1 .
 .It Sy ipkdb/
 Support for kernel debugging over the network.



CVS commit: src/share/man/man7

2016-08-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 16 00:40:09 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
another typo; spotted by jnemeth


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.114 src/share/man/man7/hier.7:1.115
--- src/share/man/man7/hier.7:1.114	Tue Aug 16 00:12:34 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 00:40:09 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.114 2016/08/16 00:12:34 dholland Exp $
+.\"	$NetBSD: hier.7,v 1.115 2016/08/16 00:40:09 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -429,8 +429,8 @@ Standard C (and extension) include files
 .It Sy arpa/
 Include files for Internet service protocols.
 .It Sy atf/
-Include files for the Automated Testing Framework; see.
-.Xr atf 7
+Include files for the Automated Testing Framework; see
+.Xr atf 7 .
 .It Sy g++/
 Include files for the GNU C++ compiler.
 .It Sy machine/



CVS commit: src/share/man/man7

2016-08-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 16 00:12:34 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
typo in previous.


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.113 src/share/man/man7/hier.7:1.114
--- src/share/man/man7/hier.7:1.113	Tue Aug 16 00:08:17 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 00:12:34 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.113 2016/08/16 00:08:17 dholland Exp $
+.\"	$NetBSD: hier.7,v 1.114 2016/08/16 00:12:34 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -383,7 +383,7 @@ super-user start-up file for
 .Xr csh 1 .
 .It Sy \&.profile
 super-user start-up file for
-.Xr sh 1.
+.Xr sh 1 .
 .It Sy \&.rhosts
 Super-user id mapping between machines.
 (Obsolete.)



CVS commit: src/share/man/man7

2016-08-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 16 00:08:17 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
Harmfully sentence fragments. Use sentences instead.

I've also made some additional minor edits, and added missing
/usr/src/sys/ufs/{chfs,ext2fs}.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.112 src/share/man/man7/hier.7:1.113
--- src/share/man/man7/hier.7:1.112	Mon Aug 15 21:42:05 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 00:08:17 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.112 2016/08/15 21:42:05 maya Exp $
+.\"	$NetBSD: hier.7,v 1.113 2016/08/16 00:08:17 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -50,596 +50,601 @@ Not all files will be in every system.
 .Pp
 .Bl -tag -width "/altroot/"
 .It Sy \&/
-root directory of the system
+Root directory of the system.
 .It Sy /COPYRIGHT
-system copyright notice, most often put on
+System copyright notice, most often put on
 .Tn CD-ROM
 distributions.
 .It Sy "/[a-z]/"
-user filesystems
+User filesystems.
 .It Sy /altroot/
-alternate root filesystem, in case of disaster
+Alternate root filesystem, in case of disaster.
 .\" .It Sy /amd/
-.\" home directories mount point; see
-.\" .Xr amd 8
+.\" Home directories mount point; see
+.\" .Xr amd 8 .
 .It Sy /bin/
-utilities used in both single and multi-user environments
+Utilities used in both single and multi-user environments.
 .It Sy /boot*
-second-stage boot loader(s) for some platforms; see
-.Xr installboot 8
+Second-stage boot loader(s) for some platforms; see
+.Xr installboot 8 .
 .It Sy /cdrom/
-empty directory commonly used by
-system administrators as a temporary mount point for CD devices
-for ISO-9660 file systems
+Empty directory commonly used by
+system administrators as a temporary mount point for ISO-9660 file
+systems on CD (or DVD) media.
 .It Sy /dev/
-block, character and other special device files
+Block, character, and other special device files.
 .Pp
 .Bl -tag -width "MAKEDEV" -compact
 .It Sy MAKEDEV
-script for creating device files;
+Script for creating device files;
 see
-.Xr makedev 8
+.Xr makedev 8 .
 .It Sy console
-the computer's console device
+The computer's console device.
 .It Sy drum
-system swap space; see
-.Xr drum 4
+The computer's swap space device; see
+.Xr drum 4 .
 .It Sy fd/
-file descriptor files;
+File descriptor files;
 see
-.Xr fd 4
+.Xr fd 4 .
 .It Sy klog
-kernel logging device; see
-.Xr syslog 3
+Kernel logging device; see
+.Xr syslog 3 .
 .It Sy kmem
-kernel virtual memory device; see
-.Xr mem 4
+Kernel virtual memory device; see
+.Xr mem 4 .
 .It Sy log
 .Ux
 domain datagram log socket; see
-.Xr syslogd 8
+.Xr syslogd 8 .
 .It Sy mem
-kernel physical memory device; see
-.Xr mem 4
+Kernel physical memory device; see
+.Xr mem 4 .
 .It Sy null
-the null device; see
-.Xr null 4
+The null device; see
+.Xr null 4 .
 .It Sy pts/
-mount point for the pseudo-terminal device file system; see
-.Xr mount_ptyfs 8
+Mount point for the pseudo-terminal device file system; see
+.Xr mount_ptyfs 8 .
 .It Sy stderr
 .It Sy stdin
 .It Sy stdout
-file descriptor files;
+File descriptor files;
 see
-.Xr fd 4
+.Xr fd 4 .
 .It Sy tty
-process' controlling terminal device; see
-.Xr tty 4
+Device pointing to each process's own controlling terminal; see
+.Xr tty 4 .
 .It Sy zero
-the zero device; see
-.Xr zero 4
+The zero device; see
+.Xr zero 4 .
 .El
 .\" .It Sy /dump/
-.\" online
+.\" Online
 .\" .Xr dump 8
-.\" repository
+.\" repository.
 .It Sy /etc/
-system configuration files and scripts
+System configuration files and scripts.
 .Pp
 .Bl -tag -width "master.passwd" -compact
 .It Sy amd*
-configuration files for
-.Xr amd 8
+Configuration files for
+.Xr amd 8 .
 .It Sy changelist
-files backed up by the security script
+Files backed up by the
+.Sy security
+script.
 .It Sy crontab
-schedule used by the
+Schedule used by the
 .Xr cron 8
-daemon
+daemon.
 .It Sy csh.cshrc
 .It Sy csh.login
 .It Sy csh.logout
-system-wide scripts for
-.Xr csh 1
+System-wide scripts for
+.Xr csh 1 .
 .It Sy daily
-script run each day by
-.Xr cron 8
+Script run each day by
+.Xr cron 8 .
 .It Sy daily.conf
-configuration file for
+Configuration file for
 .Sy daily ;
 see
-.Xr daily.conf 5
+.Xr daily.conf 5 .
 .It Sy defaults/
-default configuration files read by various
+Default configuration files read by various
 .Pa /etc/*.conf
-files
+files.
 .It Sy disktab
-disk description file, see
-.Xr disktab 5
+Disk description file; see
+.Xr disktab 5 .
 .It Sy dm.conf
-dungeon master configuration; see
-.Xr dm.conf 5
+Dungeon master configuration; see
+.Xr dm.conf 5 .
 .It Sy dumpdates
-dump history; see
-.Xr dump 8
+Dump 

CVS commit: src/share/man/man7

2016-08-15 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Aug 15 21:42:05 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
We don't use mfs for /tmp by default, so the man page shouldn't
suggest this is the typical case.

Because there's so little content in this entry, eliminate the
parentheses around the explanation that /tmp is usually not preserved
across reboots.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/share/man/man7/hier.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/hier.7
diff -u src/share/man/man7/hier.7:1.111 src/share/man/man7/hier.7:1.112
--- src/share/man/man7/hier.7:1.111	Fri Mar 11 15:18:01 2016
+++ src/share/man/man7/hier.7	Mon Aug 15 21:42:05 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.111 2016/03/11 15:18:01 wiz Exp $
+.\"	$NetBSD: hier.7,v 1.112 2016/08/15 21:42:05 maya 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 March 11, 2016
+.Dd August 15, 2016
 .Dt HIER 7
 .Os
 .Sh NAME
@@ -388,13 +388,11 @@ used in both single-user and multi-user 
 .It Sy /stand/
 programs used in a standalone environment
 .It Sy /tmp/
-temporary files, usually a
-.Xr mfs 8
-memory-based filesystem (the contents of
+temporary files. the contents of
 .Pa /tmp
 are usually
 .Em not
-preserved across a system reboot)
+preserved across a system reboot
 .It Sy /usr/
 contains the majority of the system utilities and files
 .Pp



CVS commit: src/share/man/man7

2016-07-12 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Jul 12 12:39:04 UTC 2016

Modified Files:
src/share/man/man7: signal.7

Log Message:
Whitespace fixes, xref fixes, a bit more markup.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/share/man/man7/signal.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/signal.7
diff -u src/share/man/man7/signal.7:1.19 src/share/man/man7/signal.7:1.20
--- src/share/man/man7/signal.7:1.19	Sat Jul  9 23:13:47 2016
+++ src/share/man/man7/signal.7	Tue Jul 12 12:39:04 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: signal.7,v 1.19 2016/07/09 23:13:47 dholland Exp $
+.\"	$NetBSD: signal.7,v 1.20 2016/07/12 12:39:04 wiz Exp $
 .\"
 .\" Copyright (c) 1999, 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -62,7 +62,7 @@ If the process has elected to
 the signal temporarily, delivery is postponed until the process
 later unblocks that signal.
 Otherwise, the signal is
-.Em delivered,
+.Em delivered ,
 meaning that whatever the process is doing is interrupted in order to
 react to the signal.
 (Note that processes that are waiting in the kernel must unwind what
@@ -344,7 +344,7 @@ This signal is generated when an ``urgen
 socket.
 In practice this means when
 .Xr tcp 4
-out-of-band data has arrived. 
+out-of-band data has arrived.
 The default action is to do nothing.
 The number for
 .Dv SIGURG
@@ -392,7 +392,7 @@ is 19.
 .It Dv SIGCHLD Ta (Child exited)
 This signal is generated by the kernel when one of a process's
 immediate children exits and can be waited for using one of the
-.Xr wait 3
+.Xr wait 2
 family of functions.
 The default action is to do nothing.
 As a special case hack, if
@@ -432,7 +432,7 @@ when a process that is not in the foregr
 terminal attempts to write to this terminal, if the terminal is
 configured accordingly, which is not the default.
 (See
-.Xr termios 4 .)
+.Xr termios 4 . )
 The default action is to stop the process.
 The number for
 .Dv SIGTTOU
@@ -457,9 +457,9 @@ exceeds the configured limit.
 See
 .Xr setrlimit 2
 and the
-ulimit
+.Ic ulimit
 and
-rlimit
+.Ic rlimit
 builtins of
 .Xr sh 1
 and
@@ -476,9 +476,9 @@ file to exceed the configured limit.
 See
 .Xr setrlimit 2
 and the
-ulimit
+.Ic ulimit
 and
-rlimit
+.Ic rlimit
 builtins of
 .Xr sh 1
 and
@@ -574,9 +574,9 @@ This utility is built into many shells t
 jobs.
 .Ss Program Interface
 In C code signals may be sent using
-.Xr raise 3,
-.Xr kill 2,
-.Xr pthread_kill 2,
+.Xr raise 3 ,
+.Xr kill 2 ,
+.Xr pthread_kill 3 ,
 and some other related functions.
 .Pp
 Signals may be caught or ignored using
@@ -584,7 +584,7 @@ Signals may be caught or ignored using
 or the simpler
 .Xr signal 3 ,
 and blocked using
-.Xr sigprocmask .
+.Xr sigprocmask 2 .
 .Sh STANDARDS
 The
 .Dv SIGTRAP ,



  1   2   3   >