Michael Kerrisk
393c5b58c3
statx.2: Clarify that the kernel does not reject invalid 'mask' values
...
And also explain why.
Reported-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk
f4572b658c
statx.2: Minor edit to STATX_* list
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk
7e43caf4db
statx.2: Rework discussion of identification of target file
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk
c8701bafb9
statx.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk
7a192d0df6
statx.2: Add CONFORMING TO section
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk
f49a8cccd5
statx.2: statx() has no wrapper and must be called using syscall()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk
e6fc15962c
chmod.2, fsync.2, mkdir.2, mknod.2, open.2, truncate.2, umask.2, utime.2, utimensat.2: Add/replace references to inode(7)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk
3b363b623c
getdents.2, open.2, stat.2, statx.2: SEE ALSO: add inode(7)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk
19cda35de9
statx.2: Remove information migrated to inode(7)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:14 +02:00
Michael Kerrisk
96dea201cd
stat.2: Minor edits
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:14 +02:00
Michael Kerrisk
e8ff4f53ab
stat.2: Remove information migrated to inode(7) page
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:19:43 +02:00
Michael Kerrisk
b48c75727c
inode.7: New page with information about inodes
...
David Howells provided a statx(2) page that duplicated
much of the information from form stat(2). Such duplication
is undesirable, and there are two possible solutions:
* merge the statx() description into the existing
stat(2) page.
* move the common information in stat(2) and statx(2)
to a new page.
The first option suffers from the fact that the stat(2) page
is already rather overloaded with a description of four APIs;
adding a fifth would make the page even more unwieldy!
This patch opts for the second solution. After this,
we must remove the duplicated material from stat(2) and
statx(2).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:19:43 +02:00
Michael Kerrisk
835f429363
statx.2: Minor edits
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:19:43 +02:00
Michael Kerrisk
108cd6a3d0
statx.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:34:59 +02:00
Michael Kerrisk
46711e96c6
statx.2: spfix (American spelling)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:34:59 +02:00
Michael Kerrisk
77a09ad741
statx.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:34:59 +02:00
Michael Kerrisk
ffe297ee2a
statx.2: srcfix: rewrap source lines
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:34:59 +02:00
Michael Kerrisk
709f7bb642
statx.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:34:58 +02:00
Michael Kerrisk
14b5d02a46
statx.2: srcfix: rewrap source lines
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:34:58 +02:00
Michael Kerrisk
6a4667aaa3
statx.2: Minor wording and formatting fix-ups
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:34:58 +02:00
David Howells
9905e59b55
statx.2: New page describing statx(2) system call added in Linux 4.11
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:34:55 +02:00
Michael Kerrisk
b3deaf0f74
stat.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:33:30 +02:00
David Howells
97ee9f3732
stat.2: ERRORS: correct description of ENOENT
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:30:35 +02:00
Michael Kerrisk
fb00408109
syscalls.2: Linux 4.11 added statx()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:30:35 +02:00
Michael Kerrisk
f6eae219d9
stat.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 22:01:55 +02:00
Michael Kerrisk
58441c4fc0
stat.2: Remove "Other systems" subsection
...
These details about other systems were added in 1999,
and were probably of limited use then, and even less today.
However, they do clutter the page, so remove them.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 22:01:40 +02:00
Michael Kerrisk
520caa5540
man-pages.7: Note preferred approach for 'duplicate' errors
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 15:39:23 +02:00
Michael Kerrisk
9152b8c9cf
stat.2: Add some subsection headings to ease readability
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 15:29:28 +02:00
Michael Kerrisk
28f042cca7
stat.2: Minor list reordering
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 15:26:22 +02:00
Michael Kerrisk
78909f3e1d
stat.2: DESCRIPTION: add list entries for 'st_uid' and 'st_gid'
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 15:23:55 +02:00
Michael Kerrisk
d41bfb204e
stat.2: DESCRIPTION: add a list entry for 'st_nlinks' field
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 15:20:59 +02:00
Michael Kerrisk
cafa975264
stat.2: DESCRIPTION: add a list entry for 'st_ino'
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 15:19:33 +02:00
Michael Kerrisk
c61617be60
stat.2: Add slightly expanded description oif 'st_ino' field
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 15:17:52 +02:00
Michael Kerrisk
53cb52e502
stat.2: Restructure filed descriptions as a hanging list
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 15:06:09 +02:00
Michael Kerrisk
ba29187129
stat.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 14:44:25 +02:00
Michael Kerrisk
bb0b0beecd
ioctl_ns.2: Document the NS_GET_OWNER_UID operation added in Linux 4.11
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 12:32:01 +02:00
Michael Kerrisk
a1a3cae896
ioctl_ns.2: ERRORS: document ENOTTY
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 12:20:05 +02:00
Michael Kerrisk
2546f8a637
ioctl_ns.2: Document the NS_GET_NSTYPE operation added in Linux 4.11
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 12:15:00 +02:00
Michael Kerrisk
14ecabec05
errno.3: wfix
...
Reported-by: 丁贵强<dingguiqiang@foxmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-20 21:21:51 +02:00
Michael Kerrisk
bb67614554
socket.7: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-20 16:44:50 +02:00
Michael Kerrisk
a99fa5fb93
socket.7: Enhance the description of SO_INCOMING_CPU
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-20 16:44:45 +02:00
Michael Kerrisk
b7f97e8ea5
socket.7: Minor tweaks
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-20 16:39:51 +02:00
Francois Saint-Jacques
ca1969e92b
socket.7: Document SO_INCOMING_CPU
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-20 16:39:50 +02:00
Michael Kerrisk
fedefd800e
kexec_load.2, sched_setaffinity.2, bootparam.7: Documentation/kernel-parameters.txt is now in Documentation/admin-guide/
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-20 13:22:12 +02:00
Mike Frysinger
261c7e1d15
prctl(2): PR_SET_MM: Refine CONFIG_CHECKPOINT_RESTORE requirement
...
The Linux 3.10 release dropped the c/r requirement and opened it
up to all users.
Signed-off-by: Mike Frysinger <vapier@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-19 15:52:04 +02:00
Mike Frysinger
7e3236a5a0
prctl(2): PR_SET_MM: Document new PR_SET_MM_MAP{,_SIZE} helpers
...
Signed-off-by: Mike Frysinger <vapier@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-19 15:52:04 +02:00
Mike Frysinger
a87d0921a7
prctl(2): PR_SET_MM: Document arg4/arg5 zero behavior
...
The kernel will immediately reject calls where arg4/arg5 are not
zero. See kernel/sys.c:prctl_set_mm().
Signed-off-by: Mike Frysinger <vapier@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-19 15:52:04 +02:00
Michael Kerrisk
d983a4c854
rename.2: Note that there is no glibc wrapper for renameat2()
...
Reported-by: Georg Sauthoff <mail@georg.so>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-19 15:52:04 +02:00
Michael Kerrisk
42cfcef15e
proc.5: Refer to namespaces(7) for discussion of /proc/sys/user/* files
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-19 15:52:04 +02:00
Michael Kerrisk
5046cb7268
namespaces.7: Document the /proc/sys/user/* files added in Linux 4.9
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-19 15:52:04 +02:00