tcp.7: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
tcp.7: Fix breakage introduced by 0decd92d55d95e4a8aa11adcf8d4bdcd5a2b72bb

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
tcp.7: Document TCP_USER_TIMEOUT

Text slightly adapted from Jerry Chu's (excellent) commit
message (commit dca43c75e7e545694a9dd6288553f55c53e2a3a3).

Cowritten-by: Jerry Chu <hkchu@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
tcp.7: srcfix: Update copyright

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
tcp.7: Document TCP_CONGESTION

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
tcp.7: Describe format of tcp_*_congestion_control /proc files

Describe format of tcp_allowed_congestion_control and
tcp_available_congestion_control.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
tcp.7: srcfix: Update FIXME for TCP_COOKIE_TRANSACTIONS

TCP_COOKIE_TRANSACTIONS was removed in Linux 3.10

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
tcp.7: srcfix: Update FIXME

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
ptrace.2: Add details to descriptions of PTRACE_GETSIGMASK and PTRACE_SETSIGMASK

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
core.5: Mention that %E exists since Linux 3.0

'%E' in the 'core_pattern' has been introduced in kernel commit
57cc083ad9e1bfeeb4a0ee831e7bb008c8865bf0 which was included in
version 3.0. Add that information to the manual page.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
perf_event_open.2 : PERF_SAMPLE_TRANSACTION support in Linux 3.13 (fwd)

The following patch adds descriptions of the new perf_event_open.2
PERF_SAMPLE_TRANSACTION sample type as added in Linux 3.13.

The descriptions are based on information provided by Andi Kleen,
both in the e-mail

    [PATCH 1/6] perf, core: Add generic transaction flags v5

sent to the linux-kernel list as well as an e-mail

    [PATCH] Document transaction flags in perf_event_open manpage

sent to the linux-man list.

The implementation is based heavily on the Intel Haswell
processor.  Documentation can be found at this page:
http://software.intel.com/en-us/blogs/2013/05/03/intelr-transactional-synchronization-extensions-intelr-tsx-profiling-with-linux-0
as well as in section 18.11.5.1 of volume 3 of the
Intel 64 and IA-32 Architecture Software Developer's Manual.

Also, someone with better manpage formatting skills than I have
should probably investigate why I can't get the last line of
the change to properly tab-align with the .I transaction
heading.

Cowritten-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
perf_event_open.2: Minor fixes to Vince Weaver's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
perf_event_open.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
strtoimax.3: ATTRIBUTES: Note functions that are thread safe with exceptions

The functions strtoimax() and strtoumax() are thread safe with
exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
atof.3, atoi.3, strstr.3, strtod.3, toupper.3, towlower.3, towupper.3, wcscasecmp.3, wcsncasecmp.3, wcstoimax.3, wcswidth.3, wctrans.3, wctype.3, wcwidth.3: Make wording around thread-safety and setlocale() more precise

Reported-by: Andre Majorel <aym-xunil@teaser.fr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
strtol.3: ATTRIBUTES: Note functions that are thread safe with exceptions

The functions strtol(), strtoll() and strtoq() are thread safe
with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
proc.5: Update discussion of wchan

Remove crufty reference to /etc/psdatabase in /proc/PID/stat.
Add /proc/PID/wchan.

See https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/737452

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
getsockopt.2: SEE ALSO: add ip(7) and udp(7)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
tcp.7: srcfix: Add comments with references for TCP_DEFER_ACCEPT

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
select.2: RETURN VALUE: Fix discussion of treatment of file descriptor sets

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574370

Reported-by: Marc Lehmann <debian-reportbug@plan9.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>