Commit Graph

9896 Commits

Author SHA1 Message Date
Michael Kerrisk 778fcac982 getifaddrs.3, iswctype.3, sem_post.3, sem_unlink.3, sem_wait.3, packet.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 18:29:17 +01:00
Michael Kerrisk d1cc0fa80a Changes: Ready for 3.61
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 18:27:08 +01:00
Michael Kerrisk 17b028d622 crypt.3: ERRORS: Add EINVAL and EPERM errors
See https://bugzilla.kernel.org/show_bug.cgi?id=69771

Cowritten-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Michael Kerrisk 4d04d4f04c ascii.7: SEE ALSO: add utf-8(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Michael Kerrisk f854adde57 ascii.7: Remove mention of ISO 8859-1 as being the default encoding on Linux
Reported-by: Duncan de Wet <duncandewet@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Michael Kerrisk 76f6db57c7 utf-8.7: Minor rewordings in the opening paragraph
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Peng Haitao 99c2f1a20f strpbrk.3: ATTRIBUTES: Note function that is thread-safe
The function strpbrk() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Peng Haitao 0f5df2aa8c strnlen.3: ATTRIBUTES: Note function that is thread-safe
The function strnlen() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Peng Haitao be5d0c873e strlen.3: ATTRIBUTES: Note function that is thread-safe
The function strlen() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Peng Haitao 178c91f42a strsep.3: ATTRIBUTES: Note function that is thread-safe
The function strsep() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Peng Haitao 4cdb057777 swab.3: ATTRIBUTES: Note function that is thread-safe
The function swab() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Simon Paillard 9d3ea7a299 access.2, chmod.2, chown.2, unlink.2: ffix
Fix format issue introduced in cadd38ba

Can be detected with:
	git grep -P '.BR [a-z]+\(\)'

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Simon Paillard d0aa87206d scandir.3: tfix
Introduced in cadd38ba

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Michael Kerrisk 81c096f2ed swapon.2: Add EINVAL error for invalid flags to swapon()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Michael Kerrisk e5e05abdeb swapon.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Michael Kerrisk 2424abac47 swapon.2: Split EINVAL cases into separate entries under ERRORS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Michael Kerrisk a756667397 umount.2: ERRORS: Add EINVAL case that was new in 2.6.34 2014-02-26 17:43:00 +01:00
Michael Kerrisk ec4a728e17 umount.2: Split EINVAL cases into separate items
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Michael Kerrisk f4e8dfa791 mmap2.2: Reword note on glibc mmap() wrapper invocation of mmap2()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Michael Kerrisk bc9bb309e9 mmap2.2: This system call does not exist on x86-64
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Michael Kerrisk cb012d1d43 sgetmask.2: Note that these system calls don't exist on x86-64
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Michael Kerrisk 83a1c50ffe getifaddrs.3: Enhance example program
Print statistics for AF_PACKET interfaces.
Add missing feature test macro definition.
Reformat output.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:43:00 +01:00
Michael Kerrisk 754356dbcf msgctl.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:42:59 +01:00
Michael Kerrisk a77b0f28ca msgctl.2: ERRORS: add EPERM for unprivileged attempt to set msg_qbytes > MSGMNB
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:42:59 +01:00
Michael Kerrisk 1a83d69723 msgctl.2: wfix: s/CAP_IPC_RESOURCE/CAP_SYS_RESOURCE/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:42:59 +01:00
Michael Kerrisk 0895564bb2 alarm.2: Note semantics of alarm with respect to fork() and execve()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:42:59 +01:00
Michael Kerrisk add6b9f633 ascii.7: Fix rendering of single quote (decimal character 39)
Signed-off-by: Sulaiman Mustafa <seininn@hush.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:42:59 +01:00
Michael Kerrisk a4edbc603b packet.7: Minor changes to Daniel Borkmann's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:42:59 +01:00
Daniel Borkmann 2203837f14 packet.7: Improve PACKET_QDISC_BYPASS description
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:42:59 +01:00
Michael Kerrisk 1260477b62 socket.7: Add kernel version number for SO_BUSY_POLL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:42:59 +01:00
Michael Kerrisk bab78b9c2c packet.7: Add kernel version for PACKET_FANOUT_QM
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:42:59 +01:00
Neil Horman 6a06d7e49a 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>
2014-02-26 17:42:59 +01:00
Michael Kerrisk 9cad276e2c socket.7: Add kernel version number for SO_RXQ_OVFL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:42:59 +01:00
Michael Kerrisk 96a732ffe8 socket.7: srcfix 2014-02-26 17:42:59 +01:00
Michael Kerrisk f4c644e510 socket.7: Minor fixes to Neil's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:42:59 +01:00
Neil Horman 8cfbaec521 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>
2014-02-26 17:42:59 +01:00
Peng Haitao cd78e7f29b 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>
2014-02-26 17:42:59 +01:00
Peng Haitao ef0a5e7333 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>
2014-02-26 17:42:59 +01:00
Peng Haitao 498b329f7d 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>
2014-02-26 17:42:59 +01:00
Peng Haitao c27b616f65 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>
2014-02-26 17:42:59 +01:00
Peng Haitao 07ddb3aebb 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>
2014-02-26 17:42:59 +01:00
Michael Kerrisk 2441f67bb3 prctl.2: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:42:59 +01:00
Kir Kolyshkin fa97928b5d 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>
2014-02-26 17:42:59 +01:00
Kir Kolyshkin 5e5d2c43ff 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>
2014-02-26 17:42:59 +01:00
Kir Kolyshkin 215db7b496 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>
2014-02-26 17:42:59 +01:00
Kir Kolyshkin 77649527ec 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>
2014-02-26 17:42:59 +01:00
Michael Kerrisk b40dd7e45d resolv.conf.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-26 17:42:59 +01:00
Carlos O'Donell 58822a7a1c 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>
2014-02-26 17:42:52 +01:00
Michael Kerrisk c42db32167 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>
2014-02-26 17:42:15 +01:00
Michael Kerrisk 5e91816c99 prctl.2: Clarify that PR_GET_SECCOMP is returned as function result
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-22 09:44:02 +01:00