proc.5: Improve /proc/[pid]/smaps entries description

Glued together from:

https://www.kernel.org/doc/Documentation/filesystems/proc.txt
https://lkml.org/lkml/2008/9/23/362
https://lkml.org/lkml/2010/8/18/46

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
proc.5: Minor tweaks to Petr Gajdos's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
proc.5: /proc/PID/smaps is present only if CONFIG_PROC_PAGE_MONITOR

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
proc.5: Document /proc/[pid]/clear_refs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
malloc.3: srcfix: Add FIXME

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

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

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
toupper.3: wfix

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

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

The functions makecontext() and swapcontext() are thread safe.

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

The functions sigemptyset(), sigfillset(), sigaddset(),
sigdelset(), sigismember(), sigisemptyset(), sigorset() and
sigandset() are thread safe.

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

The functions ffs(), ffsl() and ffsll() are thread safe.

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

The functions pthread_attr_setdetachstate() and
pthread_attr_getdetachstate() are thread safe.

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

The functions pthread_attr_setguardsize() and
pthread_attr_getguardsize() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
perf_event_open.2: Minor wording fixes for EACCES error

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
inet_net_pton.3: New page describing inet_net_pton(3) and inet_net_ntop(3)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
inet_net_ntop.3: New link to new inet_net_pton.3

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
inet.3: SEE ALSO: add inet_net_pton(3)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
libc.7: Add musl libc

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
libc.7: srcfix: Reformat to use .UR/.UE

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