Commit Graph

7275 Commits

Author SHA1 Message Date
Michael Kerrisk fc60dabeff Start of man-pages-3.35: updating Changes and Changes.old 2011-09-23 08:13:05 +02:00
Michael Kerrisk 3225e4b9fa Start of man-pages-3.35: updating .Announce and .lsm files 2011-09-23 08:13:05 +02:00
Michael Kerrisk 3450e0f38d Start of man-pages-3.35: renaming .Announce and .lsm files 2011-09-23 08:13:05 +02:00
Michael Kerrisk e3c88e4266 Ready for 3.34 2011-09-23 08:01:26 +02:00
Michael Kerrisk 1976f57a63 Removed trailing white space at end of lines 2011-09-23 08:01:18 +02:00
Michael Kerrisk a032492ea9 pthread_sigqueue.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:40:55 +02:00
Michael Kerrisk 89b7c08ef1 Changes: Ready for 3.34 release
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:39:26 +02:00
Michael Kerrisk 776b81f6cb ip.7: Mnor fixes
Reported-by: Benjamin Poirier <benjamin.poirier@gmail.com>
Reported-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:25:34 +02:00
Michael Kerrisk fe48639fc3 set_mempolicy.2, getcwd.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:17:13 +02:00
Michael Kerrisk 5238ea2cfc getaddrinfo_a.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:15:41 +02:00
David Prévot 8c3fb60451 madvise.2: ffix
Signed-off-by: David Prévot <taffit@debian.org>
2011-09-23 07:13:09 +02:00
Michael Kerrisk b18e759d8c fstatat.2, rt_sigqueueinfo.2, sendfile.2, hsearch.3, matherr.3, rtld-audit.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:11:27 +02:00
David Prévot 62fc472fa8 posix_fadvise.2: ffix
Signed-off-by: David Prévot <taffit@debian.org>
2011-09-23 07:07:58 +02:00
David Prévot fb30b09644 lseek.2, inet_pton.3, tzfile.5: tfix
Please find attach a consistency fix: there were only five
"zeroes" but twenty four "zeros" in those manual pages.
(Make all instances "zeros".)

Signed-off-by: David Prévot <taffit@debian.org>
2011-09-23 07:02:06 +02:00
Michael Kerrisk f7cac3c341 sigqueue.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 16:35:41 +02:00
Michael Kerrisk 38be53abdf wctob.3: Remove crufty text left by last commit
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 09:44:01 +02:00
Michael Kerrisk da8a154e7e btowc.3, wctob.3: Add pointers to better, thread-safe alternative functions
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606899

btowc(3) says:

    This function should never be used.  It does not work for
    encodings which have state, and unnecessarily treats single
    bytes differently from multibyte sequences.  Use the
    function mbtowc() instead.

but mbtowc(3) says:

    The function mbrtowc(3) provides a better interface to the
    same functionality.

Obviously, btowc(3) should not suggest a non-optimal interface; it
should instead suggest mbrtowc.  This is also true for the pair
wctob(3) and wctomb(3).

Reported-by: Brian M. Carlson <sandals@crustytoothpaste.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 06:38:49 +02:00
Benjamin Poirier 8341e3a766 ip.7: Improve description of IP_MTU_DISCOVER
I noticed what appears to be a discrepancy between the ip(7)
man page and the kernel code with regards to the IP DF flag
for UDP sockets.

The man page says that "The don't-fragment flag is set on all
outgoing datagrams" and that the ip_no_pmtu_disc sysctl affects
only SOCK_STREAM sockets. This is quickly disproved by doing:

    echo 1 > /proc/sys/net/ipv4/ip_no_pmtu_disc

firing up netcat and looking at a few outgoing UDP packets in
wireshark (they don't have the DF flag set).

1) in the words of `man 7 ip`:
IP_MTU_DISCOVER (since Linux 2.2)
     Set or receive the Path MTU Discovery  setting  for  a  socket.
     When  enabled, Linux will perform Path MTU Discovery as defined
     in RFC 1191 on this socket.  The don't-fragment flag is set  on
     all  outgoing datagrams.  The system-wide default is controlled
     by the /proc/sys/net/ipv4/ip_no_pmtu_disc file for  SOCK_STREAM
     sockets, and disabled on all others.

2) in net/ipv4/af_inet.c:inet_create():
       if (ipv4_config.no_pmtu_disc)
               inet->pmtudisc = IP_PMTUDISC_DONT;
       else
               inet->pmtudisc = IP_PMTUDISC_WANT;

and pmtudisc is left alone from there on for UDP sockets.

Reviewed-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 06:08:30 +02:00
Michael Kerrisk 4023450d6c ipv6.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:58:54 +02:00
Michael Kerrisk 9458d0daac ip.7: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:42:02 +02:00
Michael Kerrisk 9b89239778 hpsa.4: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:50 +02:00
Michael Kerrisk 32627bf742 hpsa.4: Copyedits my mtk
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:50 +02:00
Michael Kerrisk 302d12b719 hpsa.4: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:50 +02:00
Michael Kerrisk f8f39c1ea7 hpsa.4: Added copyright + license notice
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:50 +02:00
Michael Kerrisk 53203d57ce hpsa.4: Add date to .TH line
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:50 +02:00
Michael Kerrisk b6c0e2d4eb hpsa.4: Clarify example shell commands
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:49 +02:00
Michael Kerrisk 2df381008f hpsa.4: Minor: hide AUTHOR section
AUTHOR sections are not used in man-pages.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:49 +02:00
Michael Kerrisk b3acff5593 hpsa.4: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:49 +02:00
Stephen M. Cameron b9d931bb0b hpsa.4: New man page for the hpsa driver
I obtained the information in this man page as a consequence
of being the main author of the hpsa driver

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:49 +02:00
Michael Kerrisk 4fa0ef7e81 cciss.4: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:49 +02:00
Stephen Cameron c98253f801 cciss.4: FIXMEs resolved
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:49 +02:00
Michael Kerrisk 536fabdfa1 cciss.4: Copyedit by mtk
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:02:33 +02:00
Michael Kerrisk d3ea2cc70f cciss.4: Added copyright + license notice
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:02:33 +02:00
Michael Kerrisk 4402a32b36 cciss.4: Add date to .TH line
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:02:33 +02:00
Michael Kerrisk 6c030e71a6 cciss.4: Clarify shell session examples
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:02:33 +02:00
Michael Kerrisk 6ad2da24d1 cciss.4: Minor: hide AUTHOR section
AUTHOR sections are not used in man-pages.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:02:33 +02:00
Michael Kerrisk 3357b1ecb4 cciss.4: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:02:33 +02:00
Stephen M. Cameron dc91c00680 cciss.4: New man page for cciss driver
I obtained the information in this man page as a consequence
of having worked on the cciss driver for the past several years,
and having written considerable portions of it.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:02:33 +02:00
David Prévot c0e140e64c madvise.2: tfix
Signed-off-by: David Prévot <taffit@debian.org>
2011-09-22 04:58:20 +02:00
Denis Barbier 928b19706f fallocate.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 04:54:53 +02:00
Michael Kerrisk a82893d222 wcsnlen.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-21 08:40:16 +02:00
Jon Grant 1c1c2c1031 wcsnlen.3: Improve description of 'maxlen' argument
It's worth clarifying 'maxlen' is in wide-char units, not bytes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-21 07:03:27 +02:00
Michael Kerrisk 098ad1323e index.3: Fix text mentioning terminating null
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-21 06:59:45 +02:00
Michael Kerrisk 3d4b49b0a1 madvise.2: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-21 06:59:45 +02:00
Doug Goldstein e8dd3ed2f1 madvise.2: Add MADV_HUGEPAGE and MADV_NOHUGEPAGE
Document the MADV_HUGEPAGE and MADV_NOHUGEPAGE flags added to
madvise() in Linux 2.6.38.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-21 06:59:38 +02:00
Michael Kerrisk 7f98857ab9 sched_setscheduler.2: Document 2.6.39 changes to rules governing changes from SCHED_IDLE policy
Since Linux 2.6.39, unprivileged processes under the
SCHED_IDLE policy can switch to another nonrealtime
policy if their nice value falls within the range
permitted by their RLIMIT_NICE limit.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-20 18:25:40 +02:00
Michael Kerrisk 96f6255496 readlink.2: Added copyright text + changelog note for Guillem Jover's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-20 08:50:20 +02:00
Michael Kerrisk b61acee948 readlink.2: Minor edits to Guillem Jover's previous patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-20 08:39:57 +02:00
Guillem Jover f91c6bd76f readlink.2: Document using st_size to allocate the buffer
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-20 08:19:52 +02:00
Michael Kerrisk 1e0819c860 lseek.2: Document SEEK_HOLE and SEEK_DATA
These flags, designed for discovering holes in a file,
were added in Linux 3.1. Included comments from Eric
Blake and Sunil Mushran.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-20 08:07:47 +02:00