]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
4 years agodsp56k.4: wfix
Michael Kerrisk [Mon, 20 Apr 2020 08:47:08 +0000 (10:47 +0200)] 
dsp56k.4: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoinitrd.4: ffix
Michael Kerrisk [Mon, 20 Apr 2020 08:17:05 +0000 (10:17 +0200)] 
initrd.4: ffix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosecuretty.5: Improve wording of .SH one-line description
Michael Kerrisk [Mon, 20 Apr 2020 08:06:44 +0000 (10:06 +0200)] 
securetty.5: Improve wording of .SH one-line description

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agostatfs.2: wfix
Michael Kerrisk [Mon, 20 Apr 2020 08:04:58 +0000 (10:04 +0200)] 
statfs.2: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agogethostbyname.3:
Michael Kerrisk [Mon, 20 Apr 2020 07:52:31 +0000 (09:52 +0200)] 
gethostbyname.3:

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agogetopt.3: wfix
Michael Kerrisk [Mon, 20 Apr 2020 07:47:54 +0000 (09:47 +0200)] 
getopt.3: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agodsp56k.4: wfix
Michael Kerrisk [Mon, 20 Apr 2020 07:42:51 +0000 (09:42 +0200)] 
dsp56k.4: wfix

The structure in the kernel appears to be named 'dsp56k_upload'
not 'dsp56k_binary'. And this appears always to have been so.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoproc.5: Minor tweaks to /proc/[pid]/mountstats example line
Michael Kerrisk [Mon, 20 Apr 2020 07:34:09 +0000 (09:34 +0200)] 
proc.5: Minor tweaks to /proc/[pid]/mountstats example line

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoproc.5: Better explanation of some /proc/ide fields
Michael Kerrisk [Mon, 20 Apr 2020 07:31:00 +0000 (09:31 +0200)] 
proc.5: Better explanation of some /proc/ide fields

Taken from Documentation/filesystems/proc.txt.

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agowavelan.4: wfix
Michael Kerrisk [Mon, 20 Apr 2020 07:24:00 +0000 (09:24 +0200)] 
wavelan.4: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agowavelan.4: ffix
Michael Kerrisk [Mon, 20 Apr 2020 07:19:19 +0000 (09:19 +0200)] 
wavelan.4: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agowavelan.4: wfix
Michael Kerrisk [Mon, 20 Apr 2020 07:18:41 +0000 (09:18 +0200)] 
wavelan.4: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agowavelan.4: wfix
Michael Kerrisk [Mon, 20 Apr 2020 07:16:20 +0000 (09:16 +0200)] 
wavelan.4: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agowavelan.4: wfix
Michael Kerrisk [Mon, 20 Apr 2020 07:14:26 +0000 (09:14 +0200)] 
wavelan.4: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoconsole_codes.4: wfix
Michael Kerrisk [Mon, 20 Apr 2020 06:57:17 +0000 (08:57 +0200)] 
console_codes.4: wfix

("abort" is used elsewhere in the page.)

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoexec.3: wfix
Michael Kerrisk [Mon, 20 Apr 2020 06:50:14 +0000 (08:50 +0200)] 
exec.3: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoerrno.3: ffix
Michael Kerrisk [Mon, 20 Apr 2020 06:37:56 +0000 (08:37 +0200)] 
errno.3: ffix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agodsp56k.4: ffix
Michael Kerrisk [Mon, 20 Apr 2020 06:35:33 +0000 (08:35 +0200)] 
dsp56k.4: ffix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoascii.7: SEE ALSO: fix sort order in entries
Michael Kerrisk [Mon, 20 Apr 2020 06:29:30 +0000 (08:29 +0200)] 
ascii.7: SEE ALSO: fix sort order in entries

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomremap.2: tfix
Michael Kerrisk [Sun, 19 Apr 2020 22:10:27 +0000 (00:10 +0200)] 
mremap.2: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoproc.5: tfix
Michael Kerrisk [Sun, 19 Apr 2020 22:07:19 +0000 (00:07 +0200)] 
proc.5: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoproc.5: tfix
Michael Kerrisk [Sun, 19 Apr 2020 22:02:52 +0000 (00:02 +0200)] 
proc.5: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoreaddir.3: wfix
Michael Kerrisk [Sun, 19 Apr 2020 22:01:16 +0000 (00:01 +0200)] 
readdir.3: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agortc.4: tfix
Michael Kerrisk [Sun, 19 Apr 2020 21:59:20 +0000 (23:59 +0200)] 
rtc.4: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoscanf.3: tfix
Michael Kerrisk [Sun, 19 Apr 2020 21:54:11 +0000 (23:54 +0200)] 
scanf.3: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosysconf.3: tfix
Michael Kerrisk [Sun, 19 Apr 2020 21:48:21 +0000 (23:48 +0200)] 
sysconf.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agost.4: tfix
Michael Kerrisk [Sun, 19 Apr 2020 21:40:11 +0000 (23:40 +0200)] 
st.4: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agost.4: tfix
Michael Kerrisk [Sun, 19 Apr 2020 21:34:17 +0000 (23:34 +0200)] 
st.4: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosignal.7: tfix
Michael Kerrisk [Sun, 19 Apr 2020 21:32:58 +0000 (23:32 +0200)] 
signal.7: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoresolver.3: ffix
Michael Kerrisk [Sun, 19 Apr 2020 21:31:01 +0000 (23:31 +0200)] 
resolver.3: ffix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomlock.2: tfix
Michael Kerrisk [Sun, 19 Apr 2020 21:27:43 +0000 (23:27 +0200)] 
mlock.2: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoinitrd.4: tfix
Michael Kerrisk [Sun, 19 Apr 2020 21:23:36 +0000 (23:23 +0200)] 
initrd.4: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agostrstr.3: srcfix: remove some ancient Linux libc details that were in comments
Michael Kerrisk [Sun, 19 Apr 2020 20:43:41 +0000 (22:43 +0200)] 
strstr.3: srcfix: remove some ancient Linux libc details that were in comments

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoutmp.5: tfix
Michael Kerrisk [Sun, 19 Apr 2020 20:37:18 +0000 (22:37 +0200)] 
utmp.5: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoutmp.5: tfix
Michael Kerrisk [Sun, 19 Apr 2020 20:35:38 +0000 (22:35 +0200)] 
utmp.5: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agotermcap.5: wfix
Michael Kerrisk [Sun, 19 Apr 2020 20:26:31 +0000 (22:26 +0200)] 
termcap.5: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoproc.5: tfix
Michael Kerrisk [Sun, 19 Apr 2020 20:23:32 +0000 (22:23 +0200)] 
proc.5: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agonice.2: wfix
Michael Kerrisk [Sun, 19 Apr 2020 20:22:32 +0000 (22:22 +0200)] 
nice.2: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoinitrd.4: wfix
Michael Kerrisk [Sun, 19 Apr 2020 20:19:00 +0000 (22:19 +0200)] 
initrd.4: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agopipe.2, st.4, filesystems.5: tfix
Michael Kerrisk [Sun, 19 Apr 2020 20:17:03 +0000 (22:17 +0200)] 
pipe.2, st.4, filesystems.5: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoproc.5: wfix
Michael Kerrisk [Sun, 19 Apr 2020 20:13:21 +0000 (22:13 +0200)] 
proc.5: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agorename.2: tfix
Michael Kerrisk [Sun, 19 Apr 2020 20:11:55 +0000 (22:11 +0200)] 
rename.2: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agofilesystems.5: tfix
Michael Kerrisk [Sun, 19 Apr 2020 20:06:38 +0000 (22:06 +0200)] 
filesystems.5: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agofcntl.2: wfix
Michael Kerrisk [Sun, 19 Apr 2020 20:05:49 +0000 (22:05 +0200)] 
fcntl.2: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agopersonality.2: wfix
Michael Kerrisk [Sun, 19 Apr 2020 20:03:46 +0000 (22:03 +0200)] 
personality.2: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocarg.3: tfix
Michael Kerrisk [Sun, 19 Apr 2020 20:02:20 +0000 (22:02 +0200)] 
carg.3: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoexecve.2: tfix
Michael Kerrisk [Sun, 19 Apr 2020 20:01:08 +0000 (22:01 +0200)] 
execve.2: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoopen.2: tfix
Michael Kerrisk [Sun, 19 Apr 2020 19:59:43 +0000 (21:59 +0200)] 
open.2: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agohypot.3: wfix
Michael Kerrisk [Sun, 19 Apr 2020 19:57:49 +0000 (21:57 +0200)] 
hypot.3: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agogetmntent.3: ffix
Michael Kerrisk [Sun, 19 Apr 2020 19:55:11 +0000 (21:55 +0200)] 
getmntent.3: ffix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomknod.2: tfix
Michael Kerrisk [Sun, 19 Apr 2020 19:54:00 +0000 (21:54 +0200)] 
mknod.2: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agowavelan.4: tfix
Michael Kerrisk [Sun, 19 Apr 2020 19:47:48 +0000 (21:47 +0200)] 
wavelan.4: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agox25.7: tfix
Michael Kerrisk [Sun, 19 Apr 2020 19:45:01 +0000 (21:45 +0200)] 
x25.7: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agorename.2: tfix
Michael Kerrisk [Sun, 19 Apr 2020 19:43:36 +0000 (21:43 +0200)] 
rename.2: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosysconf.3: tfix
Michael Kerrisk [Sun, 19 Apr 2020 19:40:04 +0000 (21:40 +0200)] 
sysconf.3: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoswapon.2: wfix
Michael Kerrisk [Sun, 19 Apr 2020 19:39:14 +0000 (21:39 +0200)] 
swapon.2: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agostrftime.3: tfix
Michael Kerrisk [Sun, 19 Apr 2020 19:37:41 +0000 (21:37 +0200)] 
strftime.3: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoinitrd.4: tfix
Michael Kerrisk [Sun, 19 Apr 2020 19:32:12 +0000 (21:32 +0200)] 
initrd.4: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoerf.3: wfix
Michael Kerrisk [Sun, 19 Apr 2020 19:28:57 +0000 (21:28 +0200)] 
erf.3: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoerf.3: tfix
Michael Kerrisk [Sun, 19 Apr 2020 19:26:28 +0000 (21:26 +0200)] 
erf.3: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocpuid.4: wfix
Michael Kerrisk [Sun, 19 Apr 2020 19:25:31 +0000 (21:25 +0200)] 
cpuid.4: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocapabilities.7: tfix
Michael Kerrisk [Sun, 19 Apr 2020 19:20:09 +0000 (21:20 +0200)] 
capabilities.7: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agogcvt.3: wfix
Michael Kerrisk [Sun, 19 Apr 2020 19:17:37 +0000 (21:17 +0200)] 
gcvt.3: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocapabilities.7: tfix
Michael Kerrisk [Sun, 19 Apr 2020 14:42:00 +0000 (16:42 +0200)] 
capabilities.7: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosocket.7: Minor tweaks to SO_RCVLOWAT description
Michael Kerrisk [Fri, 17 Apr 2020 13:33:28 +0000 (15:33 +0200)] 
socket.7: Minor tweaks to SO_RCVLOWAT description

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agommap.2: srcfix: note kernel commit that caused MAP_POPULATE | MAP_NONBLOCK to be...
Kirill Smelkov [Fri, 17 Apr 2020 11:24:48 +0000 (13:24 +0200)] 
mmap.2: srcfix: note kernel commit that caused MAP_POPULATE | MAP_NONBLOCK to be noop

Signed-off-by: Kirill Smelkov <kirr@nexedi.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agonetlink.7: Note that NETLINK_SOCK_DIAG is preferred over NETLINK_INET_DIAG
Michael Kerrisk [Fri, 17 Apr 2020 11:09:59 +0000 (13:09 +0200)] 
netlink.7: Note that NETLINK_SOCK_DIAG is preferred over NETLINK_INET_DIAG

Reported-by: Fabien Siron <fabien.siron@epita.fr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoposix_spawn.3: ffix
Michael Kerrisk [Fri, 17 Apr 2020 10:29:16 +0000 (12:29 +0200)] 
posix_spawn.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoposix_spawn.3: Document the POSIX_SPAWN_SETSID attribute
Olivier Gayot [Tue, 16 Oct 2018 19:37:51 +0000 (21:37 +0200)] 
posix_spawn.3: Document the POSIX_SPAWN_SETSID attribute

Since glibc 2.26, posix_spawn (2) function accepts the
POSIX_SPAWN_SETSID flag. This flag has been accepted by POSIX and
should be added to the next major revision. The current support
can be enabled with _GNU_SOURCE.

Upstream commit in glibc.git:

  daeb1fa2e1 [BZ 21340] add support for POSIX_SPAWN_SETSID

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoposix_spawn.3: Clarify by using name of steps rather than syscalls
Olivier Gayot [Tue, 16 Oct 2018 19:37:50 +0000 (21:37 +0200)] 
posix_spawn.3: Clarify by using name of steps rather than syscalls

The implementation of the fork() step in posix_spawn(2) relies on
either fork(2), vfork(2) or clone(2) depending on the version of
the glibc and the arguments passed to posix_spawn(2).

It is sometimes ambiguous whether, when we are mentioning
"fork(2)", we are referring to the fork() step or the actual
fork(2) syscall.

This patch hopefully avoids the ambiguity by replacing confusing
occurrences by "the xxx() step" where appropriate.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoposix_spawn.3: Document POSIX_SPAWN_USEVFORK
Olivier Gayot [Tue, 16 Oct 2018 19:37:49 +0000 (21:37 +0200)] 
posix_spawn.3: Document POSIX_SPAWN_USEVFORK

Added a few lines about POSIX_SPAWN_USEVFORK so that it appears
clearly that since glibc 2.24, the flag has no effect.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoposix_spawn.3: Document implementation using clone() since glibc 2.24
Olivier Gayot [Tue, 16 Oct 2018 19:37:48 +0000 (21:37 +0200)] 
posix_spawn.3: Document implementation using clone() since glibc 2.24

Since glibc 2.24, the use of posix_spawn (2) makes an
unconditional call to clone(CLONE_VM | CLONE_VFORK ...) rather
than relying on fork (2) or vfork (2).

As a consequence, the statements regarding the use of the flag
POSIX_SPAWN_USEVFORK and how the function decides whether it
should use fork (2) or vfork (2) are obsolete since glibc 2.24.

This patch makes a distinction in the manual page between glibc
2.24 and older versions.

Upstream commit in glibc.git:

  9ff72da471 posix: New Linux posix_spawn{p} implementation

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agobpf.2: Update enum bpf_map_type and enum bpf_prog_type
Peter Wu [Sun, 4 Aug 2019 20:53:53 +0000 (21:53 +0100)] 
bpf.2: Update enum bpf_map_type and enum bpf_prog_type

Taken from Linux v5.3-rc2. Add a reference to the header file to
save the future reader some time figuring out whether more entries
exist.

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agobpf.2: srcfix: Add a note on check for unprivileged BPF_PROG_TYPE_SOCKET_FILTER programs
Michael Kerrisk [Fri, 17 Apr 2020 09:55:13 +0000 (11:55 +0200)] 
bpf.2: srcfix: Add a note on check for unprivileged BPF_PROG_TYPE_SOCKET_FILTER programs

In Linux 4.4, the allowed BPF helper functions that could
be called was governed by a check in sk_filter_func_proto().
Nowadays (Linux 5.6), it is I think governed by the check in
sk_filter_func_proto().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agobpf.2: Minor tweaks to Richard Palethorpe's patch
Michael Kerrisk [Fri, 17 Apr 2020 09:49:30 +0000 (11:49 +0200)] 
bpf.2: Minor tweaks to Richard Palethorpe's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agobpf.2: Change note on unprivileged access
Richard Palethorpe [Mon, 29 Jul 2019 12:58:43 +0000 (14:58 +0200)] 
bpf.2: Change note on unprivileged access

This notes that the kernel now allows calls to bpf() without CAP_SYS_ADMIN
under some circumstances.

Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoclone.2: wfix
Michael Kerrisk [Fri, 17 Apr 2020 07:06:20 +0000 (09:06 +0200)] 
clone.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocgroups.7: Mention cgroup.sane_behavior file
Marcus Gelderie [Fri, 25 Jan 2019 21:21:23 +0000 (22:21 +0100)] 
cgroups.7: Mention cgroup.sane_behavior file

The cgroup.sane_behavior file returns the hard-coded value "0" and
is kept for legacy purposes. Mention this in the man-page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agobpf-helpers.7: Sync against Linux 5.7-rc1
Michael Kerrisk [Thu, 16 Apr 2020 11:45:41 +0000 (13:45 +0200)] 
bpf-helpers.7: Sync against Linux 5.7-rc1

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomove_pages.2: Minor tweaks to Yang Shi's patch
Michael Kerrisk [Thu, 16 Apr 2020 11:34:39 +0000 (13:34 +0200)] 
move_pages.2: Minor tweaks to Yang Shi's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomove_pages.2: Returning positive value is a new error case
Yang Shi [Mon, 3 Feb 2020 19:18:27 +0000 (03:18 +0800)] 
move_pages.2: Returning positive value is a new error case

Since commit a49bd4d71637 ("mm, numa: rework do_pages_move"), the
semantic of move_pages() has changed to return the number of
non-migrated pages if they were result of a non-fatal reasons
(usually a busy page).  This was an unintentional change that
hasn't been noticed except for LTP tests which checked for the
documented behavior.

There are two ways to go around this change.  We can even get back
to the original behavior and return -EAGAIN whenever migrate_pages
is not able to migrate pages due to non-fatal reasons.  Another
option would be to simply continue with the changed semantic and
extend move_pages documentation to clarify that -errno is returned
on an invalid input or when migration simply cannot succeed (e.g.
-ENOMEM, -EBUSY) or the number of pages that couldn't have been
migrated due to ephemeral reasons (e.g. page is pinned or locked
for other reasons).

We decided to keep the second option in kernel because this
behavior is in place for some time without anybody complaining and
possibly new users depending on it.  Also it allows to have a
slightly easier error handling as the caller knows that it is
worth to retry when err > 0.

Update man pages to reflect the new semantic.

Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: Yang Shi <yang.shi@linux.alibaba.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agonamespaces.7: Document /proc/sys/user/max_time_namespaces
Michael Kerrisk [Thu, 16 Apr 2020 11:25:02 +0000 (13:25 +0200)] 
namespaces.7: Document /proc/sys/user/max_time_namespaces

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agonamespaces.7: tfix
Michael Kerrisk [Thu, 16 Apr 2020 11:23:44 +0000 (13:23 +0200)] 
namespaces.7: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agogetauxval.3: Minor tweaks to YunQiang Su's patch
Michael Kerrisk [Thu, 16 Apr 2020 11:13:12 +0000 (13:13 +0200)] 
getauxval.3: Minor tweaks to YunQiang Su's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agogetauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level
YunQiang Su [Sun, 22 Mar 2020 09:55:27 +0000 (17:55 +0800)] 
getauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level

Since Linux 5.7, on MIPS, we use AT_BASE_PLATFORM to pass ISA level.
The values may be:
  mips2, mips3, mips4, mips5,
  mips32, mips32r2, mips32r6,
  mips64, mips64r2, mips64r6.

This behavior is different with PowerPC.

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e585b768da111f2c2d413de6214e83bbdfee8f22
Signed-off-by: YunQiang Su <syq@debian.org>
----
v1 -> v2: fix typo

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agos390_runtime_instr.2: Various reworking of Heiko Carstens's patch
Michael Kerrisk [Thu, 16 Apr 2020 10:30:00 +0000 (12:30 +0200)] 
s390_runtime_instr.2: Various reworking of Heiko Carstens's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agos390_runtime_instr.2: srcfix: rewrap long source lines
Michael Kerrisk [Thu, 16 Apr 2020 10:18:19 +0000 (12:18 +0200)] 
s390_runtime_instr.2: srcfix: rewrap long source lines

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agos390_runtime_instr.2: Document signum argument behavior change
Heiko Carstens [Thu, 16 Apr 2020 10:10:07 +0000 (12:10 +0200)] 
s390_runtime_instr.2: Document signum argument behavior change

Document that the signum argument is ignored in newer kernels, but
that user space should pass a valid real-time signal number for
backwards compatibility.

Cowritten-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomsgctl.2: Correct description of 'msg_ctime' field
Michael Kerrisk [Thu, 16 Apr 2020 09:48:08 +0000 (11:48 +0200)] 
msgctl.2: Correct description of 'msg_ctime' field

Verified by inspecting kernel source.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoshmctl.2: f
Michael Kerrisk [Thu, 16 Apr 2020 09:47:16 +0000 (11:47 +0200)] 
shmctl.2: f

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoshmctl.2: Correct 'shm_ctime' description
Michael Kerrisk [Thu, 16 Apr 2020 09:41:47 +0000 (11:41 +0200)] 
shmctl.2: Correct 'shm_ctime' description

Verified from kernel sources.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosemctl.2: Correct description of sem_ctime field
Michael Kerrisk [Thu, 16 Apr 2020 09:33:17 +0000 (11:33 +0200)] 
semctl.2: Correct description of sem_ctime field

Verified from inspection of kernel source code.

Reported-by: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosemctl.2: tfix
Michael Kerrisk [Thu, 16 Apr 2020 09:27:19 +0000 (11:27 +0200)] 
semctl.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomremap.2: Remove mention of "Segmentation fault" in EFAULT text
Michael Kerrisk [Thu, 16 Apr 2020 06:23:09 +0000 (08:23 +0200)] 
mremap.2: Remove mention of "Segmentation fault" in EFAULT text

"Segmentation fault" (SIGSEGV) is not exactly the same thing as
EFAULT.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomremap.2: Move a paragraph on MREMAP_DONTUNMAP from NOTES to DESCRIPTION
Michael Kerrisk [Thu, 16 Apr 2020 06:21:30 +0000 (08:21 +0200)] 
mremap.2: Move a paragraph on MREMAP_DONTUNMAP from NOTES to DESCRIPTION

I think things read slightly easier, if all of the info on
MREMAP_DONTUNMAP is in one place.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomremap.2: Move a paragraph from DESCRIPTION to NOTES
Michael Kerrisk [Thu, 16 Apr 2020 06:16:01 +0000 (08:16 +0200)] 
mremap.2: Move a paragraph from DESCRIPTION to NOTES

The paragraph on Linux VM is rather generic, and does not belong
in DESCRIPTION. In fact, I'm not sure it even belongs in this
page.  At the least, let's move it to NOTES.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomremap.2: Move a paragraph from DESCRIPTION to NOTES
Michael Kerrisk [Thu, 16 Apr 2020 06:10:46 +0000 (08:10 +0200)] 
mremap.2: Move a paragraph from DESCRIPTION to NOTES

And while we are at it, remove a sentence that makes an obvious
point (that mremap() uses the Linux page table scheme).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomremap.2: wfix
Michael Kerrisk [Thu, 16 Apr 2020 06:03:34 +0000 (08:03 +0200)] 
mremap.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomremap.2: Reorder some paragraphs in NOTES
Michael Kerrisk [Thu, 16 Apr 2020 05:50:35 +0000 (07:50 +0200)] 
mremap.2: Reorder some paragraphs in NOTES

Details of glibc 2.4, which is by now fairly old, would be
better at the end of NOTES than at the start.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomremap.2: Some more improvements to Brian Geffon's patch
Michael Kerrisk [Thu, 16 Apr 2020 05:49:04 +0000 (07:49 +0200)] 
mremap.2: Some more improvements to Brian Geffon's patch

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