Commit Graph

15974 Commits

Author SHA1 Message Date
Michael Kerrisk ff82608eb6 wait.2: waitid() now (since Linux 4.7) also supports __WNOTHREAD/__WCLONE/__WALL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-29 06:42:48 -05:00
Michael Kerrisk 36c8e72131 recv.2: With pending 0-length datagram read() and recv() with flags == 0 differ
Quoting Tom:

The statement "With a zero flags argument, recv() is equivalent to
read(2)." is not correct. In the case of passing a UDP socket an
empty buffer the two calls differ. read(2) will be a noop (as it
rightly says in its manpage), but recv(2) will discard the
packet.

We ran into this in networkd, as we use FIONREAD to determine the
buffer size (and allocate the right buffer), so in case someone
passed us an empty packet we would end up in a busy loop when we
were using read(2).  Changing to recv(2) fixed the issue
[https://github.com/systemd/systemd/pull/3299].

Reported-by: Tom Gundersen <teg@jklm.no>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-29 06:42:48 -05:00
Michael Kerrisk c3cfbeb992 recv.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-29 06:42:48 -05:00
Michael Kerrisk 2dcd302656 lirc.4: Minor fixes to Alec's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-29 06:42:45 -05:00
Alec Leamas f625b7284e lirc.4: Update after upstreamed lirc.h, bugfixes.
The lirc.h header has landed in the kernel, and the kernel docs
has been updated all of which reflected in this patch.

Here is still an open issue with duplicated info in the kernel
docs and the manpage. Eventually, this should be addressed but
I frankly don't know how. In the meantime, acknowledge the fact
that the kernel docs is the ultimate source
2016-05-26 16:19:19 -05:00
Eric Biggers c89a9937ca open.2: Refer to correct functions in description of O_TMPFILE
Signed-off-by: Eric Biggers <ebiggers3@gmail.com>
2016-05-26 16:17:17 -05:00
Iustin Pop 42f194cf22 fnctl.2: tfix - remove duplicate paragraph in NOTES
This paragraph already appears above, right before the "File Locking"
one.

Signed-off-by: Iustin Pop <iustin@k1024.org>
2016-05-26 16:16:29 -05:00
Michael Kerrisk 0c00a52e49 umask.2: NOTES: Mention /proc/PID/status 'Umask' field
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-26 16:14:26 -05:00
Michael Kerrisk a79343e9e4 proc.5: Document /proc/PID/status 'Umask' field
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-26 16:12:49 -05:00
Michael Kerrisk 5d92f6e91a mount.2: Clarify that MS_MOVE ignores remaining bits in 'mountflags'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-21 11:36:33 -05:00
Michael Kerrisk 59dea18e1d mount.2: Minor clarification to MS_BIND
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-21 11:35:55 -05:00
Omar Sandoval 373c8b2536 mount.2: MS_BIND still ignores mountflags
This is clear from the do_mount() function in the kernel as of v4.6.

Signed-off-by: Omar Sandoval <osandov@fb.com>
2016-05-21 11:28:35 -05:00
Michael Kerrisk 751de899b5 mount.2: Clarify that 'source' and 'target' are pathnames, and can refer to files
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-19 13:13:54 +02:00
Michael Kerrisk 226cb3a87a proc.5, namespaces.7: Move /proc/PID/mounts information to proc(5)
There was partial duplication, and some extra information
in namespaces(7). Move everything to proc(5).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-18 22:08:44 +02:00
Michael Kerrisk ad5fa2c3a8 namespaces.7: Remove /proc/PID/mountstats description
This is a duplicate of information in proc(5).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-18 22:03:31 +02:00
Michael Kerrisk 68886a1c7e namespaces.7: Nowadays, file changes in /proc/PID/mounts are notified differently
Exceptional condition for select(), (E)POLLPRI for (e)poll

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-18 22:02:04 +02:00
Michael Kerrisk 8f29c47d87 pid_namespaces.7: SEE ALSO: add namespaces(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-18 19:56:13 +02:00
Michael Kerrisk f109426095 cgroup_namespaces.7: SEE ALSO: add namespaces(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-18 19:52:38 +02:00
Stefan Puiu 04fd9903e3 inet_pton.3: Mention byte order
Come to think of it, this probably applies to IPv6 as well. Moving to
the paragraph before:
2016-05-18 13:33:30 +02:00
Jakub Wilk 356b97288a cgroups.7: tfix
Remove duplicated word.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
2016-05-18 13:25:44 +02:00
Jakub Wilk ebdc66e2ed proc.5: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
2016-05-18 13:24:28 +02:00
Li Peng d9e0f03d8a proc.5: ffix
Signed-off-by: Li Peng <lip@dtdream.com>
2016-05-18 13:22:40 +02:00
Marko Myllynen a7bffa96ff localedef.1: Note that '--old-style' option is a no-op
Verified by testing and code inspection.
2016-05-18 13:20:59 +02:00
W. Trevor King 3cb43b9579 unix.7: Fix example code: 'ret' check after accept populates 'data_socket'
A typo from 15545eb6 (unix.7: Add example, 2016-01-06).

Signed-off-by: W. Trevor King <wking@tremily.us>
2016-05-18 13:16:57 +02:00
Michael Kerrisk dad5081f4a pthreads.7: tfix
Reported-by: Neven Sajko <nsajko@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-18 13:15:03 +02:00
Marko Kevac 9aae8d48a7 memfd_create.2: tfix
This is patch for current master. Fixes small typo.

From 94292ebe260a64920c63fe64075e0fa636a126cb Mon Sep 17 00:00:00 2001
From: Marko Kevac <marko@kevac.org>
Date: Sun, 15 May 2016 23:56:34 +0300
Subject: [PATCH] memfd_create.2: tfix
2016-05-18 13:14:06 +02:00
Michael Kerrisk 2a785d2aa8 cgroup_namespaces.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-17 02:23:09 +02:00
Michael Kerrisk 2641953087 pwritev2.2: New link to readv(2)
This link should have been added in the previous release...

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-16 22:20:14 +02:00
Michael Kerrisk 62bd1ef2e8 preadv2.2: New link to readv(2)
This link should have been added in the previous release...

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-16 22:18:33 +02:00
Michael Kerrisk a03a743568 getauxval.3: tfix
Reported-by: Håkon Sandsmark <hsandsma@cisco.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-13 13:47:25 +02:00
Michael Kerrisk 4590829a1b dlsym.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-13 10:59:06 +02:00
Michael Kerrisk f516d6d979 fork.2: Add ENOMEM error for PID namespace where "init" has died
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-13 09:47:41 +02:00
Michael Kerrisk aac0b30fea proc.5: Document /proc/PID/status fields: 'NStgid', 'NSpid', 'NSpgid', 'NSsid'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-11 23:27:49 +02:00
Michael Kerrisk 28a69f902a Changes.old: 4.06 changelog fixup
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-11 23:00:17 +02:00
Michael Kerrisk 2d2dfb6944 proc.5: Document /proc/PID/status 'Ngid' field
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-11 22:59:57 +02:00
Michael Kerrisk 00efa08248 Changes.old: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-11 08:42:18 +02:00
Élie Bouttier 819eeff4c6 getaddrinfo_a.3: tfix
EAI_CANCELED and EAI_NOTCANCELED are defined without double L in resolv/netdb.h from glibc.
See https://sourceware.org/git/?p=glibc.git;a=blob;f=resolv/netdb.h;h=3aba530932c7a62a4f23e3193e9186da677f552b;hb=HEAD#l632
2016-05-11 08:37:44 +02:00
Michael Kerrisk 34c33fd768 Changes.old: 4.06 fix
Remove reference to text actually appears in cgroup_namespaces(7)
page (not namespaces(7)).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-11 07:37:08 +02:00
Michael Kerrisk 75a69bfe6c Changes.old: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-11 07:35:59 +02:00
Michael Kerrisk 4be9e801da mount.2: MS_NOSUID also disables file capabilities
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-10 20:01:10 +01:00
Michael Kerrisk b517a36f9c ldd.1: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-10 17:33:08 +01:00
Michael Kerrisk 98ea8ea39b ldd.1: Add more detail on the output of ldd
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-10 17:32:43 +01:00
Michael Kerrisk fdfec6f9d9 elf.5: SEE ALSO: add readelf(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-10 16:42:23 +01:00
Michael Kerrisk 5290e86556 Start of man-pages-4.07: updating Changes and Changes.old 2016-05-10 07:27:15 +02:00
Michael Kerrisk 6361ead67e Start of man-pages-4.07: updating .Announce and .lsm files 2016-05-10 07:27:15 +02:00
Michael Kerrisk c8595564f8 Start of man-pages-4.07: renaming .Announce and .lsm files 2016-05-10 07:27:15 +02:00
Michael Kerrisk 6c0d0ef0c7 Ready for 4.06 2016-05-09 23:40:19 +02:00
Michael Kerrisk 9e48d04d5a Removed trailing white space at end of lines 2016-05-09 23:40:11 +02:00
Michael Kerrisk 9f496381ef clock_getres.2, getrlimit.2, ioctl_fat.2, ioprio_set.2, quotactl.2, core.5, cpuset.7, vdso.7, ld.so.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-09 23:37:59 +02:00
Michael Kerrisk 6aca7b52f6 Changes: Ready for 4.06
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-09 23:34:20 +02:00