Michael Kerrisk
ed4c2b6937
msgop.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:45:24 +01:00
Michael Kerrisk
8b04592d3a
open.2: spfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:57 +01:00
Michael Kerrisk
0d730fcc90
open.2: BUGS: Verifying O_TMPFILE support requires checking for *two* errors
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:57 +01:00
Michael Kerrisk
fd185f5819
open.2: srcfix: Update copyright to add mtk
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:57 +01:00
Michael Kerrisk
aa56704a72
linkat.2: Add ENOENT for O_TMPFILE created with O_EXCL
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:57 +01:00
Michael Kerrisk
0115aaedca
open.2: Add text on meaning of O_EXCL + O_TMPFILE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:57 +01:00
Michael Kerrisk
e1252130e0
open.2: Adjust O_TMPFILE code sample
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:57 +01:00
Michael Kerrisk
4d61d36a8e
open.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:57 +01:00
Michael Kerrisk
0fb83d0052
open.2: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:57 +01:00
Michael Kerrisk
f869dc0479
open.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:56 +01:00
Michael Kerrisk
566b427d82
open.2: Minor reworking of text referring to fcntl(2) and file status flags
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:56 +01:00
Michael Kerrisk
fb0840efdd
open.2: Remove crufty duplicate text on modifying file status flags
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:56 +01:00
Michael Kerrisk
9bde49089c
open.2: Add pointer in description to BUGS, for O_ASYNC limitation
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:56 +01:00
Michael Kerrisk
40398c1ac7
open.2: Place O_TMPFILE in alphabetical order
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:56 +01:00
Michael Kerrisk
72ac726808
open.2: Update CONFORMING TO
...
Add POSIX.1-2008. Add mention of O_TMPFILE.
Update text on various flags that were added in POSIX.1-2008, and
whose definitions can, since glibc 2.12, be obtained by suitably
defining _POSIX_C_SOURCE or _XOPEN_SOURCE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:56 +01:00
Michael Kerrisk
843068bde5
open.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:56 +01:00
Michael Kerrisk
31c1f2b09e
getrlimit.2, madvise.2, mount.2, open.2, perf_event_open.2, send.2: tfix: Consistent capitalization for "(since Linux...)"
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:56 +01:00
Michael Kerrisk
bbe02b45fb
open.2: Note that O_TMPFILE requires per-filesystem support
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:56 +01:00
Michael Kerrisk
ba03011f40
open.2: Add ENOENT error for O_TMPFILE
...
On older kernels that don't support O_TMPFILE, O_TMPFILE +
[O_RDWR or O_WRONLY] will produce the error ENOENT if
the directory specified in 'pathname' does not exist.
Reported-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:56 +01:00
Michael Kerrisk
8e3353915c
open.2: Significant enhancements to O_TMPFILE discussion
...
Describe use of linkat() with O_TMPFILE.
Note main use cases for O_TMPFILE.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:56 +01:00
Michael Kerrisk
e6f89ed221
open.2: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:56 +01:00
Michael Kerrisk
f76679cacb
open.2: Fixes to Andy Lutomirski's patch
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:56 +01:00
Andy Lutomirski
f2698a42d4
open.2: Document O_TMPFILE
...
O_TMPFILE is new in Linux 3.11
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:44:56 +01:00
Michael Kerrisk
1d3050c0dd
getrlimit.2: Note that rlim_cur can be set lower than current resource consumption
...
Reported-by: Марк Коренберг <socketpair@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:39:11 +01:00
Michael Kerrisk
8dc3367531
select.2: RETURN VALUE: Fix discussion of treatment of file descriptor sets
...
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574370
Reported-by: Marc Lehmann <debian-reportbug@plan9.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:13:48 +01:00
Michael Kerrisk
423bd34478
getsockopt.2: SEE ALSO: add ip(7) and udp(7)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:13:48 +01:00
Michael Kerrisk
7de4a1e357
perf_event_open.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-23 15:36:04 +01:00
Michael Kerrisk
b3f39642ec
perf_event_open.2: Minor fixes to Vince Weaver's patch
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-23 15:36:04 +01:00
Vince Weaver
1e04395903
perf_event_open.2 : PERF_SAMPLE_TRANSACTION support in Linux 3.13 (fwd)
...
The following patch adds descriptions of the new perf_event_open.2
PERF_SAMPLE_TRANSACTION sample type as added in Linux 3.13.
The descriptions are based on information provided by Andi Kleen,
both in the e-mail
[PATCH 1/6] perf, core: Add generic transaction flags v5
sent to the linux-kernel list as well as an e-mail
[PATCH] Document transaction flags in perf_event_open manpage
sent to the linux-man list.
The implementation is based heavily on the Intel Haswell
processor. Documentation can be found at this page:
http://software.intel.com/en-us/blogs/2013/05/03/intelr-transactional-synchronization-extensions-intelr-tsx-profiling-with-linux-0
as well as in section 18.11.5.1 of volume 3 of the
Intel 64 and IA-32 Architecture Software Developer's Manual.
Also, someone with better manpage formatting skills than I have
should probably investigate why I can't get the last line of
the change to properly tab-align with the .I transaction
heading.
Cowritten-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-23 15:36:04 +01:00
Michael Kerrisk
222475b004
ptrace.2: Add details to descriptions of PTRACE_GETSIGMASK and PTRACE_SETSIGMASK
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-23 15:36:04 +01:00
Michael Kerrisk
db6f9ec807
epoll_wait.2: Clarify wording of EINTR error
...
See https://bugzilla.kernel.org/show_bug.cgi?id=66571
Reported-by: Jonas Jonsson <jonas@websystem.se>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-22 14:13:08 +01:00
Michael Kerrisk
2b0b798877
unlinkat.2: ERRORS: Add EISDIR
...
See https://bugzilla.kernel.org/show_bug.cgi?id=29702
Reported-by: Mike Frysinger: <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-22 13:56:46 +01:00
Michael Kerrisk
4999554322
fallocate.2: Note filesystems that support FALLOC_FL_PUNCH_HOLE operation
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-22 12:45:26 +01:00
Michael Kerrisk
b146ac839f
lseek.2: Note which filesystems support SEEK_HOLE/SEEK_DATA
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-22 12:30:49 +01:00
Michael Kerrisk
7e7454efaa
keyctl.2: SEE ALSO: mention Documentation/security/keys.txt
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-22 10:55:00 +01:00
Michael Kerrisk
1c27d5d827
keyctl.2: srcfix: Add FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-22 10:54:09 +01:00
Michael Kerrisk
d6cfaf138d
syscalls.2: Remove madvise1() from main list
...
madvise1() is one of the system calls that was never
implemented, and listed toward the bottom of the page.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-22 04:46:55 +01:00
Michael Kerrisk
1c40a3ed1a
faccessat.2: Note that the system call takes only three arguments
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-22 04:46:55 +01:00
Michael Kerrisk
93265f420c
fcntl.2: POSIX.1 specifies F_SETOWN and F_GETOWN for sockets/SIGURG
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-22 04:46:48 +01:00
Michael Kerrisk
639b33d7b8
fcntl.2: BUGS: The O_SYNC and O_DSYNC flags are not modifiable using F_SETFL
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-22 04:28:21 +01:00
Michael Kerrisk
7168d2f88b
fcntl.2: Add susbsections under BUGS
...
There's several bugs listed. It's helpful to mark
them separately.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-21 08:44:44 +01:00
Michael Kerrisk
83894d15e2
ptrace.2: Reworking of Andrey's patches
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 13:20:56 +01:00
Andrey Vagin
9a36b8fca0
ptrace.2: Add description for PTRACE_GETSIGMASK and PTRACE_SETSIGMASK
...
These two commands allow to examine and change mask of blocked signals.
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 10:43:11 +01:00
Andrey Vagin
7a535f54fb
ptrace.2: Add description for PTRACE_PEEKSIGINFO
...
Retrieve signals without removing them from a queue.
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 10:42:13 +01:00
Michael Kerrisk
e66b193dd1
timer_create.2: Add pointer to proc(5) for info on /proc/[pid]/timers
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 09:09:05 +01:00
Michael Kerrisk
f78ed33a65
madvise.2, perf_event_open.2, query_module.2, stat.2, sem_init.3, hpsa.4, rtc.4, st.4, elf.5, filesystems.5, proc.5, environ.7, man-pages.7, regex.7, units.7: Reword to avoid use of "etc."
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:58:39 +13:00
Michael Kerrisk
5a6194a405
execve.2, get_robust_list.2, getunwind.2, pipe.2, quotactl.2, clock_getcpuclockid.3, endian.3, fmemopen.3, getgrouplist.3, getservent_r.3, mq_notify.3, qsort.3, rtime.3, mailaddr.7: ffix: replace tabs with white space in code examples
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 20:47:47 +13:00
Michael Kerrisk
5ecff2297f
linkat.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-17 23:46:38 +13:00
Michael Kerrisk
c6ba8faeb5
linkat.2: ERRORS: Add EINVAL
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-17 23:46:17 +13:00
Michael Kerrisk
78685d04ec
io_getevents.2: spfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-15 17:44:34 +13:00