Michael Kerrisk
50e8ee3985
fchmodat.2: Convert to link to chmod.2
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 12:41:04 +01:00
Michael Kerrisk
b828fc2576
chmod.2: Use argument name 'pathname' throughout page
...
(Some APIs were using 'path' while others used 'pathname')
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 12:41:04 +01:00
Michael Kerrisk
7a99cc7799
chmod.2: Rework/relocate fchmodat() NOTES text
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 12:41:04 +01:00
Michael Kerrisk
3894e13892
chmod.2: Post-merge reworking of text
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 12:41:04 +01:00
Michael Kerrisk
5dec01d6bd
chmod.2: CONFORMING TO: chmod() and fchmod() are also in POSIX.1-2008
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 12:41:04 +01:00
Michael Kerrisk
92f114db82
chmod.2: Merge text from fchmodat(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 12:41:03 +01:00
Michael Kerrisk
c331132477
faccessat.2: Convert to link to access.2
...
All of the faccessat() text has been merged into access(2),
so now all we need here is a link.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 12:41:03 +01:00
Michael Kerrisk
2626921f46
access.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 12:41:03 +01:00
Michael Kerrisk
2907fa3e3d
access.2: Rework/relocate faccessat() NOTES text
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 12:41:03 +01:00
Michael Kerrisk
98be313dcb
access.2: Remove faccessat() race warning
...
That point is already covered in existing text in this page.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 12:41:03 +01:00
Michael Kerrisk
32e370f281
access.2: Post-merge reworking of text
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 12:41:03 +01:00
Michael Kerrisk
b9f4755d42
access.2: access() also conforms to POSIX.1-2008
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 12:41:03 +01:00
Michael Kerrisk
687dcec2c6
access.2: Merge text from faccessat(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 12:41:03 +01:00
Michael Kerrisk
2d829cd2bd
open.2: Remove sentence that openat() is present on Solaris
...
That point was only really relevant before openat() was
standardized in POSIX.1.2008.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 10:34:00 +01:00
Michael Kerrisk
58c74bc632
openat.2: Convert to link to open.2
...
All of the openat() text has been merged into open(2),
so now all we need here is a link.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 10:34:00 +01:00
Michael Kerrisk
7b8ba76c2f
open.2: Merge text from openat(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 10:33:47 +01:00
Michael Kerrisk
90823c7091
open.2: Make NAME text a little more generic
...
(No need to say "file *or device*")
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 07:11:26 +01:00
Michael Kerrisk
75af9c081d
faccessat.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-21 06:42:40 +01:00
Michael Kerrisk
c7680dfb5d
fstatat.2: AT_EMPTY_PATH and AT_NO_AUTOMOUNT are Linux-specific
...
These flags require _GNU_SOURCE.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-20 11:08:59 +01:00
Michael Kerrisk
81906d23dd
linkat.2: AT_EMPTY_PATH is Linux-specific and requires _GNU_SOURCE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-20 11:08:59 +01:00
Michael Kerrisk
fc3df5accd
fchownat.2: AT_EMPTY_PATH is Linux-specific and requires _GNU_SOURCE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-20 11:08:59 +01:00
Michael Kerrisk
eceaee4705
fcntl.2: Warn that F_GETLK info may already be out of date when the call returns
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-20 08:34:28 +01:00
Michael Kerrisk
dc45cae328
fcntl.2: Minor fix: reorder constants to match order of accompanying text
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-20 08:32:14 +01:00
Michael Kerrisk
b73bf0aed0
syscalls.2: SEE ALSO: add intro(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-19 12:42:03 +01:00
Michael Kerrisk
49bd7f5828
intro.2: Describe policy on documenting differences between syscall and glibc API
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-19 12:28:12 +01:00
Michael Kerrisk
051ec121f0
ptrace.2: Make it clearer that glibc and syscall APIs differ for PTRACE_PEEK*
...
Thanks to Denys Vlasenko's additions in 78686915ae
this page does note that the glibc API for PTRACE_PEEK*
differs from the raw syscall interface. But, as the report
at https://bugzilla.kernel.org/show_bug.cgi?id=70801 shows,
this information could be more obvious. This patch makes its so.
Reported-by: Andrew Hunter <ahh@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-19 11:41:33 +01:00
Michael Kerrisk
36f5dd10ba
ptrace.2: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-19 10:34:42 +01:00
Michael Kerrisk
a71b27f8bb
ptrace.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-19 09:24:51 +01:00
Michael Kerrisk
e00c3a0754
close.2, getdomainname.2, getrlimit.2, madvise.2, sysinfo.2, umask.2, encrypt.3, fclose.3, fflush.3, lockf.3, rand.3, strtok.3, toupper.3, updwtmp.3, utmp.5, environ.7, hier.7, suffixes.7: Convert pages contain non-ASCII in source code comments to use UTF-8
...
Done using a slightly modified version of Peter Schiffer's
convert_to_utf_8.sh script. The script was modified so as *not*
a "coding:" marker to the groff source. For now, we'll only put
that marker on pages that contain non-ASCII characters in the
rendered text.
See https://bugzilla.kernel.org/show_bug.cgi?id=60807
Reported-by: Weizhou Pan <cs.wzpan@gmail.com>
Co-written-by: Peter Schiffer <pschiffe@redhat.com
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-16 08:21:18 +01:00
Michael Kerrisk
7a9d6ddece
Removed trailing white space at end of lines
2014-02-11 12:17:35 +01:00
Michael Kerrisk
3bab9a5117
gettid.2, restart_syscall.2, lockf.3, passwd.5, socket.7: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 11:43:48 +01:00
Michael Kerrisk
9798ddfd58
recv.2: Describe the various cases where the return value can be 0
...
Reported-by: 未卷起的浪 <ayjj_8109@qq.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 11:13:36 +01:00
Michael Kerrisk
ea62994487
recv.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 10:59:41 +01:00
Michael Kerrisk
bba8774703
recv.2: Improve text describing recvfrom() call that is equivalent to recv()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 10:57:41 +01:00
Michael Kerrisk
00b5fccba3
recv.2: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 10:55:32 +01:00
Michael Kerrisk
9c3b78a358
recv.2: Add description of 'buf' and 'len' in recvfrom() section
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 10:50:22 +01:00
Michael Kerrisk
0ec495cbfb
recv.2: Rework discussion of 'src_addr' and 'addrlen' for recvfrom()
...
The existing text was a bit opaque.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 10:44:38 +01:00
Michael Kerrisk
a08d6a0720
recv.2: 'addrlen' should be 0 (*not* NULL) when 'src_addr' is NULL
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 10:32:16 +01:00
Michael Kerrisk
5f09a92997
recv.2: Add an .SS head for discussion of 'flags'
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 10:29:58 +01:00
Michael Kerrisk
183ec51374
recv.2: Isolate details specific to recv() vs recvfrom() vs recvmsg()
...
Place details specific to each system call under a
a separate subheading.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 10:27:19 +01:00
Michael Kerrisk
7cb04a61d3
recv.2: Minor reworking of text on poll() and select()
...
And add mention of epoll(7).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 10:22:25 +01:00
Michael Kerrisk
4dad515699
recv.2: Rework sentence introducing 'flags'
...
The 'flags' argument is common to all three system calls,
not specific to recv().
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 10:20:16 +01:00
Michael Kerrisk
e39a21b58b
recv.2: Rework opening paragraph to mention recv()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 10:19:43 +01:00
Michael Kerrisk
757610599a
pipe.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 09:55:41 +01:00
Michael Kerrisk
aeabba5095
pipe.2: Document the pipe2() O_DIRECT added in Linux 3.4
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 09:54:44 +01:00
Michael Kerrisk
781c32a311
pipe.2: Reorder pipe2() flags alphabetically
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 09:18:02 +01:00
Michael Kerrisk
0d55b37f8c
open.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 22:01:28 +01:00
Michael Kerrisk
92cfcaf7e5
prctl.2: PR_SET_PDEATHSIG value is preserved across execve(2)
...
Reported-by: Марк Коренберг <socketpair@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 11:09:38 +01:00
Michael Kerrisk
ffd4dec0f7
perf_event_open.2, endian.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 11:03:45 +01:00
Michael Kerrisk
0ec954eeef
gettid.2, restart_syscall.2, passwd.5, socket.7: Fix order of SEE ALSO entries
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 10:26:57 +01:00