]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
4 years agoferror.3: Remove fileno(3) content that was migrated to new fileno(3) page
Michael Kerrisk [Sun, 7 Feb 2021 09:20:08 +0000 (10:20 +0100)] 
ferror.3: Remove fileno(3) content that was migrated to new fileno(3) page

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agofileno.3: Split fileno(3) content out of ferror(3) into new page
Michael Kerrisk [Sun, 7 Feb 2021 09:16:12 +0000 (10:16 +0100)] 
fileno.3: Split fileno(3) content out of ferror(3) into new page

fileno(3) differs from the other functions in various ways.
For example, it is governed by different standards,
and can set 'errno'. Conversely, the other functions
are about examining the status of a stream, while
fileno(3) simply obtains the underlying file descriptor.
Furthermore, splitting this function out allows
for some cleaner upcoming changes in ferror(3).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoipc.2: Minor tweak to Alex's patch regarding use of syscall()
Michael Kerrisk [Sat, 6 Feb 2021 20:46:48 +0000 (21:46 +0100)] 
ipc.2: Minor tweak to Alex's patch regarding use of syscall()

Calling ipc() directly would be a rather unusual thing to do,
so add some text to emphasize that point.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agobdflush.2, capget.2, get_mempolicy.2, ipc.2, lookup_dcookie.2, mbind.2, migrate_pages...
Alejandro Colomar [Thu, 4 Feb 2021 11:15:27 +0000 (12:15 +0100)] 
bdflush.2, capget.2, get_mempolicy.2, ipc.2, lookup_dcookie.2, mbind.2, migrate_pages.2: Add notes about missing glibc wrappers

.../glibc$ grep_syscall_wrapper bdflush
.../glibc$ grep_syscall_wrapper capget
.../glibc$ grep_syscall_wrapper capset
.../glibc$ grep_syscall_wrapper get_mempolicy
.../glibc$ grep_syscall_wrapper ipc
.../glibc$ grep_syscall_wrapper lookup_dcookie
.../glibc$ grep_syscall_wrapper mbind
.../glibc$ grep_syscall_wrapper migrate_pages
.../glibc$

function grep_syscall_wrapper()
{
if ! [ -v 1 ]; then
>&2 echo "Usage: ${FUNCNAME[0]} <syscall>";
return ${EX_USAGE};
fi

find * -type f \
|grep '\.h$' \
|sort -V \
|xargs pcregrep -Mn \
  "(?s)^[^\s#][\w\s]+\s+\**${1}\s*\([\w\s()[\]*,]*?(...)?\)[\w\s()]*;" \
|sed -E 's/^[^:]+:[0-9]+:/&\n/';
}

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agogetsockname.2: Use restrict in prototypes
Alejandro Colomar [Wed, 3 Feb 2021 21:36:00 +0000 (22:36 +0100)] 
getsockname.2: Use restrict in prototypes

POSIX specifies that the 2nd and 3rd parameters to getsockname()
shall be 'restrict'.  Glibc uses 'restrict' too.
Let's use it here too.

......

.../glibc$ grep_syscall_wrapper getsockname
socket/sys/socket.h:116:
extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
socklen_t *__restrict __len) __THROW;
.../glibc$ grep -rn '# *define __SOCKADDR_ARG'
socket/sys/socket.h:58:
 # define __SOCKADDR_ARG struct sockaddr *__restrict
.../glibc$

function grep_syscall_wrapper()
{
if ! [ -v 1 ]; then
>&2 echo "Usage: ${FUNCNAME[0]} <syscall>";
return ${EX_USAGE};
fi

find * -type f \
|grep '\.h$' \
|sort -V \
|xargs pcregrep -Mn \
  "(?s)^[^\s#][\w\s]+\s+\**${1}\s*\([\w\s()[\]*,]*?(...)?\)[\w\s()]*;" \
|sed -E 's/^[^:]+:[0-9]+:/&\n/';
}

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agogettimeofday.2: Use restrict in prototypes
Alejandro Colomar [Wed, 3 Feb 2021 21:52:06 +0000 (22:52 +0100)] 
gettimeofday.2: Use restrict in prototypes

POSIX specifies that the parameters of gettimeofday() shall be
'restrict'.  Glibc uses 'restrict' too.
Let's use it here too.

......

.../glibc$ grep_syscall_wrapper gettimeofday
time/sys/time.h:66:
extern int gettimeofday (struct timeval *__restrict __tv,
 void *__restrict __tz) __THROW __nonnull ((1));
.../glibc$

function grep_syscall_wrapper()
{
if ! [ -v 1 ]; then
>&2 echo "Usage: ${FUNCNAME[0]} <syscall>";
return ${EX_USAGE};
fi

find * -type f \
|grep '\.h$' \
|sort -V \
|xargs pcregrep -Mn \
  "(?s)^[^\s#][\w\s]+\s+\**${1}\s*\([\w\s()[\]*,]*?(...)?\)[\w\s()]*;" \
|sed -E 's/^[^:]+:[0-9]+:/&\n/';
}

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agogetitimer.2: Use restrict in prototypes
Alejandro Colomar [Wed, 3 Feb 2021 19:43:55 +0000 (20:43 +0100)] 
getitimer.2: Use restrict in prototypes

POSIX specifies that the 2nd and 3rd parameters to setitimer()
shall be 'restrict'.  Glibc uses 'restrict' too.
Let's use it here too.

......

.../glibc$ grep_syscall_wrapper setitimer
time/sys/time.h:129:
extern int setitimer (__itimer_which_t __which,
      const struct itimerval *__restrict __new,
      struct itimerval *__restrict __old) __THROW;
.../glibc$

function grep_syscall_wrapper()
{
if ! [ -v 1 ]; then
>&2 echo "Usage: ${FUNCNAME[0]} <syscall>";
return ${EX_USAGE};
fi

find * -type f \
|grep '\.h$' \
|sort -V \
|xargs pcregrep -Mn \
  "^[^\s][\w\s]+\s+\**${1}\s*\((?s)[\w\s()[\]*,]*?(...)?\)[\w\s()]*;" \
|sed -E 's/^[^:]+:[0-9]+:/&\n/';
}

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoepoll_wait.2: srcfix: glibc doesn't provide epoll_pwait2() yet
Alejandro Colomar [Sat, 6 Feb 2021 11:43:04 +0000 (12:43 +0100)] 
epoll_wait.2: srcfix: glibc doesn't provide epoll_pwait2() yet

I filed a bug against glibc
requesting the wrapper for the new syscall.

Glibc bug: <https://sourceware.org/bugzilla/show_bug.cgi?id=27359>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agogetgid.2, getuid.2: Note that these interfaces never modify 'errno'
Michael Kerrisk [Sat, 6 Feb 2021 09:38:57 +0000 (10:38 +0100)] 
getgid.2, getuid.2: Note that these interfaces never modify 'errno'

See https://www.austingroupbugs.net/view.php?id=511
and the POSIX.1-2008 specifications of the interfaces.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosetbuf.3: POSIX doesn't require to errno to be unchanged after successful setbuf()
Michael Kerrisk [Sat, 6 Feb 2021 09:26:43 +0000 (10:26 +0100)] 
setbuf.3: POSIX doesn't require to errno to be unchanged after successful setbuf()

See https://www.austingroupbugs.net/view.php?id=397#c799

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosetbuf.3: tfix
Michael Kerrisk [Sat, 6 Feb 2021 09:19:25 +0000 (10:19 +0100)] 
setbuf.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agos390_guarded_storage.2: tfix
Alejandro Colomar [Wed, 3 Feb 2021 18:42:27 +0000 (19:42 +0100)] 
s390_guarded_storage.2: tfix

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoprocess_madvise.2: Restructure the text in DESCRIPTION a little
Michael Kerrisk [Tue, 2 Feb 2021 10:38:46 +0000 (11:38 +0100)] 
process_madvise.2: Restructure the text in DESCRIPTION a little

The 'advice' subsection fell in the middle of other text in the
DESCRIPTION, which is a little confusing. Instead, move that
subsection to the end of the DESCRIPTION, and make some other
minor text reorganization so that related details are placed in
the same paragraphs.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoprocess_madvise.2: Minor edits to Suren Baghdasaryan's patch
Michael Kerrisk [Tue, 2 Feb 2021 10:11:39 +0000 (11:11 +0100)] 
process_madvise.2: Minor edits to Suren Baghdasaryan's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomadvise.2: SEE ALSO: add process_madvise(2)
Michael Kerrisk [Tue, 2 Feb 2021 08:18:18 +0000 (09:18 +0100)] 
madvise.2: SEE ALSO: add process_madvise(2)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agopidfd_open.2: Note the process_madvise(2) use case for PID file descriptors
Michael Kerrisk [Tue, 2 Feb 2021 08:17:27 +0000 (09:17 +0100)] 
pidfd_open.2: Note the process_madvise(2) use case for PID file descriptors

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoprocess_madvise.2: Document process_madvise(2)
Suren Baghdasaryan [Tue, 2 Feb 2021 05:30:46 +0000 (21:30 -0800)] 
process_madvise.2: Document process_madvise(2)

Initial version of process_madvise(2) manual page. Initial text
was extracted from [1], amended after fix [2] and more details
added using man pages of madvise(2) and process_vm_readv(2) as
examples. It also includes the changes to required permission
proposed in [3].

[1] https://lore.kernel.org/patchwork/patch/1297933/
[2] https://lkml.org/lkml/2020/12/8/1282
[3] https://patchwork.kernel.org/project/selinux/patch/20210111170622.2613577-1-surenb@google.com/#23888311

Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Reviewed-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomalloc_trim.3: Remove mention of free() call
Dmitry Vorobev [Mon, 1 Feb 2021 10:42:08 +0000 (10:42 +0000)] 
malloc_trim.3: Remove mention of free() call

'malloc_trim' was and is never called from the 'free' function.
see related bug in glibc tracker:
https://sourceware.org/bugzilla/show_bug.cgi?id=2531. or
'__int_free' function. Only the top part of the heap is trimmed
after some calls to 'free', which is different from 'malloc_trim'
which also releases memory in between chunks from all the
arenas/heaps.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoenviron.7: Minor tweaks to Bastien's patch
Michael Kerrisk [Sat, 30 Jan 2021 13:34:54 +0000 (14:34 +0100)] 
environ.7: Minor tweaks to Bastien's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoenviron.7: Reorder the text
Bastien Roucariès [Fri, 29 Jan 2021 23:29:44 +0000 (23:29 +0000)] 
environ.7: Reorder the text

Move the the text describing how to set environment variable before
the list(s) of variables in order to improve readability.

[mtk: rewrote commit message]

Signed-off-by: Bastien Roucariès <rouca@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoenviron.7: Note the default if PAGER is not defined
Michael Kerrisk [Sat, 30 Jan 2021 12:24:20 +0000 (13:24 +0100)] 
environ.7: Note the default if PAGER is not defined

Reported-by: Bastien Roucariès <rouca@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoenviron.7: ffix + tfix
Michael Kerrisk [Sat, 30 Jan 2021 12:19:28 +0000 (13:19 +0100)] 
environ.7: ffix + tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoenviron.7: Various edits to Bastien Roucariès's patch
Michael Kerrisk [Sat, 30 Jan 2021 07:54:25 +0000 (08:54 +0100)] 
environ.7: Various edits to Bastien Roucariès's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoenviron.7: Document that HOME, LOGNAME, SHELL, USER are set at login time
Bastien Roucariès [Fri, 29 Jan 2021 23:29:40 +0000 (23:29 +0000)] 
environ.7: Document that HOME, LOGNAME, SHELL, USER are set at login time

Clearly document that HOME, LOGNAME, SHELL and USER are set at
login time by a program like such as login(1).

Document also that using su could result in a mixed environment,
and point to the su(1) manual page.

[mtk: edited commit message]

Signed-off-by: Bastien Roucariès <rouca@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoenviron.7: wfix
Michael Kerrisk [Sat, 30 Jan 2021 07:44:13 +0000 (08:44 +0100)] 
environ.7: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoenviron.7: Improve the description of PATH
Michael Kerrisk [Sat, 30 Jan 2021 07:36:08 +0000 (08:36 +0100)] 
environ.7: Improve the description of PATH

Add more details of how PATH is used, and mention the legacy
use of an empty prefix.

Changed after a suggested patch by Bastien Roucariès.

Reported-by: Bastien Roucariès <rouca@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoenviron.7: wfix in description of PATH
Michael Kerrisk [Sat, 30 Jan 2021 07:21:34 +0000 (08:21 +0100)] 
environ.7: wfix in description of PATH

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agotime.1: wfix: remove crufty sentence
Michael Kerrisk [Sat, 30 Jan 2021 07:10:56 +0000 (08:10 +0100)] 
time.1: wfix: remove crufty sentence

Remove a sentence that should have been removed in
commit f0e173d6816895ba42c547643eca5904b0b38bf9.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agotmpfile.3: wfix
Michael Kerrisk [Fri, 29 Jan 2021 12:34:09 +0000 (13:34 +0100)] 
tmpfile.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agonetdevice.7: wfix
Michael Kerrisk [Thu, 28 Jan 2021 20:14:17 +0000 (21:14 +0100)] 
netdevice.7: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agonetdevice.7: Update documentation for SIOCGIFADDR SIOCSIFADDR SIOCDIFADDR
Pali Rohár [Thu, 28 Jan 2021 15:24:30 +0000 (16:24 +0100)] 
netdevice.7: Update documentation for SIOCGIFADDR SIOCSIFADDR SIOCDIFADDR

Unlike SIOCGIFADDR and SIOCSIFADDR which are supported by many
protocol families, SIOCDIFADDR is supported by AF_INET6 and
AF_APPLETALK only.

Unlike other protocols, AF_INET6 uses struct in6_ifreq.

Cc: Dmitry V. Levin <ldv@altlinux.org>
Cc: <netdev@vger.kernel.org>
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoman-pages.7: tfix
Alejandro Colomar [Thu, 28 Jan 2021 15:29:11 +0000 (16:29 +0100)] 
man-pages.7: tfix

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agouri.7: tfix (logical quoting style)
Michael Kerrisk [Thu, 28 Jan 2021 13:59:00 +0000 (14:59 +0100)] 
uri.7: tfix (logical quoting style)

Reported-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoman.7: tfix (logical quoting style)
Michael Kerrisk [Thu, 28 Jan 2021 13:57:11 +0000 (14:57 +0100)] 
man.7: tfix (logical quoting style)

Reported-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agorcmd.3: tfix (logical quoting style)
Michael Kerrisk [Thu, 28 Jan 2021 13:56:01 +0000 (14:56 +0100)] 
rcmd.3: tfix (logical quoting style)

Reported-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoshmget.2: tfix
Michael Kerrisk [Thu, 28 Jan 2021 13:10:42 +0000 (14:10 +0100)] 
shmget.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoaccess.2: wfix
Michael Kerrisk [Thu, 28 Jan 2021 13:10:10 +0000 (14:10 +0100)] 
access.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agommap.2: wfix
Michael Kerrisk [Thu, 28 Jan 2021 13:08:52 +0000 (14:08 +0100)] 
mmap.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoman-pages.7: tfix
Jakub Wilk [Mon, 25 Jan 2021 21:17:23 +0000 (22:17 +0100)] 
man-pages.7: tfix

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoenviron.7: Minor tweaks to Bastien's patch
Michael Kerrisk [Thu, 28 Jan 2021 11:02:58 +0000 (12:02 +0100)] 
environ.7: Minor tweaks to Bastien's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoenviron.7: Document convention of string in environ
Bastien Roucariès [Thu, 28 Jan 2021 11:00:51 +0000 (12:00 +0100)] 
environ.7:  Document convention of string in environ

Document the name=value system and that nul byte is forbidden.

Signed-off-by: Bastien Roucariès <rouca@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoenviron.7: Minor fixes to Bastien's patch
Michael Kerrisk [Thu, 28 Jan 2021 09:28:47 +0000 (10:28 +0100)] 
environ.7: Minor fixes to Bastien's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoenviron.7: Add see also ld.so(8) for LD_ variables
Bastien Roucariès [Wed, 27 Jan 2021 15:48:42 +0000 (15:48 +0000)] 
environ.7: Add see also ld.so(8) for LD_ variables

Signed-off-by: Bastien Roucariès <rouca@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoenviron.7: Be a little more precise when discussing 'exec'
Michael Kerrisk [Thu, 28 Jan 2021 09:11:47 +0000 (10:11 +0100)] 
environ.7: Be a little more precise when discussing 'exec'

Say "execve(2)" instead of "exec(3)", and note that this step
starts a new program (not a new process!).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoenviron.7: Relocate and reword the mention of _GNU_SOURCE
Michael Kerrisk [Thu, 28 Jan 2021 09:08:05 +0000 (10:08 +0100)] 
environ.7: Relocate and reword the mention of _GNU_SOURCE

Using _GNU_SOURCE to obtain the declaration of 'environ' is
nonstandard. Therefore, move the mention of this detail to NOTES.
At the same time, add a few words proposed by Bastien.

Cowritten-by: Bastien Roucariès <rouca@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoman-pages.7: tfix
Michael Kerrisk [Mon, 25 Jan 2021 15:37:30 +0000 (16:37 +0100)] 
man-pages.7: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoman-pages.7: Add a FORMATTING AND WORDING CONVENTIONS section
Michael Kerrisk [Mon, 25 Jan 2021 15:29:14 +0000 (16:29 +0100)] 
man-pages.7: Add a FORMATTING AND WORDING CONVENTIONS section

In man-pages-5.11, a large number of pages were edited to achieve
greater consistency in the SYNOPIS, RETURN VALUE and ATTRIBUTES
sections. To avoid future inconsistencies, try to capture some of
the preferred conventions in text in man-pages(7).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosock_diag.7: Fix recvmsg() usage in the example
Pali Rohár [Sun, 24 Jan 2021 15:10:39 +0000 (16:10 +0100)] 
sock_diag.7: Fix recvmsg() usage in the example

The msg_name field for recvmsg() call points to a caller-allocated buffer
nladdr that is used to return the source address of the (netlink) socket.

As recvmsg() does not read this buffer and fills it for a caller, do not
initialize it and instead check its value in the example.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosemget.2, shm_open.3: tfix
Jakub Wilk [Sun, 24 Jan 2021 15:10:43 +0000 (16:10 +0100)] 
semget.2, shm_open.3: tfix

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agorandom.3: srcfix: Don't break proper names into different lines
Alejandro Colomar [Sun, 24 Jan 2021 15:10:35 +0000 (16:10 +0100)] 
random.3: srcfix: Don't break proper names into different lines

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agokexec_load.2: srcfix: Don't break a line that doesn't get past the right margin
Alejandro Colomar [Sun, 24 Jan 2021 15:10:31 +0000 (16:10 +0100)] 
kexec_load.2: srcfix: Don't break a line that doesn't get past the right margin

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoMAINTAINER_NOTES: tfix
Jakub Wilk [Sun, 24 Jan 2021 15:10:41 +0000 (16:10 +0100)] 
MAINTAINER_NOTES: tfix

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agofopencookie.3: wsfix
Alejandro Colomar [Sun, 24 Jan 2021 14:50:53 +0000 (15:50 +0100)] 
fopencookie.3: wsfix

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agouri.7: Note that 'logical' quoting is the norm in Europe
Michael Kerrisk [Sat, 23 Jan 2021 09:04:55 +0000 (10:04 +0100)] 
uri.7: Note that 'logical' quoting is the norm in Europe

Drop the reference to the Hacker Writing Guide (and the broken URL)
and simply note that the logical quoting style is the norm in
European languages also.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoman-pages.7: Note some rationale for the use of real minus signs
Michael Kerrisk [Thu, 21 Jan 2021 11:08:33 +0000 (12:08 +0100)] 
man-pages.7: Note some rationale for the use of real minus signs

See:
https://lore.kernel.org/linux-man/20210121061158.5ul7226fgbrmodbt@localhost.localdomain/
    From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Cc: linux-man <linux-man@vger.kernel.org>, groff@gnu.org
    Subject: Re: Escaping hyphens ("real" minus signs in groff)
    Date: Thu, 21 Jan 2021 17:12:00 +1100

and also groff_char(7).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoVarious pages: use "\-" to generate real minus in circumstances where appropriate
Michael Kerrisk [Thu, 21 Jan 2021 09:53:59 +0000 (10:53 +0100)] 
Various pages: use "\-" to generate real minus in circumstances where appropriate

Use \- for math formulas, pathnames, manual page cross references,
etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoinotify.7: wfix
Michael Kerrisk [Thu, 21 Jan 2021 09:46:28 +0000 (10:46 +0100)] 
inotify.7: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomq_overview.7: ffix
Michael Kerrisk [Thu, 21 Jan 2021 08:34:25 +0000 (09:34 +0100)] 
mq_overview.7: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoVarious pages: use real minus signs in pathnames
Michael Kerrisk [Thu, 21 Jan 2021 08:29:38 +0000 (09:29 +0100)] 
Various pages: use real minus signs in pathnames

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoconfstr.3: ffix: Use real minus sign inside a string
Michael Kerrisk [Thu, 21 Jan 2021 08:10:25 +0000 (09:10 +0100)] 
confstr.3: ffix: Use real minus sign inside a string

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoVarious pages: Inside code blocks (.EX/.EE) use \- to get real minus signs
Michael Kerrisk [Sat, 9 Jan 2021 22:21:02 +0000 (23:21 +0100)] 
Various pages: Inside code blocks (.EX/.EE) use \- to get real minus signs

A real minus can be cut and pasted...

THere are a few exceptions that gave been excluded in the this
change.  For example, where there' is a string such as "<p1-name>",
where p1-name is soome sort of pseudo-identifier.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agofread.3: Swap size and nmemb params
Alessandro Bono [Wed, 20 Jan 2021 15:36:32 +0000 (16:36 +0100)] 
fread.3: Swap size and nmemb params

It works both way, but this one feels more right. We are reading
four elements sizeof(*buffer) bytes each.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomount.2: Note that the 'data' argument can be NULL
Michael Kerrisk [Wed, 20 Jan 2021 12:03:26 +0000 (13:03 +0100)] 
mount.2: Note that the 'data' argument can be NULL

Verified from reading the kernel source and looking at the source
of mount(8). Surprisingly, this has not documented after so many
years.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agotcp.7: Documentation revision for TCP_USER_TIMEOUT
Enke Chen [Sat, 9 Jan 2021 05:19:46 +0000 (21:19 -0800)] 
tcp.7: Documentation revision for TCP_USER_TIMEOUT

mtk: Enke later noted that this patch provides better documentation
of longstanding behavior (rather documenting a change in behavior).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocircleq.3: Fix CIRCLEQ_LOOP_*() return type
Alejandro Colomar [Tue, 19 Jan 2021 21:12:27 +0000 (22:12 +0100)] 
circleq.3: Fix CIRCLEQ_LOOP_*() return type

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoenviron.7: Document valid values of pathnames for SHELL, PAGER and EDITOR/VISUAL
Bastien Roucariès [Tue, 19 Jan 2021 20:45:00 +0000 (21:45 +0100)] 
environ.7: Document valid values of pathnames for SHELL, PAGER and EDITOR/VISUAL

The environ(7) man page says:

       SHELL  The pathname of the user's login shell.

       PAGER  The user's preferred utility to display text files.

       EDITOR/VISUAL
              The user's preferred utility to edit text files.

but doesn't say whether the pathnames must be absolute or they can
be resolved using $PATH, or whether they can have options.

Note that at least for SHELL, this is not specified by POSIX.
This issue was raised in the Austin Group mailing-list, and the
answer is that "what constitutes a valid value for a platform
should be documented" [1].

Since OpenSSH assumes that $SHELL is an absolute pathname (when
set), it is supposed that the documentation should be:

       SHELL  The absolute pathname of the user's login shell.

For PAGER, POSIX says: "Any string acceptable as a command_string
operand to the sh -c command shall be valid."

For EDITOR, it does not need to be an absolute pathname since
POSIX gives the example:

  EDITOR=vi fc

and since it is specified as "the name of a utility", It assumes
that arguments (options) must not be provided. Page 3013 about
"more", it is said: "If the last pathname component in EDITOR is
either vi or ex, [...]", thus again, it is assumed to be a
pathname.

For VISUAL, POSIX says: "Determine a pathname of a utility to
invoke when the visual command [...]", thus it is also a pathname.
It is not clear whether the pathname must be absolute, but for
consistency with EDITOR, it will be resolved using $PATH.

[1] https://www.mail-archive.com/austin-group-l@opengroup.org/msg01399.html

Reported-by: Vincent Lefevre <vincent@vinc17.net>
Signed-off-by: Bastien Roucaries <rouca@debian.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoman-pages.7: Document "acknowledgement" as the preferred spelling
Michael Kerrisk [Tue, 19 Jan 2021 09:22:49 +0000 (10:22 +0100)] 
man-pages.7: Document "acknowledgement" as the preferred spelling

When I inherited man-pages in 2004, it was a hodge-podge mix of
American vs British spelling. My native spelling is the latter,
but I value consistency and felt that things needed to be
standardized on one or other, and in computing, American is the
norm so that is what I settled on.

Among the changes was the substitution of various instances
of "acknowledgement" for "acknowledgment". The latter spelling is
not one I care for, but I believed it to be the American norm.

Alex Colomar proposed a patch to change the spelling back
to "acknowledgement", and some discussion and investigation
ensued, whereby I learned the following:

* The situation is not clear cut.

* Historically, "acknowledgment" was the norm in British English,
  but was eclipsed by "acknowledgement" some decades ago.

* Even in American English, "acknowledgment" is not universal,
  and "acknowledgement" has become more common in recent decades
  (although it still remains minority usage) [2].

* The BSD license uses "acknowledgement" even though it was
  (presumably) written in California.

* The POSIX standard uses "acknowledgement".

* The Debian BTS uses "acknowledgement".

* Looking at a corpus of manual pages from various systems
  that I have assembled over the years, "acknowledgement" seems
  a little more common than "acknowledgment".

Summary: the situation is not clear cut, but let's follow BSD,
POSIX, and the personal preference of the man-pages maintainers.

[1] https://books.google.com/ngrams/graph?content=acknowledgment%2Cacknowledgement&year_start=1800&year_end=2019&corpus=29&smoothing=3#

[2] https://books.google.com/ngrams/graph?content=acknowledgment%2Cacknowledgement&year_start=1800&year_end=2000&corpus=5&smoothing=3&

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agonetlink.7, tcp.7: Spelling fix: s/acknowledgment/acknowledgement/
Alejandro Colomar [Tue, 19 Jan 2021 08:21:41 +0000 (09:21 +0100)] 
netlink.7, tcp.7: Spelling fix: s/acknowledgment/acknowledgement/

Signed-off-by: Alejandro Colomar (man-pages) <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoclone.2: tfix
Johannes Wellhöfer [Mon, 18 Jan 2021 21:12:09 +0000 (22:12 +0100)] 
clone.2: tfix

For the alternate signal stack to be cleared, CLONE_VM should and
CLONE_VFORK should not be specified.

[mtk: fixes my commit 52e5819c4190c3f248df4b976e0a04cc561289e4]

Signed-off-by: Johannes Wellhöfer <johannes.wellhofer@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocacheflush.2: tfix
Jakub Wilk [Mon, 18 Jan 2021 09:08:10 +0000 (10:08 +0100)] 
cacheflush.2: tfix

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agopipe.7: tfix
Jakub Wilk [Mon, 18 Jan 2021 09:17:17 +0000 (10:17 +0100)] 
pipe.7: tfix

Escape hyphens in pathnames, as per man-pages(7)

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosystem.3: ffix
Michael Kerrisk [Mon, 18 Jan 2021 15:34:52 +0000 (16:34 +0100)] 
system.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosystem.3: Document bug and workaround when the command name starts with a hypen
Alejandro Colomar [Fri, 8 Jan 2021 14:22:11 +0000 (15:22 +0100)] 
system.3: Document bug and workaround when the command name starts with a hypen

man-pages bug: 211029
 https://bugzilla.kernel.org/show_bug.cgi?id=211029

Complete workaround example
(it was too long for the page, but it may be useful here):

......

$ sudo ln -s -T /usr/bin/echo /usr/bin/-echo;
$ cc -o system_hyphen -x c - ;
#include <stdlib.h>

int
main(void)
{
    system(" -echo Hello world!");
    exit(EXIT_SUCCESS);
}

$ ./system_hyphen;
Hello world!

Reported-by: Ciprian Dorin Craciun <ciprian.craciun@gmail.com>
Cc: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agonetlink.7: Fix minimal Linux version for NETLINK_CAP_ACK
Pali Rohár [Sat, 16 Jan 2021 15:06:01 +0000 (16:06 +0100)] 
netlink.7: Fix minimal Linux version for NETLINK_CAP_ACK

NETLINK_CAP_ACK option was introduced in commit 0a6a3a23ea6e which first
appeared in Linux version 4.3 and not 4.2.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agortnetlink.7: Remove IPv4 from description
Pali Rohár [Sat, 16 Jan 2021 15:04:35 +0000 (16:04 +0100)] 
rtnetlink.7: Remove IPv4 from description

rtnetlink is not only used for IPv4

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoulimit.3: tfix
Alyssa Ross [Sat, 16 Jan 2021 15:01:04 +0000 (16:01 +0100)] 
ulimit.3: tfix

The parentheses here make it look like a function rather than a
command.

This was a typo introduced by a script-assisted global edit.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoexecveat.2: Normalize notes about missing wrappers
Alejandro Colomar [Sat, 16 Jan 2021 14:58:59 +0000 (15:58 +0100)] 
execveat.2: Normalize notes about missing wrappers

It's been a long time sine kernel 3.19.
There's still no glibc wrapper.

......

$ grep -rn 'execveat *(' glibc/
$

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocacheflush.2: Update SYNOPSIS for glibc wrapper
Alejandro Colomar [Sat, 16 Jan 2021 14:56:33 +0000 (15:56 +0100)] 
cacheflush.2: Update SYNOPSIS for glibc wrapper

Glibc uses 'void *' instead of 'char *'.
And the prototype is declared in <sys/cachectl.h>.

......

$ syscall='cacheflush';
$ ret='int';
$ find glibc/ -type f -name '*.h' \
  |xargs pcregrep -Mn "(?s)^[\w\s]*${ret}\s*${syscall}\s*\(.*?;";
glibc/sysdeps/unix/sysv/linux/nios2/sys/cachectl.h:27:
extern int cacheflush (void *__addr, const int __nbytes, const int __op) __THROW;
glibc/sysdeps/unix/sysv/linux/mips/sys/cachectl.h:35:
extern int cacheflush (void *__addr, const int __nbytes, const int __op) __THROW;
glibc/sysdeps/unix/sysv/linux/arc/sys/cachectl.h:30:
extern int cacheflush (void *__addr, int __nbytes, int __op) __THROW;
glibc/sysdeps/unix/sysv/linux/csky/sys/cachectl.h:30:
extern int cacheflush (void *__addr, const int __nbytes,
       const int __op) __THROW;

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocrypt.3: Update crypt() FTM requirements to note glibc 2.28 changes
Michael Kerrisk [Fri, 15 Jan 2021 22:38:14 +0000 (23:38 +0100)] 
crypt.3: Update crypt() FTM requirements to note glibc 2.28 changes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocrypt.3: Reformat FTM info (in preparation for next patch)
Michael Kerrisk [Fri, 15 Jan 2021 22:33:07 +0000 (23:33 +0100)] 
crypt.3: Reformat FTM info (in preparation for next patch)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoepoll_wait.2: Minor tweaks to Willem de Bruijn's patch
Michael Kerrisk [Tue, 12 Jan 2021 07:19:51 +0000 (08:19 +0100)] 
epoll_wait.2: Minor tweaks to Willem de Bruijn's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoepoll_wait.2: Add documentation of epoll_pwait2()
Willem de Bruijn [Tue, 12 Jan 2021 00:48:20 +0000 (19:48 -0500)] 
epoll_wait.2: Add documentation of epoll_pwait2()

Expand the epoll_wait() page with epoll_pwait2(), an epoll_wait()
variant that takes a struct timespec to enable nanosecond
resolution timeout.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoclone.2: Fix types in clone_args
Valentin Kettner [Sun, 10 Jan 2021 10:18:20 +0000 (11:18 +0100)] 
clone.2: Fix types in clone_args

A file descriptor is an int so it should be stored through an int
pointer while parent_tid should have the same type as child_tid
which is pid_t pointer.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomalloc.3: Document that realloc(p, 0) is specific to glibc and nonportable
Alejandro Colomar [Sat, 9 Jan 2021 21:15:06 +0000 (22:15 +0100)] 
malloc.3: Document that realloc(p, 0) is specific to glibc and nonportable

A more detailed notice is on realloc(3p).

......

$ man 3p realloc \
  |sed -n \
     -e '/APPLICATION USAGE/,/^$/p' \
     -e '/FUTURE DIRECTIONS/,/^$/p';
APPLICATION USAGE
       The description of realloc() has been modified from  pre‐
       vious  versions  of  this  standard  to  align  with  the
       ISO/IEC 9899:1999 standard. Previous versions  explicitly
       permitted  a  call  to  realloc(p,  0)  to free the space
       pointed to by p and return a null pointer. While this be‐
       havior  could be interpreted as permitted by this version
       of the standard, the C language committee have  indicated
       that   this  interpretation  is  incorrect.  Applications
       should assume that if realloc() returns a  null  pointer,
       the  space pointed to by p has not been freed. Since this
       could lead to double-frees, implementations  should  also
       set errno if a null pointer actually indicates a failure,
       and applications should only free the space if errno  was
       changed.

FUTURE DIRECTIONS
       This  standard  defers  to the ISO C standard. While that
       standard currently has language that might  permit  real‐
       loc(p, 0), where p is not a null pointer, to free p while
       still returning a null pointer, the committee responsible
       for  that standard is considering clarifying the language
       to explicitly prohibit that alternative.

Bug: 211039 <https://bugzilla.kernel.org/show_bug.cgi?id=211039>
Reported-by: Johannes Pfister <johannes.pfister@josttech.ch>
Cc: libc-alpha@sourceware.org
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoVarious pages: srcfix: Remove redundant .PP
Alejandro Colomar [Sat, 9 Jan 2021 21:45:02 +0000 (22:45 +0100)] 
Various pages: srcfix: Remove redundant .PP

.PP are redundant just after .SH or .SS.
Remove them.

$ find man? -type f \
  |xargs sed -i '/^\.S[HS]/{n;/\.PP/d}';

Plus a couple manual edits.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoRevert "stailq.3, utmp.5, time_namespaces.7: srcfix: remove redundant .PP"
Michael Kerrisk [Sun, 10 Jan 2021 08:15:12 +0000 (09:15 +0100)] 
Revert "stailq.3, utmp.5, time_namespaces.7: srcfix: remove redundant .PP"

Do this in order to apply a better patch from Alex Colomar.

This reverts commit f7fc28f97a1012631f835adcbfdcd3a048fa31b2.

4 years agoxcrypt.3: srcfix: use .PP rather than .LP
Michael Kerrisk [Sun, 10 Jan 2021 07:54:39 +0000 (08:54 +0100)] 
xcrypt.3: srcfix: use .PP rather than .LP

.LP is equivalent .PP, but the latter is what is used
throughout man-pages.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoshm_open.3: tfix
Michael Kerrisk [Sun, 10 Jan 2021 07:46:40 +0000 (08:46 +0100)] 
shm_open.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agostailq.3, utmp.5, time_namespaces.7: srcfix: remove redundant .PP
Michael Kerrisk [Sat, 9 Jan 2021 22:35:44 +0000 (23:35 +0100)] 
stailq.3, utmp.5, time_namespaces.7: srcfix: remove redundant .PP

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agogetfsent.3: tfix
Michael Kerrisk [Sat, 9 Jan 2021 21:43:31 +0000 (22:43 +0100)] 
getfsent.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomprotect.2, readv.2, sigaltstack.2, sigreturn.2, ctime.3, scandir.3, random.4, pkeys...
Michael Kerrisk [Sat, 9 Jan 2021 21:08:50 +0000 (22:08 +0100)] 
mprotect.2, readv.2, sigaltstack.2, sigreturn.2, ctime.3, scandir.3, random.4, pkeys.7: ffix: s/-1/\-1/

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomlock.2: CONFORMING TO: note more explicitly which APIs are in the standards
Michael Kerrisk [Sat, 9 Jan 2021 19:57:09 +0000 (20:57 +0100)] 
mlock.2: CONFORMING TO: note more explicitly which APIs are in the standards

The current wording is a little unclear...

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoalloc_hugepages.2: CONFORMING TO: reword to reflect that these system calls are long...
Michael Kerrisk [Sat, 9 Jan 2021 19:52:49 +0000 (20:52 +0100)] 
alloc_hugepages.2: CONFORMING TO: reword to reflect that these system calls are long gone

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoepoll_create.2: CONFORMING TO: mention also that epoll_create1() is Linux-specific
Michael Kerrisk [Sat, 9 Jan 2021 19:49:43 +0000 (20:49 +0100)] 
epoll_create.2: CONFORMING TO: mention also that epoll_create1() is Linux-specific

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoepoll_wait.2: CONFORMING TO: mention also that epoll_pwait() is Linux-specific
Michael Kerrisk [Sat, 9 Jan 2021 19:47:47 +0000 (20:47 +0100)] 
epoll_wait.2: CONFORMING TO: mention also that epoll_pwait() is Linux-specific

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agotime.1, ioctl_console.2, daemon.3, updwtmp.3, mouse.4, smartpqi.4: tfix (Oxford comma)
Michael Kerrisk [Sat, 9 Jan 2021 11:53:15 +0000 (12:53 +0100)] 
time.1, ioctl_console.2, daemon.3, updwtmp.3, mouse.4, smartpqi.4: tfix (Oxford comma)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosmartpqi.4: tfix
Michael Kerrisk [Sat, 9 Jan 2021 11:46:55 +0000 (12:46 +0100)] 
smartpqi.4: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoopen.2: wfix
Michael Kerrisk [Sat, 9 Jan 2021 11:30:48 +0000 (12:30 +0100)] 
open.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoinode.7: wfix
Michael Kerrisk [Sat, 9 Jan 2021 10:55:03 +0000 (11:55 +0100)] 
inode.7: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoVarious pages: tfix (Oxford comma)
Michael Kerrisk [Sat, 9 Jan 2021 10:14:08 +0000 (11:14 +0100)] 
Various pages: tfix (Oxford comma)

Found using:

    git grep -lE '^[^.].*,.*,.*[^,] (and|or)\>'

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>