]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
5 years agoioctl_tty.2, poll.2, getpt.3, grantpt.3, openpty.3, posix_openpt.3, ptsname.3, ttynam... pty_lang_fixup
Michael Kerrisk [Tue, 28 Jul 2020 20:12:08 +0000 (22:12 +0200)] 
ioctl_tty.2, poll.2, getpt.3, grantpt.3, openpty.3, posix_openpt.3, ptsname.3, ttyname.3, unlockpt.3, pts.4, pty.7: Eliminate problematic "master-slave" terminology

The "master-slave" terminology used in describing pseudoterminals
is problematic, and not even very technically descriptive. Rewrite
various manual pages to eliminate that language. The following
replacement terms are used:

slave ==> "terminal device"
       (or "terminal end of the pseudoterminal device pair")

master ==> "pseudoterminal device"
       (or "pseudoterminal end of the pseudoterminal device pair")

pseudoterminal (device) ==> "pseudoterminal device pair"

Another notable wording change is the use of phrasings such as
"the corresponding terminal device", when emphasizing the linkage
between the pseudoterminal and terminal ends of a pseudoterminal
device pair.

The terminology originates in golang (which made a similar
terminology change in 2019), and was suggested for Linux
man-pages by Elliot Hughes.

Reported-by: Elliott Hughes <enh@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agopts.4: Remove NOTES on BSD pseuodterminals
Michael Kerrisk [Wed, 29 Jul 2020 09:12:59 +0000 (11:12 +0200)] 
pts.4: Remove NOTES on BSD pseuodterminals

This information is already covered better in pty(7). No need to
mention it again here.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agopts.4: wfix
Michael Kerrisk [Wed, 29 Jul 2020 09:08:14 +0000 (11:08 +0200)] 
pts.4: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoopenpty.3: Minor wording fixes
Michael Kerrisk [Wed, 29 Jul 2020 08:10:14 +0000 (10:10 +0200)] 
openpty.3: Minor wording fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agopty.7: Explicitly mention CONFIG_LEGACY_PTYS
Michael Kerrisk [Wed, 29 Jul 2020 07:15:27 +0000 (09:15 +0200)] 
pty.7: Explicitly mention CONFIG_LEGACY_PTYS

Explicitly mention CONFIG_LEGACY_PTYS, and note that it is disabled
by default since Linux 2.6.30.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agopty.7: Relocate a paragraph to NOTES
Michael Kerrisk [Wed, 29 Jul 2020 06:42:49 +0000 (08:42 +0200)] 
pty.7: Relocate a paragraph to NOTES

The paragraph noting applications that use pseudoterminals is better
placed in NOTES than in the DESCRTIPTION.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agounlockpt.3: wfix
Michael Kerrisk [Tue, 28 Jul 2020 21:27:11 +0000 (23:27 +0200)] 
unlockpt.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agottyname.3: wfix
Michael Kerrisk [Tue, 28 Jul 2020 21:18:43 +0000 (23:18 +0200)] 
ttyname.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoptsname.3: wfix
Michael Kerrisk [Tue, 28 Jul 2020 21:05:11 +0000 (23:05 +0200)] 
ptsname.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agograntpt.3: Minor wording fix
Michael Kerrisk [Tue, 28 Jul 2020 20:56:50 +0000 (22:56 +0200)] 
grantpt.3: Minor wording fix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agogetpt.3, posix_openpt.3, pts.4: Use the term "pseudoterminal multiplexor device"...
Michael Kerrisk [Tue, 28 Jul 2020 20:42:56 +0000 (22:42 +0200)] 
getpt.3, posix_openpt.3, pts.4: Use the term "pseudoterminal multiplexor device" for /dev/ptmx

Let's use some consistent terminology for this device.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agogetpt.3: Minor wording fixes
Michael Kerrisk [Tue, 28 Jul 2020 20:40:04 +0000 (22:40 +0200)] 
getpt.3: Minor wording fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agogetpt.3, pts.4: Minor wording fixes
Michael Kerrisk [Tue, 28 Jul 2020 20:35:42 +0000 (22:35 +0200)] 
getpt.3, pts.4: Minor wording fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoioctl_tty.2: tfix
Michael Kerrisk [Wed, 29 Jul 2020 07:52:08 +0000 (09:52 +0200)] 
ioctl_tty.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoioctl_tty.2: Minor wording and formatting fixes
Michael Kerrisk [Wed, 29 Jul 2020 07:49:14 +0000 (09:49 +0200)] 
ioctl_tty.2: Minor wording and formatting fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoioctl_tty.2: Fix a confusing wording error in description of TIOCSPTLCK
Michael Kerrisk [Tue, 28 Jul 2020 20:13:52 +0000 (22:13 +0200)] 
ioctl_tty.2: Fix a confusing wording error in description of TIOCSPTLCK

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoVarious pages: Drop t comment header
Mike Frysinger [Thu, 23 Jul 2020 21:53:33 +0000 (17:53 -0400)] 
Various pages: Drop t comment header

Historically, a comment of the following form at the top of a
manual page was used to indicate too man(1) that the use of tbl(1)
was required in order to process tables:

    '\" t

However, at least as far back as 2001 (according to Branden),
man-db's man(1) automatically uses tbl(1) as needed, rendering
this comment unnecessary. And indeed many existing pages in
man-pages that have tables don't have this comment at the top of
the file.  So, drop the comment from those files where it is
present.

[mtk: completely rewrote commit message]

Reported-by: G. Branden Robinson <g.branden.robinson@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoseccomp.2: Minor tweaks to Andy Lutomirski's patch
Michael Kerrisk [Fri, 24 Jul 2020 12:15:00 +0000 (14:15 +0200)] 
seccomp.2: Minor tweaks to Andy Lutomirski's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoseccomp.2: Improve x32 and nr truncation notes
Andy Lutomirski [Fri, 10 Jul 2020 18:04:51 +0000 (11:04 -0700)] 
seccomp.2: Improve x32 and nr truncation notes

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoopen.2: Say a bit more about what happens when 'mode' is wrongly omitted
Michael Kerrisk [Fri, 24 Jul 2020 11:26:38 +0000 (13:26 +0200)] 
open.2: Say a bit more about what happens when 'mode' is wrongly omitted

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoopen.2: Minor wording fixes
Michael Kerrisk [Fri, 24 Jul 2020 11:16:16 +0000 (13:16 +0200)] 
open.2: Minor wording fixes

Add some paragraph breaks to the discussion of 'mode' to make
the details a bit easier to read.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoopen.2: srcfix: use saner macros to achieve same formatting effect
Michael Kerrisk [Fri, 24 Jul 2020 11:14:41 +0000 (13:14 +0200)] 
open.2: srcfix: use saner macros to achieve same formatting effect

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoVarious pages: Trim leading blank comment line
Mike Frysinger [Thu, 23 Jul 2020 21:53:40 +0000 (17:53 -0400)] 
Various pages: Trim leading blank comment line

Very few pages do this, so trim them.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoVarious pages: Use standard .\" comment style
Mike Frysinger [Thu, 23 Jul 2020 21:53:37 +0000 (17:53 -0400)] 
Various pages: Use standard .\" comment style

The \" comment produces blank lines.  Use the .\" that the vast
majority of the codebase uses instead.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoposix_memalign.3: Clarify how to free the result of posix_memalign
Bruno Haible [Mon, 20 Jul 2020 23:33:55 +0000 (01:33 +0200)] 
posix_memalign.3: Clarify how to free the result of posix_memalign

The man page did not tell how a memory block obtained through
posix_memalign() can be freed. POSIX:2018 says it.
https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_memalign.html
I verified using a test program that this is true for glibc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agowctob.3: tfix
Bruno Haible [Mon, 20 Jul 2020 23:33:33 +0000 (01:33 +0200)] 
wctob.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoioctl_fat.2, dladdr.3: tfix
Michael Kerrisk [Mon, 20 Jul 2020 11:46:38 +0000 (13:46 +0200)] 
ioctl_fat.2, dladdr.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agold.so.8: Clean up page internal cross references after Florian Weimer's patch
Michael Kerrisk [Mon, 20 Jul 2020 11:44:37 +0000 (13:44 +0200)] 
ld.so.8: Clean up page internal cross references after Florian Weimer's patch

The subsection named "Rpath token expansion" was renamed to
"Dynamic string tokens". Update the cross-references inside
the page accordingly.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agold.so.8: Minor tweaks to Florian Weimer's patch
Michael Kerrisk [Mon, 20 Jul 2020 11:43:12 +0000 (13:43 +0200)] 
ld.so.8: Minor tweaks to Florian Weimer's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agold.so.8: List more places in which dynamic string tokens are expanded
Florian Weimer [Mon, 20 Jul 2020 10:00:23 +0000 (12:00 +0200)] 
ld.so.8: List more places in which dynamic string tokens are expanded

This happens for more than just DT_RPATH/DT_RUNPATH.

Signed-off-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoproc.5: Use "pwd -P" for printing cwd
Jakub Wilk [Mon, 20 Jul 2020 06:12:00 +0000 (08:12 +0200)] 
proc.5: Use "pwd -P" for printing cwd

"/bin/pwd" happens to work with the GNU coreutils implementation,
which has -P as the default, contrary to POSIX requirements.

Use "pwd -P" instead, which is shorter, easier to type, and should
work everywhere.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoproc.5: tfix
Jakub Wilk [Mon, 20 Jul 2020 05:59:27 +0000 (07:59 +0200)] 
proc.5: tfix

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoprctl.2: tfix
Jakub Wilk [Mon, 20 Jul 2020 05:49:38 +0000 (07:49 +0200)] 
prctl.2: tfix

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agolseek.2: List gfs2 support for SEEK_HOLE/SEEK_DATA
Andrew Price [Thu, 9 Jul 2020 13:03:17 +0000 (14:03 +0100)] 
lseek.2: List gfs2 support for SEEK_HOLE/SEEK_DATA

Signed-off-by: Andrew Price <anprice@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocapabilities.7: tfix
Michael Kerrisk [Fri, 17 Jul 2020 08:11:54 +0000 (10:11 +0200)] 
capabilities.7: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocapabilities.7: CAP_SYS_RESOURCE: add two more items for POSIX message queues
Saikiran Madugula [Wed, 8 Jul 2020 19:29:35 +0000 (00:59 +0530)] 
capabilities.7: CAP_SYS_RESOURCE: add two more items for POSIX message queues

CAP_SYS_RESOURCE also allows overriding /proc/sys/fs/mqueue/msg_max
and /proc/sys/fs/mqueue/msgsize_max.

Signed-off-by: Saikiran Madugula <hummerbliss@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agopthread_rwlockattr_setkind_np.3: Clarify a PTHREAD_RWLOCK_PREFER_WRITER_NP detail
Carlos O'Donell [Thu, 16 Jul 2020 19:50:28 +0000 (15:50 -0400)] 
pthread_rwlockattr_setkind_np.3: Clarify a PTHREAD_RWLOCK_PREFER_WRITER_NP detail

Clarify that it is recursive read locks on the read-write lock
that make it difficult to implement
PTHREAD_RWLOCK_PREFER_WRITER_NP.

Update the libc-alpha URL and provide the URL to the POSIX wording
that is quoted in the comment.

Reported-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Carlos O'Donell <carlos@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocgroup_namespaces.7: wfix
Benjamin Peterson [Fri, 17 Jul 2020 04:26:43 +0000 (23:26 -0500)] 
cgroup_namespaces.7: wfix

Signed-off-by: Benjamin Peterson <benjamin@python.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosetns.2: EXAMPLE: use O_CLOEXEC when opening namespace file descriptor
Michael Kerrisk [Fri, 17 Jul 2020 07:22:52 +0000 (09:22 +0200)] 
setns.2: EXAMPLE: use O_CLOEXEC when opening namespace file descriptor

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agopidfd_open.2: Close the pidfd in EXAMPLE
Michael Kerrisk [Fri, 17 Jul 2020 07:13:31 +0000 (09:13 +0200)] 
pidfd_open.2: Close the pidfd in EXAMPLE

Close the PID file descriptor in the example program, to hint to
the reader that like every other kind of file descriptor, a PID FD
should be closed.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agotruncate.2: tfix
Michael Kerrisk [Mon, 13 Jul 2020 07:17:58 +0000 (09:17 +0200)] 
truncate.2: tfix

Reported-by: Diogo Miguel Ferreira Rodrigues <dmfrodrigues2000@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoprctl.2: The parent death signal is cleared on some credential changes
Michael Kerrisk [Sat, 11 Jul 2020 09:37:01 +0000 (11:37 +0200)] 
prctl.2: The parent death signal is cleared on some credential changes

See kernel/cred.c::commit_creds() in the Linux 5.6 source code.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agointro.1, localedef.1, memusage.1, memusagestat.1, bpf.2, execve.2, fork.2, keyctl...
Michael Kerrisk [Mon, 6 Jul 2020 12:28:51 +0000 (14:28 +0200)] 
intro.1, localedef.1, memusage.1, memusagestat.1, bpf.2, execve.2, fork.2, keyctl.2, request_key.2, sigaction.2, signal.2, socket.2, dlopen.3, getauxval.3, gnu_get_libc_version.3, pthread_atfork.3, sem_post.3, setjmp.3, strftime.3, veth.4, locale.5, nscd.conf.5, resolv.conf.5, address_families.7, armscii-8.7, ascii.7, capabilities.7, cgroups.7, charsets.7, cp1251.7, cp1252.7, iso_8859-1.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-15.7, iso_8859-16.7, iso_8859-2.7, iso_8859-3.7, iso_8859-4.7, iso_8859-5.7, iso_8859-6.7, iso_8859-7.7, iso_8859-8.7, iso_8859-9.7, keyrings.7, koi8-r.7, koi8-u.7, libc.7, locale.7, man.7, network_namespaces.7, persistent-keyring.7, session-keyring.7, signal.7, unicode.7, uri.7, user-keyring.7, user-session-keyring.7: ffix: replace - with real\-

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agomove_pages.2: ffix
Michael Kerrisk [Mon, 6 Jul 2020 11:57:58 +0000 (13:57 +0200)] 
move_pages.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agostrfmon.3: ffix
Michael Kerrisk [Mon, 6 Jul 2020 11:51:38 +0000 (13:51 +0200)] 
strfmon.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agostrfmon.3: ffix
Michael Kerrisk [Mon, 6 Jul 2020 11:48:36 +0000 (13:48 +0200)] 
strfmon.3: ffix

Reported-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman[13]/*: ffix: change '--' to '\-\-' (options) or '\(em' (em-dash)
Bjarni Ingi Gislason [Sun, 5 Jul 2020 16:37:47 +0000 (16:37 +0000)] 
man[13]/*: ffix: change '--' to '\-\-' (options) or '\(em' (em-dash)

  Change '--' to '\-\-' for options and '--' between words to '\(em'
(em-dash).

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoChanges.old: tfix
Jakub Wilk [Mon, 6 Jul 2020 04:39:07 +0000 (06:39 +0200)] 
Changes.old: tfix

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agotermios.3: tfix
Jakub Wilk [Mon, 6 Jul 2020 04:39:06 +0000 (06:39 +0200)] 
termios.3: tfix

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoprctl.2: tfix
Jakub Wilk [Mon, 6 Jul 2020 04:39:05 +0000 (06:39 +0200)] 
prctl.2: tfix

Remove duplicated word.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agomath_error.7: wfix
Michael Kerrisk [Mon, 6 Jul 2020 11:36:01 +0000 (13:36 +0200)] 
math_error.7: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoresolv.conf.5: Clarify that ip6-bytestring was removed in 2.25
Michael Kerrisk [Mon, 6 Jul 2020 11:03:22 +0000 (13:03 +0200)] 
resolv.conf.5: Clarify that ip6-bytestring was removed in 2.25

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agostrcmp.3: wfix
Michael Kerrisk [Mon, 6 Jul 2020 10:57:02 +0000 (12:57 +0200)] 
strcmp.3: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agostrcmp.3: tfix
Michael Kerrisk [Mon, 6 Jul 2020 10:54:47 +0000 (12:54 +0200)] 
strcmp.3: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoshmop.2: tfix
Michael Kerrisk [Mon, 6 Jul 2020 10:53:39 +0000 (12:53 +0200)] 
shmop.2: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoresolver.3: tfix
Michael Kerrisk [Mon, 6 Jul 2020 10:50:41 +0000 (12:50 +0200)] 
resolver.3: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoproc.5: srcfix
Michael Kerrisk [Mon, 6 Jul 2020 10:44:40 +0000 (12:44 +0200)] 
proc.5: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoproc.5: wfix
Michael Kerrisk [Mon, 6 Jul 2020 10:43:49 +0000 (12:43 +0200)] 
proc.5: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoopen.2: tfix
Michael Kerrisk [Mon, 6 Jul 2020 10:42:33 +0000 (12:42 +0200)] 
open.2: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agomremap.2: tfix
Michael Kerrisk [Mon, 6 Jul 2020 10:41:25 +0000 (12:41 +0200)] 
mremap.2: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agommap.2: wfix
Michael Kerrisk [Mon, 6 Jul 2020 10:39:09 +0000 (12:39 +0200)] 
mmap.2: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agogetusershell.3: ffix
Michael Kerrisk [Mon, 6 Jul 2020 10:37:36 +0000 (12:37 +0200)] 
getusershell.3: ffix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoexecve.2: tfix
Michael Kerrisk [Mon, 6 Jul 2020 10:35:57 +0000 (12:35 +0200)] 
execve.2: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agodsp56k.4: ffix
Michael Kerrisk [Mon, 6 Jul 2020 10:04:38 +0000 (12:04 +0200)] 
dsp56k.4: ffix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosend.2, recv.2: Add msg_iovlen POSIX note
Alyssa Ross [Fri, 3 Jul 2020 01:25:40 +0000 (01:25 +0000)] 
send.2, recv.2: Add msg_iovlen POSIX note

msg_iovlen is incorrectly typed (according to POSIX) in addition
to msg_controllen, but unlike msg_controllen, this wasn't
mentioned for msg_iovlen.

msg_iovlen being incorrectly typed hasn't been reported as a GCC
bug, but there's no point since it is caused by the same
underlying issue.

Sources: POSIX.1-2017 (<sys/socket.h>), Linux
(include/linux/socket.h)

Signed-off-by: Alyssa Ross <hi@alyssa.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agomount.2: ERRORS: add EINVAL for bind mount of mount namespace inode
Michael Kerrisk [Fri, 3 Jul 2020 10:38:18 +0000 (12:38 +0200)] 
mount.2: ERRORS: add EINVAL for bind mount of mount namespace inode

See kernel commit 8823c079ba7136dc1948d6f6dcb5f8022bde438e
and the in fs/namespace.c::do_loopback():

        err = -EINVAL;
        if (mnt_ns_loop(old_path.dentry))
                goto out;

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agostrfromd.3: ffix: use \- for minus sign
Michael Kerrisk [Thu, 2 Jul 2020 10:24:45 +0000 (12:24 +0200)] 
strfromd.3: ffix: use \- for minus sign

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman3/*: ffix: change '-' to '\-' for options
Bjarni Ingi Gislason [Wed, 1 Jul 2020 22:50:59 +0000 (22:50 +0000)] 
man3/*: ffix: change '-' to '\-' for options

  Change '-' to '\-' for the prefix of names to indicate an option.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman8/*: ffix: change '-' to '\-' for options
Bjarni Ingi Gislason [Wed, 1 Jul 2020 23:38:01 +0000 (23:38 +0000)] 
man8/*: ffix: change '-' to '\-' for options

  Change '-' to '\-' for the prefix of names to indicate an option.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman7/*: ffix: change '-' to '\-' for options and to '\(en' for a range
Bjarni Ingi Gislason [Wed, 1 Jul 2020 23:31:30 +0000 (23:31 +0000)] 
man7/*: ffix: change '-' to '\-' for options and to '\(en' for a range

  Change '-' to '\-' for the prefix of names to indicate an option.

  Change '-' to '\(en' for a range.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman5/*: ffix: change '-' to '\-' for options
Bjarni Ingi Gislason [Wed, 1 Jul 2020 23:12:18 +0000 (23:12 +0000)] 
man5/*: ffix: change '-' to '\-' for options

  Change '-' to '\-' for the prefix of names to indicate an option.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman4/*: ffix: change '-' to '\-' for options
Bjarni Ingi Gislason [Wed, 1 Jul 2020 23:01:21 +0000 (23:01 +0000)] 
man4/*: ffix: change '-' to '\-' for options

  Change '-' to '\-' for the prefix of names to indicate an option.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman2/*: ffix: change '-' to '\-' for options
Bjarni Ingi Gislason [Wed, 1 Jul 2020 22:08:50 +0000 (22:08 +0000)] 
man2/*: ffix: change '-' to '\-' for options

  Change '-' to '\-' for the prefix of names to indicate an option.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman1/*: ffix: change '-' to '\-' for options
Bjarni Ingi Gislason [Wed, 1 Jul 2020 22:05:53 +0000 (22:05 +0000)] 
man1/*: ffix: change '-' to '\-' for options

  Change '-' to '\-' for the prefix of names to indicate an option.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoftw.3: srcfix
Michael Kerrisk [Thu, 2 Jul 2020 08:36:55 +0000 (10:36 +0200)] 
ftw.3: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocgroups.7, cpuset.7: Update kernel cgroup documentation references
Sven Hoexter [Mon, 29 Jun 2020 14:41:10 +0000 (16:41 +0200)] 
cgroups.7, cpuset.7: Update kernel cgroup documentation references

cgroups-v1/v2 documentation got moved to the "admin-guide" subfolder
and converted from .txt files to .rst

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agohosts.5: Clarify capability for IPv6 outside of examples
Thomas Bartelsmeier [Mon, 29 Jun 2020 15:07:16 +0000 (17:07 +0200)] 
hosts.5: Clarify capability for IPv6 outside of examples

Resolves https://bugzilla.kernel.org/show_bug.cgi?id=208279

Signed-off-by: Thomas Bartelsmeier <t.bartelsmeier@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agostrfromd.3: wfix (null character --> null byte)
Michael Kerrisk [Mon, 29 Jun 2020 20:30:07 +0000 (22:30 +0200)] 
strfromd.3: wfix (null character --> null byte)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoiopl.2: Minor tweaks to Thomas Piekarski's patch
Michael Kerrisk [Mon, 29 Jun 2020 11:46:00 +0000 (13:46 +0200)] 
iopl.2: Minor tweaks to Thomas Piekarski's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoiopl.2: Updating description of permissions and disabling interrupts
Thomas Piekarski [Fri, 26 Jun 2020 20:29:23 +0000 (22:29 +0200)] 
iopl.2: Updating description of permissions and disabling interrupts

Update description of permissions for port-mapped I/O set
per-thread and not per-process. Mention that iopl() can not
disable interrupts since Linux 5.5 anymore and is in general
deprecated and only provided for legacy X servers.

See https://bugzilla.kernel.org/show_bug.cgi?id=205317

Reported-by: victorm007@yahoo.com
Signed-off-by: Thomas Piekarski <t.piekarski@deloquencia.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoprctl.2: srcfix: add various people to copyright
Michael Kerrisk [Fri, 26 Jun 2020 11:42:48 +0000 (13:42 +0200)] 
prctl.2: srcfix: add various people to copyright

Based on git history.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoprctl.2: Minor fixes to Dave Martin's patch
Michael Kerrisk [Fri, 26 Jun 2020 11:21:15 +0000 (13:21 +0200)] 
prctl.2: Minor fixes to Dave Martin's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoprctl.2: Add tagged address ABI control prctls (arm64)
Dave Martin [Wed, 24 Jun 2020 17:36:02 +0000 (18:36 +0100)] 
prctl.2: Add tagged address ABI control prctls (arm64)

Add documentation for the the PR_SET_TAGGED_ADDR_CTRL and
PR_GET_TAGGED_ADDR_CTRL prctls added in Linux 5.4 for arm64.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoprctl.2: Minor tweaks to Dave Martin's patch
Michael Kerrisk [Fri, 26 Jun 2020 11:13:19 +0000 (13:13 +0200)] 
prctl.2: Minor tweaks to Dave Martin's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoprctl.2: Add SVE prctls (arm64)
Dave Martin [Wed, 24 Jun 2020 17:36:01 +0000 (18:36 +0100)] 
prctl.2: Add SVE prctls (arm64)

Add documentation for the the PR_SVE_SET_VL and PR_SVE_GET_VL
prctls added in Linux 4.15 for arm64.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agolocale.5: srcfix
Michael Kerrisk [Fri, 26 Jun 2020 09:34:20 +0000 (11:34 +0200)] 
locale.5: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agolocale.5: tfix
Michael Kerrisk [Fri, 26 Jun 2020 09:33:41 +0000 (11:33 +0200)] 
locale.5: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocciss.4: tfix
Michael Kerrisk [Fri, 26 Jun 2020 09:29:02 +0000 (11:29 +0200)] 
cciss.4: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoclone.2: tfix
Michael Kerrisk [Fri, 26 Jun 2020 09:17:44 +0000 (11:17 +0200)] 
clone.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosemctl.2: tfix
Michael Kerrisk [Fri, 26 Jun 2020 09:15:53 +0000 (11:15 +0200)] 
semctl.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosync.2: Minor fixes
Michael Kerrisk [Fri, 26 Jun 2020 09:08:19 +0000 (11:08 +0200)] 
sync.2: Minor fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosync.2: Minor tweaks to Jeff Layton's patch
Michael Kerrisk [Fri, 26 Jun 2020 09:07:30 +0000 (11:07 +0200)] 
sync.2: Minor tweaks to Jeff Layton's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosync.2: syncfs() now returns errors if writeback fails
Jeff Layton [Thu, 25 Jun 2020 23:37:31 +0000 (19:37 -0400)] 
sync.2: syncfs() now returns errors if writeback fails

A patch has been merged for v5.8 that changes how syncfs() reports
errors. Change the sync() manpage accordingly.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agotcp.7: tfix
Philip Adams [Fri, 26 Jun 2020 04:46:34 +0000 (00:46 -0400)] 
tcp.7: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agogethostid.3: wfix: s/is intended/was intended/
Michael Kerrisk [Thu, 25 Jun 2020 19:35:44 +0000 (21:35 +0200)] 
gethostid.3: wfix: s/is intended/was intended/

The host ID might once have been intended to be globally unique,
but that turned out not to feasible.

Reported-by: Rich Felker <dalias@libc.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agold.so.8: Explain than empty entry in LD_LIBRARY_PATH means cwd
Arkadiusz Drabczyk [Tue, 23 Jun 2020 22:59:10 +0000 (00:59 +0200)] 
ld.so.8: Explain than empty entry in LD_LIBRARY_PATH means cwd

If this was ever going to change the test case is very simple:

$ cd /tmp
$ touch libc.so.6
$ LD_LIBRARY_PATH=: sh
sh: error while loading shared libraries: libc.so.6: file too short

Signed-off-by: Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoip.7: Remove mention of ipfw(4) which was in long obsolete ipchains project
Michael Kerrisk [Thu, 25 Jun 2020 07:00:59 +0000 (09:00 +0200)] 
ip.7: Remove mention of ipfw(4) which was in long obsolete ipchains project

Reported-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agommap.2: tfix
Michael Kerrisk [Thu, 25 Jun 2020 06:10:21 +0000 (08:10 +0200)] 
mmap.2: tfix

Reported-by: Bruno Haible <bruno@clisp.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocapabilities.7: Clarify that CAP_SYS_NICE relates to *lowering* the nice value
Dan Kenigsberg [Wed, 24 Jun 2020 11:43:06 +0000 (13:43 +0200)] 
capabilities.7: Clarify that CAP_SYS_NICE relates to *lowering* the nice value

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agostandards.7: Add an entry for POSIX.1-1988
Michael Kerrisk [Wed, 24 Jun 2020 11:20:45 +0000 (13:20 +0200)] 
standards.7: Add an entry for POSIX.1-1988

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