prctl.2: Clarify that PR_GET_NO_NEW_PRIVS is returned as function result

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
prctl.2: Clarify that PR_GET_SECCOMP is returned as function result

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
prctl.2: Clarify that PR_GET_TIMERSLACK value is returned via function result

Reported-by: Xiawei Chen <chenxiawei@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
resolv.conf.5: DESCRIPTION: mention that the data is trusted

In a recent discussion about DNSSEC it was brought to my
attention that not all system administrators may understand
that the information in /etc/resolv.conf is fully trusted.
The resolver implementation in glibc treats /etc/resolv.conf
as a fully trusted source of DNS information and passes on
the AD-bit for DNSSEC as trusted.

This patch adds a clarifying sentence to make it absolutely
clear that indeed this source of information is trusted.

Signed-off-by: Carlos O'Donell <carlos@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
resolv.conf.5: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
prctl.2: Document (uncomment) PR_SET_MM options in Linux 3.5

Some of the PR_SET_MM options were merged to vanilla kernel
later, and appeared in Linux 3.5. Those are:

   - PR_SET_MM_ARG_START
   - PR_SET_MM_ARG_END
   - PR_SET_MM_ENV_START
   - PR_SET_MM_ENV_END
   - PR_SET_MM_AUXV
   - PR_SET_MM_EXE_FILE

This patch merely uncomments description and error codes
for these options, which were present but commented out,
and removes the appropriate FIXME marks.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
prctl.2: Note PR_SET_MM options appeared in Linux 3.5

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
prctl.2: wfix: fix wording in PR_SET_MM_EXE_FILE description

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
prctl.2: srcfix: cite PR_SET_MM kernel commits

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
prctl.2: tstamp

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
iswctype.3: ATTRIBUTES: Note function that is thread-safe

The function iswctype() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
sem_post.3: ATTRIBUTES: Note function that is thread-safe

The function sem_post() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
sem_wait.3: ATTRIBUTES: Note functions that are thread-safe

The functions sem_wait(), sem_trywait() and sem_timedwait() are
thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
sem_unlink.3: ATTRIBUTES: Note function that is thread-safe

The function sem_unlink() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
setbuf.3: ATTRIBUTES: Note functions that are thread-safe

The functions setbuf(), setbuffer(), setlinebuf() and setvbuf()
are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
socket.7: Document the SO_RXQ_OVFL socket option

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: mtk.manpages@gmail.com
CC: andi@firstfloor.org
CC: netdev@vger.kernel.org
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
socket.7: Minor fixes to Neil's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
socket.7: srcfix
socket.7: Add kernel version number for SO_RXQ_OVFL

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
packet.7: Document PACKET_FANOUT_QM fanout mode

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: mtk.manpages@gmail.com
CC: andi@firstfloor.org
CC: netdev@vger.kernel.org
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>