Michael Kerrisk
0b8adf96a1
credentials.7: SEE ALSO: add runuser(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-01 13:28:49 -05:00
Michael Kerrisk
17fb5e56a6
credentials.7: SEE ALSO: add newgrp(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-01 13:27:01 -05:00
Michael Kerrisk
2b4be1eace
credentials.7: SEE ALSO: add sudo(8)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-01 13:24:41 -05:00
Michael Kerrisk
454087559e
utmp.5: SEE ALSO: add logname(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-01 13:22:27 -05:00
Michael Kerrisk
7eb8372d87
namespaces.7: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-01 11:21:29 -05:00
Michael Kerrisk
c39946e06e
mkdtemp.3, mktemp.3: SEE ALSO: add mktemp(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-01 11:02:44 -05:00
Marko Myllynen
d7b772adee
cp1251.7, cp1252.7, iso_8859-1.7, iso_8859-15.7, iso_8859-5.7, koi8-r.7, koi8-u.7: Add some charset references
...
Add some references to related charsets here and there.
2016-06-01 10:22:02 -05:00
Marko Myllynen
1acb8000df
charsets.7: tfix: Spell ISO 8859 consistently
...
Trivial: spell ISO 8859 consistently (now it's ISO 8859
tree-wide).
2016-06-01 10:20:11 -05:00
Marko Myllynen
d010c9c02f
console_codes.4, console_ioctl.4, tty.4, vcs.4, charsets.7: Remove console(4) references
...
Hi Michael,
0f9e647
removed the obsolete console(4) page but we still have few
references to it. The patch below removes them or converts to refs
to concole_ioctl(4) where appropriate.
2016-06-01 10:20:03 -05:00
Michael Kerrisk
0ee6740485
strcasecmp.3: Minor tweak to strncasecmp() description
...
Reported-by: Ori Avtalion <ori@avtalion.name>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-29 11:53:38 -05:00
Michael Kerrisk
2392242b06
strcasecmp.3: Make details of strncasecmp() comparison clearer
...
Quoting Ori:
The manpage for strncasecmp has a few wording issues that can be improved:
1)
In the DESCRIPTION section, "except it compares only the first n
bytes of s1"
s1 can be shorter than n bytes. Consider adding "(at most)" after
"first".
For comparison with reference materials, POSIX uses the wording
"not more than n bytes", OSX and FreeBSD use "compares at
most [...]".
2)
In the RETURN VALUE section: "if s1 (or the first n bytes
thereof) is found [...] to match [...] s2"
This could theoretically be read to suggest that the first n bytes
of s1 are compared against the FULL s2, which is not the case.
Consider removing the parenthetical altogether (thus, not
mentioning 'n' at all). POSIX doesn't mention 'n' in its RETURN
VALUE section.
3)
The RETURN VALUE section doesn't mention case insensitivity. It's
in the DESCRIPTION, but perhaps it should also be in this section.
POSIX mentions case-insensitivity in RETURN VALUE.
Consider adding "and ignoring case" after "respectively".
Reported-by: Ori Avtalion <ori@avtalion.name>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-29 06:52:09 -05:00
Michael Kerrisk
cd32ec849d
wait.2: Since Linux 4.7, __WALL is implied if child being ptraced
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-29 06:42:48 -05:00
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