Michael Kerrisk
b1b70920af
flock.2: Move NOTES text describing implementation of flock()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-09 21:30:37 +02:00
Michael Kerrisk
e449654fdb
flock.2: Add more details on NFS, including Linux 2.6.37 changes
...
Also: move NOTES text describing interaction of fcntl()
and flock() locks.
Reviewed-by: NeilBrown <neilb@suse.de>
Reported-by: NeilBrown <neilb@suse.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-09 21:30:37 +02:00
Yuri Kozlov
f2f50fed25
fanotify_mark.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-08 21:16:39 +02:00
Yuri Kozlov
d1c05d0b78
send.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-08 21:16:06 +02:00
Rasmus Villemoes
f41d7fb3de
sendmmsg.2: Add reference to feature_test_macros(7)
...
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 20:45:30 +02:00
Rasmus Villemoes
9c57aa4847
recvmmsg.2: Add reference to feature_test_macros(7)
...
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 20:45:11 +02:00
Rasmus Villemoes
cdcdcf71c3
open_by_handle_at.2: Add reference to feature_test_macros(7)
...
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 20:44:39 +02:00
Michael Kerrisk
adab861a92
execve.2: RLIMIT_NPROC is checked only if preceded by set*uid()
...
Reported-by: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk
8349023145
execve.2: Before kernel 2.6.0, RLIMIT_NPROC had no effect for set*uid()
...
Reported-by: NeilBrown <neilb@suse.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk
ebd381ba7b
execve.2: Document EAGAIN error
...
See also https://bugzilla.kernel.org/show_bug.cgi?id=42704
Reviewed-by: Vasiliy Kulikov <segoon@openwall.com>
Reviewed-by: NeilBrown <neilb@suse.de>
Reported-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk
27cbe70472
setreuid.2: Error checking should always be performed, even when caller is UID 0
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk
f673b78321
setresuid.2: Error checking should always be performed, even when caller is UID 0
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk
b57db62bf0
seteuid.2: Error checking should always be performed, even when caller is UID 0
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk
7d8d165a4b
setuid.2: Error checking should always be performed, even when caller is UID 0
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk
c4fe0edf5c
setuid.2: Since Linux 3.1, the EAGAIN case for RLIMIT_NPROC no longer occurs
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk
c2cb87b649
setreuid.2: Since Linux 3.1, the EAGAIN case for RLIMIT_NPROC no longer occurs
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk
19d889b39a
setresuid.2: Since Linux 3.1, the EAGAIN case for RLIMIT_NPROC no longer occurs
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk
25b2ea5fd6
setuid.2: Document EAGAIN error that can occur after kernel alloc_uid() failure
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk
27bb77b0c7
setreuid.2: Document EAGAIN error that can occur after kernel alloc_uid() failure
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:51 +02:00
Michael Kerrisk
199f1e1572
setresuid.2: Document EAGAIN error that can occur after kernel alloc_uid() failure
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:41 +02:00
Michael Kerrisk
4b3beb4932
setreuid.2: Add EAGAIN error for hitting RLIMIT_NPROC limit
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:05:43 +02:00
Michael Kerrisk
7a42bf02f7
setuid.2: Correct the description of the EAGAIN error
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:05:43 +02:00
Michael Kerrisk
c5e8af4dc2
setresuid.2: Correct the description of the EAGAIN error
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:05:43 +02:00
Michael Kerrisk
a36b2bb0ec
seteuid.2: seteuid() and setegid() are implemented as library functions
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:05:43 +02:00
Michael Kerrisk
8660ef9f1d
locale.1, adjtimex.2, clone.2, fork.2, getrlimit.2, remap_file_pages.2, set_mempolicy.2, swapon.2, a64l.3, adjtime.3, argz_add.3, bstring.3, envz_add.3, fpathconf.3, fseek.3, gcvt.3, getaddrinfo_a.3, getauxval.3, getnameinfo.3, getrpcent.3, getrpcport.3, getspnam.3, getutent.3, inet.3, inet_net_pton.3, key_setsecret.3, makecontext.3, makedev.3, malloc_trim.3, mq_getattr.3, newlocale.3, nl_langinfo.3, perror.3, pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setscope.3, pthread_attr_setstack.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_cleanup_push_defer_np.3, pthread_create.3, pthread_setname_np.3, pthread_setschedparam.3, pthread_setschedprio.3, pthread_sigqueue.3, rcmd.3, re_comp.3, resolver.3, rexec.3, rtime.3, scandir.3, setlocale.3, setnetgrent.3, sigvec.3, tsearch.3, core.5, proc.5, charsets.7, locale.7: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 15:42:25 +02:00
Simon Paillard
11bae399cf
shmget.2: wfix
...
The section is about failures, no need to recall this for that
specific error code.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-23 15:50:53 +02:00
Rasmus Villemoes
236899f0ab
swapon.2: Remove header from synopsis
...
The <asm/page.h> header is not readily available, and the comment
seems to indicate that it is for getting PAGE_SIZE. But it is
never mentioned why one would need to know that, and it is in any
case better obtained using sysconf(), provided by <unistd.h>.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Michael Kerrisk
5918743bc8
adjtimex.2: Add featute test macro requirements
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes
aff9c3077a
remap_file_pages.2: Fix prototype
...
The pgoff argument has type size_t, not ssize_t (and in the kernel it
is unsigned long).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:26 +02:00
Rasmus Villemoes
2cbf26f13e
set_mempolicy.2: Fix prototype for set_mempolicy(2)
...
The nodemask argument is const. The return type in numaif.h is long.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:26 +02:00
Michael Kerrisk
41dfc98f96
fork.2: ERRORS: add pid_max and threads-max to EAGAIN
...
And rewrite text to be the same as pthread_create(3).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:26 +02:00
Michael Kerrisk
e1b6e18657
clone.2: ERRORS: add cross-reference to fork(2) for explanation of EAGAIN
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:26 +02:00
Michael Kerrisk
f703b9e10b
getrlimit.2: RLIMIT_NPROC is not enforced if CAP_SYS_ADMIN or CAP_SYS_RESOURCE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:26 +02:00
Michael Kerrisk
0da5e58ad2
Removed trailing white space at end of lines
2014-05-21 13:16:14 +02:00
Michael Kerrisk
3d15531307
chown.2, fcntl.2, futex.2, recvmmsg.2, sched_setscheduler.2, semget.2, shmget.2, malloc.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_setaffinity_np.3, strcpy.3, capabilities.7, cpuset.7, credentials.7, pthreads.7: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-21 13:15:30 +02:00
Michael Kerrisk
0acc5c6d66
renameat2.2: New link to rename.2
...
When documentation of the renameat2() system calls was added to
rename(2), I overlooked to create the corresponding link file.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-21 08:58:38 +02:00
Michael Kerrisk
c73dc4fe14
connect.2: Remove mention of ip_local_port_range under EAGAIN error
...
Man-pages commit ac7477eb7a
added EADDRNOTAVAIL as the correct
error for ephemeral port range exhaustion. However, that error
was also incorrectly described under the EAGAIN entry. So,
remove that text under EAGAIN.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 13:34:53 +02:00
Michael Kerrisk
a568e16408
dup.2: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 11:30:07 +02:00
Michael Kerrisk
103ea4f6b3
open.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 11:25:57 +02:00
Michael Kerrisk
2feae60283
open.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 11:23:13 +02:00
Michael Kerrisk
d6a74b9559
open.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 11:06:18 +02:00
Michael Kerrisk
caf2083a46
socket.2: spfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 10:51:31 +02:00
Michael Kerrisk
9af6b11576
open.2: spfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 10:39:47 +02:00
Michael Kerrisk
177660fae0
ptrace.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 10:10:03 +02:00
Michael Kerrisk
cb8a928f3a
perf_event_open.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 09:37:03 +02:00
Michael Kerrisk
0c892e5b60
sigaltstack.2: spfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 09:21:30 +02:00
Simon Paillard
18c9919b48
fallocate.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 08:16:04 +02:00
Michael Kerrisk
be5c465e9f
fanotify_init.2: Tweak's to Heinrich Schuchardt's patch
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-18 09:47:39 +02:00
Heinrich Schuchardt
1caffed4af
fanotify_init.2: Document range of permitted flags for event_f_flags
...
With a new patch included in the mm tree, event_f_flags is
checked for allowable values.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-18 09:47:08 +02:00
Simon Paillard
3fcc7a7afd
semget.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-18 08:49:06 +02:00
Michael Kerrisk
db122bbd33
ioctl.2: tfix
...
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-16 20:10:58 +02:00
Michael Kerrisk
0e1c72e995
msgop.2: Drop some details from Davidlohr Bueso's patch
...
MSGTQL on other systems is a system-wide limit, not a
per-queue limit.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-16 14:45:24 +02:00
Michael Kerrisk
ab1b15aa37
msgop.2: Rewordings of Davidlohr Bueso's patch
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-16 14:45:24 +02:00
Davidlohr Bueso
64190fa613
msgop.2: Enhance description of "full queue" criteria
...
Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-16 14:45:18 +02:00
Michael Kerrisk
be6752b65a
readv.2: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-16 14:26:10 +02:00
Michael Kerrisk
72fb133253
uname.2: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 15:22:13 +02:00
Michael Kerrisk
665e7c79f3
times.2: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 15:21:27 +02:00
Michael Kerrisk
72c68b6a68
shmget.2: NOTES: Add a subheading
...
(No content changes.)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 15:12:38 +02:00
Michael Kerrisk
0e94942dcd
semget.2: Minor changes to paragraphs on semaphore initialization
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 15:09:52 +02:00
Michael Kerrisk
b93dd595bc
semget.2: NOTES: Add a subheading and reorder paragraphs
...
(No content changes.)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 15:08:25 +02:00
Michael Kerrisk
098c4f6411
semget.2: NOTES: Add a subheading
...
(No content changes.)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 15:06:43 +02:00
Michael Kerrisk
046d38acae
execve.2: Minor rewording
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 15:00:02 +02:00
Michael Kerrisk
4c4d30d82b
execve.2: NOTES: Add a subheading and reorder paragraphs
...
(No content changes.)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 14:58:48 +02:00
Michael Kerrisk
800a8a4288
execve.2: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 14:57:03 +02:00
Michael Kerrisk
e04fe04127
access.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 14:52:46 +02:00
Michael Kerrisk
3818a4f1da
wait.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 14:38:43 +02:00
Michael Kerrisk
0dc55d1bda
semop.2: NOTES: Add a subheading
...
(No content changes.)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 14:25:09 +02:00
Michael Kerrisk
07318a59d6
ptrace.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 14:20:26 +02:00
Michael Kerrisk
cc0b880000
chown.2: NOTES: Add some subheadings
...
(No content changes.)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 14:13:33 +02:00
Michael Kerrisk
381eddf1bc
fcntl.2: Add "file locking" subheading under NOTES
...
(No actual changes to the text.)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 08:55:20 +02:00
Michael Kerrisk
b939d6e4ba
futex.2: Note that there is no glibc wrapper
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 06:45:22 +02:00
Michael Kerrisk
c6d3c47f12
sched_setattr.2: Update timestamp after review
...
Page has been reviewed by Peter and Juri.
Reviewed-by: Juri Lelli <juri.lelli@gmail.com>
Reviewed-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 20:45:29 +02:00
Michael Kerrisk
6a6dd34494
sched_setscheduler.2: ERRORS: mark errors that apply just to sched_setscheduler()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 20:45:29 +02:00
Michael Kerrisk
b61826c0e7
sched_setscheduler.2: ERRORS: separate out EINVAL cases
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 20:45:29 +02:00
Michael Kerrisk
94417494b3
sched_setscheduler.2: ERRORS: add EINVAL case for pid < 0
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 20:45:29 +02:00
Michael Kerrisk
7181635a60
sched_setparam.2: ERRORS: Add EINVAL for invalid arguments
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 20:45:29 +02:00
Michael Kerrisk
5529e47bf2
sched_setparam.2: ERRORS: mark errors that apply just for sched_setparam()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 20:45:29 +02:00
Michael Kerrisk
72a8053949
sched_get_priority_max.2: Minor rewording
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 20:45:29 +02:00
Michael Kerrisk
ce97aba39e
sched_get_priority_max.2: 'policy' can also be SCHED_DEADLINE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 20:45:28 +02:00
Michael Kerrisk
75becc94d3
fork.2: ERRORS: SCHED_DEADLINE tasks can fail with EAGAIN
...
SCHED_DEADLINE tasks can fail with EAGAIN unless the
reset-on-fork flag is set.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 20:45:28 +02:00
Michael Kerrisk
225d97f29e
sched_setattr.2: New page describing sched_setattr(2) and sched_getattr(2)
...
Cowritten-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 20:45:28 +02:00
Michael Kerrisk
ab3d02453d
sched_setscheduler.2: wfix + tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 20:45:28 +02:00
Michael Kerrisk
48ae5295f3
sched_setparam.2: SEE ALSO: add sched_setattr(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 20:45:28 +02:00
Michael Kerrisk
7697f8394e
sched_getattr.2: New link to new sched_setattr.
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 20:45:28 +02:00
Michael Kerrisk
27b38e1c2b
futex.2: srcfix: Update FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 10:36:23 +02:00
Michael Kerrisk
dfc0036345
recvmmsg.2: Describe timeout bug
...
See FIXME https://bugzilla.kernel.org/show_bug.cgi?id=75371
and http://thread.gmane.org/gmane.linux.man/5677
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-12 21:13:31 +02:00
Michael Kerrisk
3d1ee4971b
delete_module.2, perf_event_open.2, sched_setscheduler.2, shmctl.2, gai.conf.5, resolv.conf.5, fanotify.7, man-pages.7: wsfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-12 08:44:56 +02:00
Michael Kerrisk
ea38fc5c46
remap_file_pages.2: wfix
...
Reported-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-10 19:43:52 +02:00
Michael Kerrisk
af8ad761d9
epoll_wait.2: spfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-10 07:39:00 +02:00
Michael Kerrisk
0b13a3d631
create_module.2, delete_module.2, init_module.2, query_module.2: spfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-10 07:38:04 +02:00
Michael Kerrisk
fa5d243fac
open.2: spfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-10 07:33:48 +02:00
Michael Kerrisk
76f2666031
remap_file_pages.2: Tweak notes on 2.6.23 changes
...
Cowritten-by: Christoph Hellwig <hch@infradead.org>
Cowritten-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-09 07:30:32 +02:00
Michael Kerrisk
6fffae19ac
link.2: AT_EMPTY_PATH *does* require CAP_DAC_READ_SEARCH
...
Andy Lutomirski pointed out that man-pages commit 7dee406bc4
described behavior that was implemented in kernel commit
bb2314b4799 (1 Aug 2013), but that commit was soon afterward
reverted (f0cc6ffb8ce896). So rework the pieces of man-pages
commit 7dee406bc4
that relate to the privilges change.
Reported-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-09 07:04:41 +02:00
Michael Kerrisk
726663fd9d
bind.2, connect.2, create_module.2, delete_module.2, execve.2, get_robust_list.2, getpriority.2, getrusage.2, init_module.2, link.2, listen.2, mbind.2, open.2, poll.2, query_module.2, readlink.2, recv.2, remap_file_pages.2, sched_setaffinity.2, semop.2, send.2, stat.2, stime.2, syscall.2, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, remquo.3, rtime.3, sched_getcpu.3, stpcpy.3, stpncpy.3, strcasecmp.3, system.3, fd.4, proc.5, ip.7: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:31:12 +02:00
Michael Kerrisk
77500b7e54
bind.2, connect.2, listen.2, send.2: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:56 +02:00
Michael Kerrisk
16f7b04c23
send.2: ERRORS: Add EAGAIN for ephemeral port range exhaustion
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:56 +02:00
Michael Kerrisk
cbe3d857bd
listen.2: ERRORS: Add EADDRINUSE for ephemeral port range exhaustion
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:56 +02:00
Michael Kerrisk
9b533686d8
bind.2: ERRORS: Add EADDRINUSE for ephemeral port range exhaustion
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:56 +02:00
Michael Kerrisk
ac7477eb7a
connect.2: ERRORS: Add EADDRNOTAVAIL for ephemeral port range exhaustion
...
Verified from testing and the kernel source.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745775
Reported-by: William Morriss <wjmelements@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:55 +02:00
Michael Kerrisk
2f3c91a48f
connect.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:55 +02:00