]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
7 years agoReady for 4.10 man-pages-4.10
Michael Kerrisk [Mon, 13 Mar 2017 20:17:57 +0000 (21:17 +0100)] 
Ready for 4.10

7 years agoRemoved trailing white space at end of lines
Michael Kerrisk [Mon, 13 Mar 2017 20:17:48 +0000 (21:17 +0100)] 
Removed trailing white space at end of lines

7 years agoadd_key.2, execve.2, fork.2, fsync.2, getrandom.2, getrlimit.2, getxattr.2, inotify_a...
Michael Kerrisk [Mon, 13 Mar 2017 20:14:49 +0000 (21:14 +0100)] 
add_key.2, execve.2, fork.2, fsync.2, getrandom.2, getrlimit.2, getxattr.2, inotify_add_watch.2, ioctl.2, ioctl_fat.2, kcmp.2, keyctl.2, link.2, listxattr.2, lseek.2, madvise.2, mincore.2, mlock.2, nanosleep.2, poll.2, posix_fadvise.2, read.2, readv.2, recv.2, request_key.2, select.2, send.2, setxattr.2, sigaction.2, stat.2, statfs.2, syscall.2, tkill.2, truncate.2, unlink.2, vfork.2, write.2, __ppc_set_ppr_med.3, aio_suspend.3, backtrace.3, bcmp.3, bcopy.3, bzero.3, exec.3, fopen.3, fts.3, ftw.3, getline.3, getmntent.3, getopt.3, memccpy.3, memchr.3, memcmp.3, memcpy.3, memfrob.3, memmem.3, memmove.3, memset.3, random.3, random_r.3, resolver.3, scandir.3, scanf.3, sem_post.3, sem_wait.3, setjmp.3, sleep.3, strerror.3, strverscmp.3, system.3, random.4, core.5, intro.5, resolv.conf.5, slabinfo.5, environ.7, ip.7, keyrings.7, man.7, persistent-keyring.7, pipe.7, process-keyring.7, random.7, session-keyring.7, signal-safety.7, signal.7, thread-keyring.7, unix.7, user-keyring.7, user-session-keyring.7, ld.so.8: tstamp

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoChanges: Ready for 4.10
Michael Kerrisk [Sun, 12 Mar 2017 19:54:02 +0000 (20:54 +0100)] 
Changes: Ready for 4.10

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agokeyctl.2: wfix
Michael Kerrisk [Fri, 10 Feb 2017 13:52:10 +0000 (14:52 +0100)] 
keyctl.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agokeyctl.2: Minor wording fix for KEYCTL_SET_REQKEY_KEYRING
Michael Kerrisk [Fri, 10 Feb 2017 10:03:10 +0000 (11:03 +0100)] 
keyctl.2: Minor wording fix for KEYCTL_SET_REQKEY_KEYRING

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agokeyctl.2: Improve KEYCTL_REJECT description
Michael Kerrisk [Fri, 10 Feb 2017 09:58:07 +0000 (10:58 +0100)] 
keyctl.2: Improve KEYCTL_REJECT description

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agokeyctl.2: Minor improvement to KEYCTL_INSTANTIATE description
Michael Kerrisk [Fri, 10 Feb 2017 09:51:55 +0000 (10:51 +0100)] 
keyctl.2: Minor improvement to KEYCTL_INSTANTIATE description

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agokeyctl.2: Minor improvements to KEYCTL_ASSUME_AUTHORITY description
Michael Kerrisk [Fri, 10 Feb 2017 09:29:42 +0000 (10:29 +0100)] 
keyctl.2: Minor improvements to KEYCTL_ASSUME_AUTHORITY description

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agokeyctl.2: Minor clarification for KEYCTL_UPDATE
Michael Kerrisk [Fri, 10 Feb 2017 09:17:49 +0000 (10:17 +0100)] 
keyctl.2: Minor clarification for KEYCTL_UPDATE

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agokeyctl.2: Minor clarification for KEYCTL_REJECT
Michael Kerrisk [Fri, 10 Feb 2017 09:16:40 +0000 (10:16 +0100)] 
keyctl.2: Minor clarification for KEYCTL_REJECT

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agokeyctl.2, request_key.2: Consistently use term "negatively instantiated key"
Michael Kerrisk [Fri, 10 Feb 2017 09:11:17 +0000 (10:11 +0100)] 
keyctl.2, request_key.2: Consistently use term "negatively instantiated key"

Eliminate uses of the term "negative key" in favor of
"negatively instantiated key".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agokeyctl.2: srcfix
Michael Kerrisk [Fri, 10 Feb 2017 09:09:13 +0000 (10:09 +0100)] 
keyctl.2: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agokeyctl.2: Improvements to description of KEYCTL_GET_KEYRING_ID
Michael Kerrisk [Fri, 10 Feb 2017 08:57:11 +0000 (09:57 +0100)] 
keyctl.2: Improvements to description of KEYCTL_GET_KEYRING_ID

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agokeyctl.2: Minor wording fix
Michael Kerrisk [Fri, 10 Feb 2017 08:36:23 +0000 (09:36 +0100)] 
keyctl.2: Minor wording fix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agokeyctl.2: wfix
Michael Kerrisk [Thu, 9 Feb 2017 13:33:37 +0000 (14:33 +0100)] 
keyctl.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agorequest_key.2: wfix
Michael Kerrisk [Thu, 9 Feb 2017 13:38:27 +0000 (14:38 +0100)] 
request_key.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agorequest_key.2: wfix
Michael Kerrisk [Thu, 9 Feb 2017 13:37:33 +0000 (14:37 +0100)] 
request_key.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agorequest_key.2: srcfix
Michael Kerrisk [Thu, 9 Feb 2017 13:14:49 +0000 (14:14 +0100)] 
request_key.2: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agorequest_key.2: Add links to some keyrings pages
Michael Kerrisk [Thu, 9 Feb 2017 13:11:41 +0000 (14:11 +0100)] 
request_key.2: Add links to some keyrings pages

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agorequest_key.2: wfix
Michael Kerrisk [Thu, 9 Feb 2017 12:36:58 +0000 (13:36 +0100)] 
request_key.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agokeyrings.7: tfix
Michael Kerrisk [Fri, 10 Feb 2017 10:40:54 +0000 (11:40 +0100)] 
keyrings.7: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoadd_key.2: srcfix
Michael Kerrisk [Fri, 10 Feb 2017 09:22:03 +0000 (10:22 +0100)] 
add_key.2: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agosignal.7: wfix
Michael Kerrisk [Sun, 12 Mar 2017 10:58:35 +0000 (11:58 +0100)] 
signal.7: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agosignal.7: tfix
Michael Kerrisk [Sun, 12 Mar 2017 10:58:03 +0000 (11:58 +0100)] 
signal.7: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agosyscall.2: Note parisc handling of aligned register pairs
Mike Frysinger [Sat, 11 Mar 2017 21:04:38 +0000 (13:04 -0800)] 
syscall.2: Note parisc handling of aligned register pairs

While parisc would normally have the same behavior as ARM/PowerPC,
they decide to write shim syscall stubs to unpack/realign rather
than expose the padding to userspace.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoproc.5: Mention other system calls that create 'anon_inode' file descriptors
Michael Kerrisk [Sun, 12 Mar 2017 10:17:15 +0000 (11:17 +0100)] 
proc.5: Mention other system calls that create 'anon_inode' file descriptors

Mention a few other system calls that create file descriptors
that display an 'anon_inode' symlink in /proc/PID/fd

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoproc.5: Minor improvement to description of /proc/PID/fd symlinks
Michael Kerrisk [Sun, 12 Mar 2017 10:11:19 +0000 (11:11 +0100)] 
proc.5: Minor improvement to description of /proc/PID/fd symlinks

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoproc.5: Remove duplicate /proc/[pid]/seccomp entry
Michael Kerrisk [Sun, 12 Mar 2017 09:30:50 +0000 (10:30 +0100)] 
proc.5: Remove duplicate /proc/[pid]/seccomp entry

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoproc.5: Minor: fix alphabetical order of some /proc/PID entries
Michael Kerrisk [Sun, 12 Mar 2017 09:28:32 +0000 (10:28 +0100)] 
proc.5: Minor: fix alphabetical order of some /proc/PID entries

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoproc.5: srcfix
Michael Kerrisk [Sun, 12 Mar 2017 09:25:27 +0000 (10:25 +0100)] 
proc.5: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoproc.5: wfix
Michael Kerrisk [Sun, 12 Mar 2017 09:23:58 +0000 (10:23 +0100)] 
proc.5: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoproc.5: wfix
Michael Kerrisk [Sun, 12 Mar 2017 09:18:04 +0000 (10:18 +0100)] 
proc.5: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agombind.2: Restore description of MPOL_BIND behavior before Linux 2.6.265
Michael Kerrisk [Sun, 12 Mar 2017 09:08:18 +0000 (10:08 +0100)] 
mbind.2: Restore description of MPOL_BIND behavior before Linux 2.6.265

Krzysztof Kulakowski's patch updated the MPOL_BIND description
to describe current behavior, but the page should retain a
description of the older behavior as well.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agombind.2: Restore a sentence that should not have been removed by preceding patch
Michael Kerrisk [Sun, 12 Mar 2017 09:06:37 +0000 (10:06 +0100)] 
mbind.2: Restore a sentence that should not have been removed by preceding patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agombind.2: Update MPOL_BIND section
Krzysztof Kulakowski [Fri, 10 Mar 2017 12:31:58 +0000 (07:31 -0500)] 
mbind.2: Update MPOL_BIND section

Behavior of MPOL_BIND has been changed in kernel commit
19770b32609b6bf97a3dece2529089494cbfc549 (Linux 2.6.26). This
patch updates section describing MPOL_BIND to be in sync with
current state of Documentation/vm/numa_memory_policy.txt.

Signed-off-by: Krzysztof Kulakowski <krzysztof.kulakowski@intel.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoopen.2: tfix
Jakub Wilk [Sat, 11 Mar 2017 23:01:45 +0000 (00:01 +0100)] 
open.2: tfix

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agosyscall.2: Add endian details with 64-bit splitting
Mike Frysinger [Sat, 11 Mar 2017 19:54:22 +0000 (11:54 -0800)] 
syscall.2: Add endian details with 64-bit splitting

Architectures that split 64-bit values across register pairs
usually do so according to their C ABI calling convention (which
means endianness).  Add some notes to that effect, and change the
readahead example to show a little endian example (since that is
way more common than big endian).

Also start a new list of syscalls that this issue does not apply
to.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agobacktrace.3: SEE ALSO: add addr2line(1) and gdb(1)
Michael Kerrisk [Tue, 7 Mar 2017 08:26:56 +0000 (09:26 +0100)] 
backtrace.3: SEE ALSO: add addr2line(1) and gdb(1)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoposix_spawn.3: tfix
Michael Kerrisk [Fri, 3 Mar 2017 14:43:05 +0000 (15:43 +0100)] 
posix_spawn.3: tfix

Reported-by: Paul Fee <paul.f.fee@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agonamespaces.7: SEE ALSO: add ip-netns(8)
Michael Kerrisk [Thu, 2 Mar 2017 13:40:30 +0000 (14:40 +0100)] 
namespaces.7: SEE ALSO: add ip-netns(8)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoip.7: SEE ALSO: add ip(8)
Michael Kerrisk [Thu, 2 Mar 2017 13:39:37 +0000 (14:39 +0100)] 
ip.7: SEE ALSO: add ip(8)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agonanosleep.2: Describe "creeping sleep" problem
Michael Kerrisk [Mon, 27 Feb 2017 16:10:48 +0000 (17:10 +0100)] 
nanosleep.2: Describe "creeping sleep" problem

nanosleep() has a problem if used in a program that catches
signals and those signals are delivered at a very high rate.
Describe the problem, and note that clock_nanosleep(2)
provides a solution.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agonanosleep.2: BUGS: explicitly note that the Linux 2.4 bug was fixed in Linux 2.6
Michael Kerrisk [Mon, 27 Feb 2017 16:02:52 +0000 (17:02 +0100)] 
nanosleep.2: BUGS: explicitly note that the Linux 2.4 bug was fixed in Linux 2.6

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoioctl_ns.2: Minor reworking of text
Michael Kerrisk [Mon, 27 Feb 2017 11:52:55 +0000 (12:52 +0100)] 
ioctl_ns.2: Minor reworking of text

In preparation for material on new Linux 4.11 namespace
ioctl() operations.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agolistxattr.2: Eliminate extra E2BIG error text
Michael Kerrisk [Fri, 24 Feb 2017 04:24:28 +0000 (05:24 +0100)] 
listxattr.2: Eliminate extra E2BIG error text

Andreas' patch added a second description of E2BIG that
was (mostly) more detailed than the existing text. Combine
the two texts.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agogetxattr.2, listxattr.2: srcfix
Michael Kerrisk [Fri, 24 Feb 2017 04:23:37 +0000 (05:23 +0100)] 
getxattr.2, listxattr.2: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agogetxattr.2, listxattr.2: Minor: fix alphabetic order of errors
Michael Kerrisk [Fri, 24 Feb 2017 04:22:51 +0000 (05:22 +0100)] 
getxattr.2, listxattr.2: Minor: fix alphabetic order of errors

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agogetxattr.2, listxattr.2: Document E2BIG errors
Andreas Gruenbacher [Thu, 23 Feb 2017 21:56:41 +0000 (22:56 +0100)] 
getxattr.2, listxattr.2: Document E2BIG errors

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoftw.3: Correctly handle use of stat info for FTW_NS in example program
Michael Kerrisk [Fri, 24 Feb 2017 04:17:40 +0000 (05:17 +0100)] 
ftw.3: Correctly handle use of stat info for FTW_NS in example program

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoftw.3: Clarify that stat buffer is undefined for FTW_NS
Michael Kerrisk [Fri, 24 Feb 2017 04:15:07 +0000 (05:15 +0100)] 
ftw.3: Clarify that stat buffer is undefined for FTW_NS

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agolink.2: Note limits where EMLINK is encountered on ext4 and Btrfs
Michael Kerrisk [Thu, 23 Feb 2017 05:21:50 +0000 (06:21 +0100)] 
link.2: Note limits where EMLINK is encountered on ext4 and Btrfs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoproc.5: Add reference to vdso(7) in discussion of /proc/PID/maps
Michael Kerrisk [Tue, 21 Feb 2017 20:53:42 +0000 (21:53 +0100)] 
proc.5: Add reference to vdso(7) in discussion of /proc/PID/maps

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoopen.2: Make it clear that O_APPEND implies atomicity
Michael Kerrisk [Tue, 21 Feb 2017 07:42:43 +0000 (08:42 +0100)] 
open.2: Make it clear that O_APPEND implies atomicity

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agolseek.2: Remove slightly bogus advice about race conditions
Michael Kerrisk [Mon, 20 Feb 2017 22:23:16 +0000 (23:23 +0100)] 
lseek.2: Remove slightly bogus advice about race conditions

The page already (by now) contains a reference to open(2)
for a discussion of open file descriptions. Leave it at that,
since the reader can then deduce how things work.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoreadv.2: Remove generic advice about mixing stdio and syscalls on same file
Michael Kerrisk [Mon, 20 Feb 2017 21:36:36 +0000 (22:36 +0100)] 
readv.2: Remove generic advice about mixing stdio and syscalls on same file

There is nothing specific to readv()/writev() about this advice.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agolseek.2: O_APPEND overrides the effect of lseek() when doing file writes
Michael Kerrisk [Mon, 20 Feb 2017 21:33:49 +0000 (22:33 +0100)] 
lseek.2: O_APPEND overrides the effect of lseek() when doing file writes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agolseek.2: wfix
Michael Kerrisk [Mon, 20 Feb 2017 21:29:10 +0000 (22:29 +0100)] 
lseek.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agolseek.2: Remove ancient info about whence values and return values on old systems
Michael Kerrisk [Mon, 20 Feb 2017 21:27:50 +0000 (22:27 +0100)] 
lseek.2: Remove ancient info about whence values and return values on old systems

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoenviron.7: Mention prctl(2) PR_SET_MM_ENV_START and PR_SET_MM_ENV_END operations
Michael Kerrisk [Mon, 20 Feb 2017 07:46:23 +0000 (08:46 +0100)] 
environ.7: Mention prctl(2) PR_SET_MM_ENV_START and PR_SET_MM_ENV_END operations

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoproc.5: Tweaks to Mike's patch
Michael Kerrisk [Mon, 20 Feb 2017 07:41:10 +0000 (08:41 +0100)] 
proc.5: Tweaks to Mike's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoproc.5: Clarify that /proc/PID/environ is set at time of execve(2)
Michael Kerrisk [Mon, 20 Feb 2017 07:30:48 +0000 (08:30 +0100)] 
proc.5: Clarify that /proc/PID/environ is set at time of execve(2)

Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoproc(5): Clarify /proc/pid/environ behavior
Mike Frysinger [Wed, 15 Feb 2017 22:16:54 +0000 (17:16 -0500)] 
proc(5): Clarify /proc/pid/environ behavior

/proc/pid/environ reflects process environment at
*start* of program execution.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoenviron.7: tfix/ffix
Michael Kerrisk [Sun, 19 Feb 2017 21:02:21 +0000 (22:02 +0100)] 
environ.7: tfix/ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoenviron.7: ffix
Michael Kerrisk [Sun, 19 Feb 2017 21:00:18 +0000 (22:00 +0100)] 
environ.7: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agofork.2: ffix
Michael Kerrisk [Sat, 18 Feb 2017 10:16:24 +0000 (11:16 +0100)] 
fork.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agofork.2: cgroup PIDs controller may also be trigger for EAGAIN error
Michael Kerrisk [Sat, 18 Feb 2017 10:14:35 +0000 (11:14 +0100)] 
fork.2: cgroup PIDs controller may also be trigger for EAGAIN error

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agomq_receive.3, mq_send.3: wfix
Michael Kerrisk [Fri, 17 Feb 2017 12:50:01 +0000 (13:50 +0100)] 
mq_receive.3, mq_send.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agomq_open.3: Include definition of the 'mq_attr' structure in this man page
Michael Kerrisk [Fri, 17 Feb 2017 11:12:55 +0000 (12:12 +0100)] 
mq_open.3: Include definition of the 'mq_attr' structure in this man page

Make the reader's life a little easier by saving them from
having to refer to mq_getattr(3).

Reported-by: Adam Martindale <adam.john.martindale@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agomq_send.3: Refer to mq_overview(7) for details on range of message priority
Michael Kerrisk [Fri, 17 Feb 2017 11:01:59 +0000 (12:01 +0100)] 
mq_send.3: Refer to mq_overview(7) for details on range of message priority

Reported-by: Adam Martindale <adam.john.martindale@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agorequest_key.2: wfix
Michael Kerrisk [Fri, 10 Feb 2017 13:52:42 +0000 (14:52 +0100)] 
request_key.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agotkill.2: Document EAGAIN error for real-time signals
Jann Horn [Mon, 6 Feb 2017 15:57:48 +0000 (16:57 +0100)] 
tkill.2: Document EAGAIN error for real-time signals

See __send_signal() in kernel/signal.c:

if (sig >= SIGRTMIN && info->si_code != SI_USER) {
  /*
   * Queue overflow, abort.  We may abort if the
   * signal was rt and sent by user using something
   * other than kill().
   */
  result = TRACE_SIGNAL_OVERFLOW_FAIL;
  ret = -EAGAIN;
  goto ret;
}

(kill() uses SI_USER, but tkill() and tgkill() use SI_TKILL.)

Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoioctl_fat.2: Correctly reference volume ID instead of volume label
Brian Masney [Wed, 8 Feb 2017 01:13:36 +0000 (20:13 -0500)] 
ioctl_fat.2: Correctly reference volume ID instead of volume label

The description of FAT_IOCTL_GET_VOLUME_ID references volume name,
when it really should be volume ID since the volume label is
different in the FAT filesystem. This patch renames the incorrect
volume name references to volume id.

This man page supplies an example display_fat_volume_id.c program
that can be used to read the volume ID (serial number) from a
filesystem.  Here is an additional test showing that the volume ID
and volume name are two different entities:

$ dd if=/dev/zero of=fat_volume bs=1M count=1
$ mkfs.fat -v -n MASNEYB fat_volume
[snip]
Volume ID is da8cecf2, volume label MASNEYB    .
$ sudo mount -o loop fat_volume /mnt
$ ./display_fat_volume_id /mnt/
Volume ID da8c-ecf2

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agopipe.7: Since Linux 4.9, pipe-max-size is ceiling for the default pipe capacity
Michael Kerrisk [Wed, 8 Feb 2017 07:18:00 +0000 (08:18 +0100)] 
pipe.7: Since Linux 4.9, pipe-max-size is ceiling for the default pipe capacity

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agopipe.7: Clarify that default pipe capacity is 16 pages
Michael Kerrisk [Wed, 8 Feb 2017 06:58:07 +0000 (07:58 +0100)] 
pipe.7: Clarify that default pipe capacity is 16 pages

The statement that the default pipe capacity is 65536 bytes
is accurate only on systems where the page size is 4096B.
See the use of PIPE_DEF_BUFFERS in the kernel source.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agovfork.2: Explain why the child should not call exit(3)
Michael Kerrisk [Mon, 6 Feb 2017 07:25:36 +0000 (08:25 +0100)] 
vfork.2: Explain why the child should not call exit(3)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agovfork.2: SEE ALSO: add _exit(2)
Michael Kerrisk [Mon, 6 Feb 2017 07:22:43 +0000 (08:22 +0100)] 
vfork.2: SEE ALSO: add _exit(2)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agofts.3: Clarify meaning of zero as 'instr' value for fts_set()
Michael Kerrisk [Mon, 6 Feb 2017 06:39:41 +0000 (07:39 +0100)] 
fts.3: Clarify meaning of zero as 'instr' value for fts_set()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agofts.3: Improve explanation of 'fts_errno'
Michael Kerrisk [Mon, 6 Feb 2017 06:30:28 +0000 (07:30 +0100)] 
fts.3: Improve explanation of 'fts_errno'

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agofts.3: Give a hint that there are further fields in the FTSENT structure
Michael Kerrisk [Mon, 6 Feb 2017 06:16:46 +0000 (07:16 +0100)] 
fts.3: Give a hint that there are further fields in the FTSENT structure

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agofts.3: Fix minor error in FTSENT structure definition
Michael Kerrisk [Mon, 6 Feb 2017 06:01:23 +0000 (07:01 +0100)] 
fts.3: Fix minor error in FTSENT structure definition

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agofts.3: wfix
Michael Kerrisk [Mon, 6 Feb 2017 05:57:52 +0000 (06:57 +0100)] 
fts.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agofts.3: wfix
Michael Kerrisk [Sun, 5 Feb 2017 19:14:16 +0000 (20:14 +0100)] 
fts.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agofts.3: Use better argument name for fts_children() and fts_set()
Michael Kerrisk [Sun, 5 Feb 2017 19:13:11 +0000 (20:13 +0100)] 
fts.3: Use better argument name for fts_children() and fts_set()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agofts.3: ffix
Michael Kerrisk [Sun, 5 Feb 2017 19:02:39 +0000 (20:02 +0100)] 
fts.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agofts.3: Minor wording fix
Michael Kerrisk [Sun, 5 Feb 2017 11:10:19 +0000 (12:10 +0100)] 
fts.3: Minor wording fix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agofts.3: Minor fix: make the meaning of "stream" a little more obvious
Michael Kerrisk [Sun, 5 Feb 2017 11:08:35 +0000 (12:08 +0100)] 
fts.3: Minor fix: make the meaning of "stream" a little more obvious

"Stream" was used lower in the page, without first
being defined.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agofts.3: Minor wording fixes
Michael Kerrisk [Sun, 5 Feb 2017 10:59:50 +0000 (11:59 +0100)] 
fts.3: Minor wording fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agofts.3: grfix
Michael Kerrisk [Sun, 5 Feb 2017 10:55:20 +0000 (11:55 +0100)] 
fts.3: grfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agohsearch.3: tfix
Michael Kerrisk [Sun, 5 Feb 2017 07:50:24 +0000 (08:50 +0100)] 
hsearch.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoman.7, uri.7: Use "www.kernel.org" in example URLs
Jakub Wilk [Sat, 4 Feb 2017 10:49:56 +0000 (11:49 +0100)] 
man.7, uri.7: Use "www.kernel.org" in example URLs

Apparently www.kernelnotes.org is now a spam site.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agonetlink.7: Update libnl homepage URL
Jakub Wilk [Sat, 4 Feb 2017 10:49:55 +0000 (11:49 +0100)] 
netlink.7: Update libnl homepage URL

The original URL is 404.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agomtrace.1: ffix
Jakub Wilk [Fri, 3 Feb 2017 23:37:49 +0000 (00:37 +0100)] 
mtrace.1: ffix

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agocore.5: tfix
Jakub Wilk [Wed, 1 Feb 2017 20:28:46 +0000 (21:28 +0100)] 
core.5: tfix

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoprintf.3: Fix a small bug in example code
Michael Kerrisk [Wed, 1 Feb 2017 20:33:04 +0000 (09:33 +1300)] 
printf.3: Fix a small bug in example code

Move the second call to va_end(ap) to above the if-block that
precedes it, so that the va_list 'ap' will be cleaned up in
all cases.

Reported-by: Erik Roland van der Meer <ervdmeer@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agostrerror.3: Minor tweak's to Heinrich Schuchardt's patch
Michael Kerrisk [Wed, 1 Feb 2017 20:13:02 +0000 (09:13 +1300)] 
strerror.3: Minor tweak's to Heinrich Schuchardt's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agostrerror.3: tfix
Michael Kerrisk [Wed, 1 Feb 2017 20:11:37 +0000 (09:11 +1300)] 
strerror.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agostrerror.3: Indicate reasonable buffer size for strerror_r() and strerror_l()
Heinrich Schuchardt [Tue, 31 Jan 2017 18:53:58 +0000 (19:53 +0100)] 
strerror.3: Indicate reasonable buffer size for strerror_r() and strerror_l()

Add a hint which buffer size is needed for
strerror_r() and strerror_l().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
7 years agoMerge branch 'master' of ra.kernel.org:/pub/scm/docs/man-pages/man-pages
Michael Kerrisk [Wed, 1 Feb 2017 19:35:03 +0000 (08:35 +1300)] 
Merge branch 'master' of ra.kernel.org:/pub/scm/docs/man-pages/man-pages

7 years agoexplicit_bzero.3: New link to bzero.3
Michael Kerrisk [Tue, 31 Jan 2017 01:53:35 +0000 (14:53 +1300)] 
explicit_bzero.3: New link to bzero.3

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