diff options
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/bind.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/chroot.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/clock_gettime.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/execve.2 | 10 | ||||
-rw-r--r-- | lib/libc/sys/getsockname.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/getsockopt.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/gettimeofday.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/kqueue.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/mmap.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/mquery.2 | 12 | ||||
-rw-r--r-- | lib/libc/sys/nanosleep.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/open.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/ptrace.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/sigaction.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/sigaltstack.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/socket.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/sync.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/sysctl.2 | 12 | ||||
-rw-r--r-- | lib/libc/sys/write.2 | 6 |
19 files changed, 66 insertions, 66 deletions
diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2 index c3bab1ec7dd..a6b5635fab4 100644 --- a/lib/libc/sys/bind.2 +++ b/lib/libc/sys/bind.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bind.2,v 1.22 2021/01/03 18:10:27 rob Exp $ +.\" $OpenBSD: bind.2,v 1.23 2022/03/31 17:27:16 naddy Exp $ .\" $NetBSD: bind.2,v 1.8 1995/10/12 15:40:46 jtc Exp $ .\" .\" Copyright (c) 1983, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)bind.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: January 3 2021 $ +.Dd $Mdocdate: March 31 2022 $ .Dt BIND 2 .Os .Sh NAME @@ -44,7 +44,7 @@ .Fn bind assigns a name to an unnamed socket. When a socket is created with -.Xr socket 2 +.Xr socket 2 , it exists in a name space (address family) but has no name assigned. .Fn bind requests that diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2 index 53ad392601f..d9378c8543c 100644 --- a/lib/libc/sys/chroot.2 +++ b/lib/libc/sys/chroot.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chroot.2,v 1.23 2021/01/03 18:10:27 rob Exp $ +.\" $OpenBSD: chroot.2,v 1.24 2022/03/31 17:27:16 naddy Exp $ .\" $NetBSD: chroot.2,v 1.7 1995/02/27 12:32:12 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)chroot.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: January 3 2021 $ +.Dd $Mdocdate: March 31 2022 $ .Dt CHROOT 2 .Os .Sh NAME @@ -50,7 +50,7 @@ to become the root directory, that is, the starting point for path searches of pathnames beginning with .Ql / . .Pp -In order for a directory to become the root directory +In order for a directory to become the root directory, a process must have execute (search) access for that directory. .Pp If the program is not currently running with an altered root directory, diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2 index 796bfd0512d..0ba8a68581d 100644 --- a/lib/libc/sys/clock_gettime.2 +++ b/lib/libc/sys/clock_gettime.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: clock_gettime.2,v 1.31 2020/10/25 00:54:51 cheloha Exp $ +.\" $OpenBSD: clock_gettime.2,v 1.32 2022/03/31 17:27:16 naddy Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: October 25 2020 $ +.Dd $Mdocdate: March 31 2022 $ .Dt CLOCK_GETTIME 2 .Os .Sh NAME @@ -105,7 +105,7 @@ Only the clock may be set and only the superuser may set it. If the system .Xr securelevel 7 -is 2 or greater the time may only be advanced. +is 2 or greater, the time may only be advanced. This limitation is imposed to prevent a malicious superuser from setting arbitrary timestamps on files. .Pp diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index f4e57c3afc5..0aaa5c7691c 100644 --- a/lib/libc/sys/execve.2 +++ b/lib/libc/sys/execve.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: execve.2,v 1.55 2021/06/30 18:46:49 schwarze Exp $ +.\" $OpenBSD: execve.2,v 1.56 2022/03/31 17:27:16 naddy Exp $ .\" $NetBSD: execve.2,v 1.9 1995/02/27 12:32:25 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)execve.2 8.3 (Berkeley) 1/24/94 .\" -.Dd $Mdocdate: June 30 2021 $ +.Dd $Mdocdate: March 31 2022 $ .Dt EXECVE 2 .Os .Sh NAME @@ -65,7 +65,7 @@ An interpreter file begins with a line of the form: .Ed .Pp When an interpreter file is passed to -.Fn execve +.Fn execve , the system instead calls .Fn execve with the specified @@ -225,11 +225,11 @@ to the arguments themselves. As the .Fn execve function overlays the current process image -with a new process image the successful call +with a new process image, the successful call has no process to return to. If .Fn execve -does return to the calling process an error has occurred; the +does return to the calling process, an error has occurred; the return value will be \-1 and the global variable .Va errno is set to indicate the error. diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2 index 21b24ed2a0c..67b9aa48e85 100644 --- a/lib/libc/sys/getsockname.2 +++ b/lib/libc/sys/getsockname.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getsockname.2,v 1.30 2015/09/10 17:55:21 schwarze Exp $ +.\" $OpenBSD: getsockname.2,v 1.31 2022/03/31 17:27:16 naddy Exp $ .\" $NetBSD: getsockname.2,v 1.6 1995/10/12 15:41:00 jtc Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)getsockname.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: September 10 2015 $ +.Dd $Mdocdate: March 31 2022 $ .Dt GETSOCKNAME 2 .Os .Sh NAME @@ -50,7 +50,7 @@ Common uses of this function are as follows: When .Xr bind 2 is called with a port number of 0 (indicating the kernel should pick -an ephemeral port) +an ephemeral port), .Fn getsockname is used to retrieve the kernel-assigned port number. .It diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index 07369b1aa1c..8ed6136dbff 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getsockopt.2,v 1.58 2021/10/08 14:12:58 jmc Exp $ +.\" $OpenBSD: getsockopt.2,v 1.59 2022/03/31 17:27:16 naddy Exp $ .\" $NetBSD: getsockopt.2,v 1.7 1995/02/27 12:33:29 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)getsockopt.2 8.3 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: October 8 2021 $ +.Dd $Mdocdate: March 31 2022 $ .Dt GETSOCKOPT 2 .Os .Sh NAME @@ -55,7 +55,7 @@ they are always present at the uppermost .Dq socket level. .Pp -When manipulating socket options the level at which the +When manipulating socket options, the level at which the option resides and the name of the option must be specified. To manipulate options at the socket level, .Fa level diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2 index 33e6d27547d..24a4ca49920 100644 --- a/lib/libc/sys/gettimeofday.2 +++ b/lib/libc/sys/gettimeofday.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gettimeofday.2,v 1.32 2021/12/06 02:48:55 cheloha Exp $ +.\" $OpenBSD: gettimeofday.2,v 1.33 2022/03/31 17:27:16 naddy Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)gettimeofday.2 8.2 (Berkeley) 5/26/95 .\" -.Dd $Mdocdate: December 6 2021 $ +.Dd $Mdocdate: March 31 2022 $ .Dt GETTIMEOFDAY 2 .Os .Sh NAME @@ -81,7 +81,7 @@ is Only the superuser may set the clock. If the system .Xr securelevel 7 -is 2 or greater the clock may only be advanced. +is 2 or greater, the clock may only be advanced. This limitation prevents a malicious superuser from setting arbitrary timestamps on files. Setting the clock cancels any ongoing diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index 7d69a2d420f..f358d13afed 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kqueue.2,v 1.45 2021/11/21 23:44:55 jan Exp $ +.\" $OpenBSD: kqueue.2,v 1.46 2022/03/31 17:27:16 naddy Exp $ .\" .\" Copyright (c) 2000 Jonathan Lemon .\" All rights reserved. @@ -26,7 +26,7 @@ .\" .\" $FreeBSD: src/lib/libc/sys/kqueue.2,v 1.18 2001/02/14 08:48:35 guido Exp $ .\" -.Dd $Mdocdate: November 21 2021 $ +.Dd $Mdocdate: March 31 2022 $ .Dt KQUEUE 2 .Os .Sh NAME @@ -206,7 +206,7 @@ Causes to return with .Dv EV_ERROR set without draining any pending events after updating events in the kqueue. -When a filter is successfully added the +When a filter is successfully added, the .Fa data field will be zero. This flag is useful for making bulk changes to a kqueue. diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index 69b05e7e185..2fb45c15316 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mmap.2,v 1.67 2021/06/30 18:46:49 schwarze Exp $ +.\" $OpenBSD: mmap.2,v 1.68 2022/03/31 17:27:16 naddy Exp $ .\" $NetBSD: mmap.2,v 1.5 1995/06/24 10:48:59 cgd Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)mmap.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: June 30 2021 $ +.Dd $Mdocdate: March 31 2022 $ .Dt MMAP 2 .Os .Sh NAME @@ -66,7 +66,7 @@ failing that it will be placed "close by". If .Fa addr is -.Dv NULL +.Dv NULL , the system can pick any address. Except for .Dv MAP_FIXED diff --git a/lib/libc/sys/mquery.2 b/lib/libc/sys/mquery.2 index ba87270f8c0..7da8cda279e 100644 --- a/lib/libc/sys/mquery.2 +++ b/lib/libc/sys/mquery.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mquery.2,v 1.12 2021/01/20 19:44:48 otto Exp $ +.\" $OpenBSD: mquery.2,v 1.13 2022/03/31 17:27:16 naddy Exp $ .\" .\" Copyright (c) 2003 Artur Grabowski <art@openbsd.org> .\" All rights reserved. @@ -23,7 +23,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 20 2021 $ +.Dd $Mdocdate: March 31 2022 $ .Dt MQUERY 2 .Os .Sh NAME @@ -63,7 +63,7 @@ The behavior of the function depends on the .Fa flags argument. If set to -.Dv MAP_FIXED +.Dv MAP_FIXED , the pointer .Fa addr is used as a fixed hint and @@ -78,7 +78,7 @@ if there is not .Fa size bytes free after that address. Otherwise it will return the hint addr. -If no flags are set +If no flags are set, .Fn mquery will use .Fa addr @@ -91,7 +91,7 @@ file and offset specified in the and .Fa off arguments. -When no such area can be found +When no such area can be found, .Fn mquery will return .Dv MAP_FAILED @@ -99,7 +99,7 @@ and set .Va errno to indicate the error. .Sh RETURN VALUES -When a memory range satisfying the request is found +When a memory range satisfying the request is found, .Fn mquery returns the available address. Otherwise, diff --git a/lib/libc/sys/nanosleep.2 b/lib/libc/sys/nanosleep.2 index 53cdabd2048..50e273b2888 100644 --- a/lib/libc/sys/nanosleep.2 +++ b/lib/libc/sys/nanosleep.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nanosleep.2,v 1.18 2021/07/25 15:47:26 cheloha Exp $ +.\" $OpenBSD: nanosleep.2,v 1.19 2022/03/31 17:27:16 naddy Exp $ .\" $NetBSD: nanosleep.2,v 1.1 1997/04/17 18:12:02 jtc Exp $ .\" .\" Copyright (c) 1986, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)sleep.3 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: July 25 2021 $ +.Dd $Mdocdate: March 31 2022 $ .Dt NANOSLEEP 2 .Os .Sh NAME @@ -56,7 +56,7 @@ If .Fn nanosleep sleeps the full .Fa timeout -without interruption it returns 0. +without interruption, it returns 0. Unless .Fa remainder is @@ -65,7 +65,7 @@ it is set to zero. .Pp If .Fn nanosleep -is interrupted by a signal it returns \-1 and the global variable +is interrupted by a signal, it returns \-1 and the global variable .Va errno is set to .Dv EINTR . diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index a7fa1ba24e3..c8e056bbd92 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: open.2,v 1.50 2021/01/03 18:10:27 rob Exp $ +.\" $OpenBSD: open.2,v 1.51 2022/03/31 17:27:16 naddy Exp $ .\" $NetBSD: open.2,v 1.8 1995/02/27 12:35:14 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)open.2 8.2 (Berkeley) 11/16/93 .\" -.Dd $Mdocdate: January 3 2021 $ +.Dd $Mdocdate: March 31 2022 $ .Dt OPEN 2 .Os .Sh NAME @@ -183,7 +183,7 @@ If is successful, the file pointer used to mark the current position within the file is set to the beginning of the file. .Pp -When a new file is created it is given the group of the directory +When a new file is created, it is given the group of the directory which contains it. .Pp The new descriptor is set to remain open across diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 55c4448382e..39f9baa0d11 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/ptrace.2 @@ -1,8 +1,8 @@ -.\" $OpenBSD: ptrace.2,v 1.41 2021/11/21 23:44:55 jan Exp $ +.\" $OpenBSD: ptrace.2,v 1.42 2022/03/31 17:27:16 naddy Exp $ .\" $NetBSD: ptrace.2,v 1.3 1996/02/23 01:39:41 jtc Exp $ .\" .\" This file is in the public domain. -.Dd $Mdocdate: November 21 2021 $ +.Dd $Mdocdate: March 31 2022 $ .Dt PTRACE 2 .Os .Sh NAME @@ -231,7 +231,7 @@ On return the .Fa piod_len field in the descriptor will be updated with the actual number of bytes transferred. -If the requested I/O couldn't be successfully performed +If the requested I/O could not be successfully performed, .Fn ptrace will return .Li -1 diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2 index 9bd262001fa..5b318968fa6 100644 --- a/lib/libc/sys/sigaction.2 +++ b/lib/libc/sys/sigaction.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sigaction.2,v 1.75 2018/02/27 03:29:50 schwarze Exp $ +.\" $OpenBSD: sigaction.2,v 1.76 2022/03/31 17:27:16 naddy Exp $ .\" $NetBSD: sigaction.2,v 1.7 1995/10/12 15:41:16 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)sigaction.2 8.2 (Berkeley) 4/3/94 .\" -.Dd $Mdocdate: February 27 2018 $ +.Dd $Mdocdate: March 31 2022 $ .Dt SIGACTION 2 .Os .Sh NAME @@ -116,7 +116,7 @@ before the signal's delivery. If the process wishes to resume in a different context, then it must arrange to restore the previous context itself. .Pp -When a signal is delivered to a process a new signal mask is +When a signal is delivered to a process, a new signal mask is installed for the duration of the process' signal handler (or until a .Xr sigprocmask 2 diff --git a/lib/libc/sys/sigaltstack.2 b/lib/libc/sys/sigaltstack.2 index 2b6ce203287..eedefac9b07 100644 --- a/lib/libc/sys/sigaltstack.2 +++ b/lib/libc/sys/sigaltstack.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sigaltstack.2,v 1.24 2021/11/21 23:44:55 jan Exp $ +.\" $OpenBSD: sigaltstack.2,v 1.25 2022/03/31 17:27:16 naddy Exp $ .\" $NetBSD: sigaltstack.2,v 1.3 1995/02/27 10:41:52 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1992, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)sigaltstack.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: November 21 2021 $ +.Dd $Mdocdate: March 31 2022 $ .Dt SIGALTSTACK 2 .Os .Sh NAME @@ -136,7 +136,7 @@ Signal stacks may or may not be protected by the hardware and are not .Dq grown automatically as is done for the normal stack. -If the stack overflows and this space is not protected +If the stack overflows and this space is not protected, unpredictable results may occur. .Sh RETURN VALUES .Rv -std diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2 index 5fc2194e742..89848869c92 100644 --- a/lib/libc/sys/socket.2 +++ b/lib/libc/sys/socket.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: socket.2,v 1.43 2019/05/26 09:47:28 krw Exp $ +.\" $OpenBSD: socket.2,v 1.44 2022/03/31 17:27:16 naddy Exp $ .\" $NetBSD: socket.2,v 1.5 1995/02/27 12:37:53 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)socket.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: May 26 2019 $ +.Dd $Mdocdate: March 31 2022 $ .Dt SOCKET 2 .Os .Sh NAME @@ -152,7 +152,7 @@ calls or some variant of the and .Xr recv 2 calls. -When a session has been completed a +When a session has been completed, a .Xr close 2 may be performed. Out-of-band data may also be transmitted as described in diff --git a/lib/libc/sys/sync.2 b/lib/libc/sys/sync.2 index f2eca1f7136..91e6851be84 100644 --- a/lib/libc/sys/sync.2 +++ b/lib/libc/sys/sync.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sync.2,v 1.16 2016/01/09 21:27:28 mmcc Exp $ +.\" $OpenBSD: sync.2,v 1.17 2022/03/31 17:27:16 naddy Exp $ .\" $NetBSD: sync.2,v 1.4 1995/02/27 12:38:41 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)sync.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: January 9 2016 $ +.Dd $Mdocdate: March 31 2022 $ .Dt SYNC 2 .Os .Sh NAME @@ -47,7 +47,7 @@ function forces a write of dirty (modified) buffers in the block buffer cache out to disk. The kernel keeps this information in core to reduce the number of disk I/O transfers required by the system. -As information in the cache is lost after a system crash a +As information in the cache is lost after a system crash, a .Fn sync call is issued frequently by the in-kernel process update (about every 30 seconds). diff --git a/lib/libc/sys/sysctl.2 b/lib/libc/sys/sysctl.2 index 0e0f0a4fb19..0e41e245b82 100644 --- a/lib/libc/sys/sysctl.2 +++ b/lib/libc/sys/sysctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.2,v 1.47 2022/02/19 09:12:09 jsg Exp $ +.\" $OpenBSD: sysctl.2,v 1.48 2022/03/31 17:27:16 naddy Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: February 19 2022 $ +.Dd $Mdocdate: March 31 2022 $ .Dt SYSCTL 2 .Os .Sh NAME @@ -2073,16 +2073,16 @@ Get or set global information about MPLS (Multiprotocol Label Switching). Set or get the default TTL value which is used for MPLS (Shim) Header. The default is 255. .It Dv MPLSCTL_MAPTTL_IP Pq Va net.mpls.mapttl_ip -If set to 1 the TTL field is synchronized between the IP header and the +If set to 1, the TTL field is synchronized between the IP header and the MPLS label stack. -If set to 0 the IP header TTL is not modified while passing through MPLS +If set to 0, the IP header TTL is not modified while passing through MPLS and the MPLS label stack is initialized with the .Dv MPLSCTL_DEFTTL . The default is 1. .It Dv MPLSCTL_MAPTTL_IP6 Pq Va net.mpls.mapttl_ip6 -If set to 1 the TTL field is synchronized between the IPv6 header and the +If set to 1, the TTL field is synchronized between the IPv6 header and the MPLS label stack. -If set to 0 the IPv6 header TTL is not modified while passing through MPLS +If set to 0, the IPv6 header TTL is not modified while passing through MPLS and the MPLS label stack is initialized with the .Dv MPLSCTL_DEFTTL . The default is 0. diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2 index 35376a13518..1e0f254c577 100644 --- a/lib/libc/sys/write.2 +++ b/lib/libc/sys/write.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: write.2,v 1.43 2021/11/21 23:44:55 jan Exp $ +.\" $OpenBSD: write.2,v 1.44 2022/03/31 17:27:16 naddy Exp $ .\" $NetBSD: write.2,v 1.6 1995/02/27 12:39:43 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)write.2 8.5 (Berkeley) 4/2/94 .\" -.Dd $Mdocdate: November 21 2021 $ +.Dd $Mdocdate: March 31 2022 $ .Dt WRITE 2 .Os .Sh NAME @@ -129,7 +129,7 @@ a writable set-user-ID file owned by the superuser. .Pp If .Fn write -succeeds it will update the st_ctime and st_mtime fields of the file's +succeeds, it will update the st_ctime and st_mtime fields of the file's meta-data (see .Xr stat 2 ) . .Pp |