Commit Graph

15222 Commits

Author SHA1 Message Date
Michael Kerrisk 6b1e34f2a4 madvise.2: Put MADV_SOFT_OFFLINE into kernel version order
Exceptionally, the lists on this page are in kernel version order
rather than alphabetical order. But one entry was out of order.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-06 12:27:25 +01:00
Michael Kerrisk 11c25e24c8 madvise.2: Clarify MADV_HWPOISON wording to say that it applies to a page range
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-06 12:24:54 +01:00
Michael Kerrisk 20cc8fa829 select.2: Document spurious EAGAIN error that can occur on other systems
Light reworking of text proposed by Josh Triplett.

Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-04 12:34:06 +01:00
Michael Kerrisk f14637570d poll.2: Document spurious EAGAIN error that can occur on other systems
Light reworking of text proposed by Josh Triplett.

Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-04 12:34:06 +01:00
Michael Kerrisk f5d65b55d0 filesystems.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 17:53:11 +01:00
Yuri Kozlov 3fb90c2527 filesystems.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 17:52:29 +01:00
Michael Kerrisk 5dbb60df52 select_tut.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 15:51:42 +01:00
Michael Kerrisk 65842010f3 select_tut.2: Simplify 'if' logic in in example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 14:37:40 +01:00
Michael Kerrisk 894d620ae2 select_tut.2: Use correct type (socklen_t) for addrlen
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 14:37:40 +01:00
Michael Kerrisk 5bb9aa4e0c select_tut.2: Better variable names in example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 14:37:40 +01:00
Michael Kerrisk f145f66700 select_tut.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 14:18:21 +01:00
Michael Kerrisk 887f19e8a1 select.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 14:16:00 +01:00
Michael Kerrisk 455f50e98b select_tut.2: Some readability fixes to example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 14:08:29 +01:00
Michael Kerrisk 24a31d632b accept.2, bind.2, connect.2, getpeername.2, getsockname.2, recv.2, recvmmsg.2, select_tut.2, send.2, sendmmsg.2, getaddrinfo.3, getnameinfo.3, epoll.7, unix.7: Use consistent argument/variable names for socket addresses and lengths
As noted by Carlos, there's quite a bit of inconsistency across
pages. Use 'addr' and 'addrlen' consistently in variables and
function arguments.

Cowritten-by: Carlos O'Donell <carlos@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 14:08:29 +01:00
Michael Kerrisk af54e3b716 tcp.7: srcfix: FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 12:43:54 +01:00
Michael Kerrisk df350fad22 socket.7: srcfix: FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 12:36:51 +01:00
Michael Kerrisk e875e3e5bc ip.7: Minor tweaks ro Eric's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 12:15:18 +01:00
Eric Dumazet 24d08ec7fb ip.7: Document IP_BIND_ADDRESS_NO_PORT socket option
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 12:02:01 +01:00
Michael Kerrisk 787dd4ad3a membarrier.2, crypt.3, dladdr.3, duplocale.3, fmemopen.3, gethostbyname.3, mallopt.3, newlocale.3, resolver.3, sigsetops.3, strfmon.3, tzset.3, console_ioctl.4, lirc.4, loop.4, vcs.4, dir_colors.5, locale.5, proc.5, tzfile.5, attributes.7, bootparam.7, capabilities.7, feature_test_macros.7, icmp.7, man-pages.7, netlink.7, path_resolution.7, pipe.7, socket.7, unix.7, vdso.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 09:14:22 +01:00
Michael Kerrisk b353ceb4a0 basename.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 08:46:35 +01:00
Michael Kerrisk def04e1ccf chown.2, futex.2, membarrier.2, memfd_create.2, mount.2, msgop.2, open.2, open_by_handle_at.2, perf_event_open.2, readv.2, sched_setscheduler.2, syslog.2, basename.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 08:46:16 +01:00
Michael Kerrisk e6a05bfff2 clock_getres.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 08:36:41 +01:00
Michael Kerrisk 9088de13ba capget.2, chown.2, chroot.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 08:36:32 +01:00
Michael Kerrisk 122502e824 bind.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 08:34:02 +01:00
Michael Kerrisk 5efada1d60 memusage.1: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 08:33:52 +01:00
Jakub Wilk 5415a0b2ac wavelan.4: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
2016-02-03 08:27:20 +01:00
Jakub Wilk ed1819cf3e futex.2: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
2016-02-03 08:27:03 +01:00
Jakub Wilk 2050c09881 perf_event_open.2: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
2016-02-03 08:26:34 +01:00
Jakub Wilk 3a1de8ba24 kexec_load.2: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
2016-02-03 08:26:01 +01:00
Michael Kerrisk 8400413301 msgop.2: tfix
Reported-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 08:24:17 +01:00
Michael Kerrisk 254f636a4c exp.3: SEE ALSO: add expm1(3)
Reported-by: Joachim Wuttke <j.wuttke@fz-juelich.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-01 15:30:45 +01:00
Marko Myllynen 6ad542bfd6 locale.1: Add "locale -c charmap" as an example
Addresses https://bugzilla.kernel.org/show_bug.cgi?id=104511.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-01 15:27:26 +01:00
Michael Kerrisk 6c3453059b select.2: Add details on the glibc fixed-size fd_set limitation
No modern application should use select() on Linux.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-01 15:21:54 +01:00
Nikos Mavrogiannopoulos 6b6e918550 select.2: Mention the 'fd_set' size limitation early and refer to poll(2)
Change this because of the serious limitation of select()
imposing a limit on the range of file descriptors that can
be monitored. This is currently mentioned too late in the
documentation (in the NOTES section). The man page should
warn early and refer to poll(2) as soon as possible.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-01 15:21:54 +01:00
Andreas Gruenbacher 148c6e74c0 aio.7: Improve example
When aio_sigevent.sigev_notify is set to SIGEV_SIGNAL, signal
handlers called for asynchronous I/O operations will have
si->si_code set to SI_ASYNCIO.  Check to make sure that
si->si_value.sival_ptr is defined.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-01 15:21:41 +01:00
Michael Kerrisk 555c23c278 personality.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-31 16:34:02 +01:00
Michael Kerrisk 2d41eca319 personality.2: Greatly expand, to add descriptions of personality domains.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-30 17:31:14 +01:00
Michael Kerrisk 6d8e9b7e76 readv.2: wrcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 21:48:45 +01:00
Michael Kerrisk 833dec2bd1 elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk e2e52667d0 elf.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk 34fe0d694e elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk aec0c1d559 elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk 661c038ccf elf.5: Parameterize top-level indent
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk c3a4517149 elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk b57b5c8885 elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk 1e90e9f8e5 elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk 0b5e05e935 elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk 252dec8977 elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk c9925fbd04 elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk bdd7d0d87b elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00