Commit Graph

4080 Commits

Author SHA1 Message Date
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
Michael Kerrisk 3a4b02b2f2 execve.2: Note SIGKILL case when execve() fails beyond the point of no return
Reported-by: Steven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:55 +02:00
Rasmus Villemoes da30ae718f poll.2: Add <signal.h> to synopsis for ppoll()
One needs to #include <signal.h> to get the definition of the
type (sigset_t) of the mask argument to ppoll().

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:55 +02:00
Rasmus Villemoes b93d8ccadc mbind.2: Fix prototype for mbind(2)
The nmask argument is const. The return type in numaif.h is long.
(Well, at least <numaif.h> says nmask is const. The current kernel
does not define it as a const argument, but sys_mbind() only
passes it to get_nodes(), which does treat it as const.)

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:55 +02:00
Rasmus Villemoes 24313b880d syscall.2: Fix prototype for syscall(2)
The first argument and the return value of syscall() has type long,
not int.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:55 +02:00
Rasmus Villemoes 531b5b69b4 get_robust_list.2: Add <sys/types.h> to synopsis of get_robust_list()
If one were to implement wrappers for [gs]et_robust_list() using the
given prototypes, one would also have to include sys/types.h to get
a definition of size_t.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:55 +02:00