Michael Kerrisk
b73f9ed61d
kcmp.2: Substantial reworking/extension of Cyrill Gorcunov's page
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 08:05:15 +01:00
Cyrill Gorcunov
aab0b384fd
kcmp.2: New page for kcmp(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 08:05:15 +01:00
Michael Kerrisk
f33d383dd0
sysctl.2: ERRORS: EACCES as a synonym for EPRM
...
See https://bugzilla.kernel.org/show_bug.cgi?id=46731
and http://thread.gmane.org/gmane.linux.ltp/11413/focus=957635
From: Garrett Cooper <yanegomi <at> gmail.com>
Subject: Re: [LTP] [PATCH] sysctl03: sysctl returns EACCES after 2.6.33-rc1
Newsgroups: gmane.linux.kernel, gmane.linux.ltp
Date: 2010-03-04 18:35:33 GMT
Reported-by: Garrett Cooper <yanegomi@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 02:40:06 +01:00
Michael Kerrisk
ecbb4bb73c
syscalls.2: Add finit_module(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 18:29:34 +01:00
Michael Kerrisk
e6d86b417f
Removed trailing white space at end of lines
2012-12-20 18:17:09 +01:00
Michael Kerrisk
cd56c2fce6
wait.2, ttyname.3, undocumented.3: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 18:12:45 +01:00
Michael Kerrisk
28474c20d9
sysctl.2: Mention CONFIG_SYSCTL_SYSCALL
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 17:37:50 +01:00
Michael Kerrisk
bef43fac15
sysctl.2: Calls to sysctl() log warnings to the kernel log since 2.6.24
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 17:33:05 +01:00
Michael Kerrisk
a25601b48b
recv.2: UNIX domain sockets support MSG_TRUNC since 3.4
...
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 17:04:43 +01:00
Michael Kerrisk
929f1ff7f7
syscalls.2: Update various references to "i386" to "x86"
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-18 22:05:57 +01:00
Michael Kerrisk
ccc0a19554
fallocate.2: srcfix: Affed FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-18 20:33:26 +01:00
Michael Kerrisk
2908f2b4aa
s390_runtime_instr.2: Minor fixes fo Jan's page
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-17 22:01:43 +01:00
Jan Glauber
820630e109
s390_runtime_instr.2: New page for s390-specific s390_runtime_instr(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-17 22:01:34 +01:00
Michael Kerrisk
993d1ce33e
syscalls.2: Add s390_runtime_instr(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-17 20:15:06 +01:00
Michael Kerrisk
821e74fad4
sendmmsg.2: Minor fix-ups for Elie De Brauwer's patch
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-17 20:15:01 +01:00
Elie De Brauwer
daf3eb0c70
sendmmsg.2: Add example program for sendmmsg()
...
The example uses sendmmsg() to send out a string "onetwo"
on a first datagram, where both halves originate from
distinct buffers and a second datagram contains "three",
coming from a single buffer.
Tested with netcat listening:
root@ubuntu:~# nc -l -u -p 1234
onetwothree
And tcpdump peeking:
root@ubuntu:~# tcpdump -c 2 -s 0 -X -ni lo tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes
18:45:16.632134 IP 127.0.0.1.34715 > 127.0.0.1.1234: UDP, length 6
0x0000: 4500 0022 c21c 4000 4011 7aac 7f00 0001 E.."..@.@.z.....
0x0010: 7f00 0001 879b 04d2 000e fe21 6f6e 6574 ...........!onet
0x0020: 776f wo
18:45:16.633267 IP 127.0.0.1.34715 > 127.0.0.1.1234: UDP, length 5
0x0000: 4500 0021 c21d 4000 4011 7aac 7f00 0001 E..!..@.@.z.....
0x0010: 7f00 0001 879b 04d2 000d fe20 7468 7265 ............thre
0x0020: 65 e
2 packets captured
4 packets received by filter
0 packets dropped by kernel
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-15 19:18:26 +01:00
Michael Kerrisk
f26fe082b4
unshare.2: srcfix: Added FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-05 17:21:14 +01:00
Michael Kerrisk
f70f94e84d
gettimeofday.2: srcfix: Added FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-04 12:41:30 +01:00
Michael Kerrisk
89f54905a0
clone.2: Since 2.6.30, CLONE_NEWIPC also supports POSIX message queues
...
See kernel commit 7eafd7c74c3f2e67c27621b987b28397110d643f
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-30 11:02:49 +01:00
Michael Kerrisk
f766e43c28
syslog.2: Add mention of CONFIG_LOG_BUF_SHIFT
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-29 15:51:22 +01:00
Michael Kerrisk
0adbf43a03
syslog.2: Clarify SYSLOG_ACTION_SIZE_UNREAD semantics
...
SYSLOG_ACTION_SIZE_UNREAD returns the number of bytes
available for reading via SYSLOG_ACTION_READ.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-29 15:51:22 +01:00
Michael Kerrisk
7fc3d0580b
syslog.2: Clarify semantics of SYSLOG_ACTION_CLEAR
...
The SYSLOG_ACTION_CLEAR command (5) does not really clear
the ring buffer; rather it affects the semantics of what
is returned by commands 3 (SYSLOG_ACTION_READ_ALL) and
4 (SYSLOG_ACTION_READ_CLEAR).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-29 15:51:22 +01:00
Michael Kerrisk
70a259dcd5
syslog.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-28 14:42:27 +01:00
Michael Kerrisk
55ed5fceec
syslog.2: Clarify where SYSLOG_ACTION_READ_ALL places data it reads
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-28 14:42:27 +01:00
Michael Kerrisk
1850e19a35
syslog.2: Substantially reorganize discussion of commands
...
Make the layout if the discussion of the commands
more readable.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-28 14:42:27 +01:00
Michael Kerrisk
9f924d1702
syslog.2: Clarify discussion of privileges for commands 3 and 10
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-28 12:04:14 +01:00
Michael Kerrisk
e4a952a1a9
syslog.2: Add kernel symbolic 'type' names
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-28 11:53:10 +01:00
Michael Kerrisk
00a1fbcfc4
wait.2: BUGS: Document odd waitid() behavior when 'infop' is NULL
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-27 07:49:59 +01:00
Michael Kerrisk
27bada1fa1
getrlimit.2: Document Linux's nonstandard treatment or RLIMIT_CPU soft limit
...
Upon encountering the RLIMIT_CPU soft limit when a SIGXCPU handler
has been installed, Linux invokes the signal handler *and* raises
the soft limit by one second. This behavior repeats until the
limit is encountered. No other implementation that I tested
(Solaris 10, FreeBSD 9.0, OpenBSD 5.0) does this, and it seems
unlikely to be POSIX-conformant. The (Linux-specific)
RLIMIT_RTTIME soft limit exhibits similar behavior.
Reported-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-27 07:49:59 +01:00
Michael Kerrisk
6d0620d865
getrlimit.2: Point reader at discussion of /proc/[pid]/limits in proc(5)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-24 09:08:04 +01:00
Thierry Vignaud
b8d5a242bf
ipc.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-22 05:38:06 +01:00
Simon Paillard
fec75159e1
stat.2: Clarify description of EOVERFLOW error
...
The EOVERFLOW error is not only for st_size, but also
inode and block size fields. See glibc source file
sysdeps/unix/sysv/linux/xstatconv.c and kernel source
file fs/stat.c. Also, fix bit/byte confusion
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604928
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-11 11:40:23 +01:00
Michael Kerrisk
46fccf2d8e
io_getevents.2: io_getevents() may cause segfault when called with invalid ctx_id
...
For reference see: http://marc.info/?l=linux-aio&m=130089887002435&w=2
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-11 09:08:32 +01:00
David Prévot
16a21eeaa6
prctl.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-11 08:56:50 +01:00
David Prévot
d2ea1bd4bd
ptrace.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-09 06:53:19 +01:00
Michael Kerrisk
35f6968001
delete_module.2: Small rewording of description of effect of O_TRUNC
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-08 13:44:13 +01:00
Michael Kerrisk
e64bdfcf3c
delete_module.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-08 13:37:10 +01:00
Michael Kerrisk
fa1d274987
Removed trailing white space at end of lines
2012-11-07 14:24:27 +01:00
Michael Kerrisk
0d3bd76037
clock_getres.2, clock_nanosleep.2, ipv6.7: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-07 14:23:14 +01:00
David Prévot
8321eae507
init_module.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-07 13:58:21 +01:00
David Prévot
f7fbc7a95e
ipc.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-07 13:47:30 +01:00
David Prévot
b2fc8e9f28
delete_module.2: spfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-07 13:46:38 +01:00
Michael Kerrisk
029599913b
clock_getres.2, clock_nanosleep.2: Linking with -lrt is no longer needed from glibc 2.17 onward
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-29 09:27:58 +01:00
Michael Kerrisk
e089cba10e
fork.2: Note treatment of default timer slack value on fork()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-28 07:23:28 +01:00
Michael Kerrisk
934487a086
prctl.2: Document PR_SET_TIMERSLACK and PR_GET_TIMERSLACK
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-28 07:23:28 +01:00
Michael Kerrisk
8e9412e7a5
execve.2: Document treatment of SECBIT_KEEP_CAPS securebits flag on execve()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-28 07:23:28 +01:00
Michael Kerrisk
30cc7676ef
execve.2: Document treatment of PR_SET_PDEATHSIG on execve()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-28 07:23:28 +01:00
Michael Kerrisk
46b7f60e65
prctl.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-28 07:23:28 +01:00
Michael Kerrisk
990e388795
prctl.2: Minor rewording for seccomp description
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-28 07:23:03 +01:00
Michael Kerrisk
f49202ae2b
prctl.2: Reword PR_SET_NAME and PR_GET_NAME in terms of threads
...
Plus tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-28 07:18:11 +01:00