Commit Graph

8281 Commits

Author SHA1 Message Date
Michael Kerrisk 1f809f8c95 Expanded tabs 2013-01-27 21:28:25 +01:00
Michael Kerrisk 3fc441b2b9 fallocate.2, kcmp.2, link.2, listxattr.2, mkdir.2, mknod.2, open.2, ptrace.2, query_module.2, rename.2, symlink.2, write.2, mkfifo.3, core.5: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-27 21:27:57 +01:00
Michael Kerrisk 33ecc3a677 Changes: Ready for 3.46
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-27 21:22:11 +01:00
Michael Kerrisk 1be94306ff getaddrinfo.3: wfix
Reported-by: David Prévot <taffit@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:46:30 +01:00
Michael Kerrisk b09d24d2d1 syscalls.2: Add utrap_install(2)
Sparc-specific, present since ancient times

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:22 +01:00
Michael Kerrisk 29cb9035ba syscalls.2: Add kern_features(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:20 +01:00
Michael Kerrisk c77551477b query_module.2: Must be called using syscall(2)
Yes, the call is way obsolete, but add this info
for completeness.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:11 +01:00
Michael Kerrisk b89e39efa9 ptrace.2: Document PTRACE_O_EXITKILL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:09 +01:00
Michael Kerrisk cc7d99c843 ptrace.2: Place PTRACE_SETOPTIONS list in alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:09 +01:00
Michael Kerrisk decaf596cd mprotect.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:09 +01:00
Michael Kerrisk a383b70f65 sigaction.2: Note feature test macro requirements for 'siginfo_t'
See https://bugzilla.kernel.org/show_bug.cgi?id=52931

Reported-by: Zsbán Ambrus <ambrus@math.bme.hu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:09 +01:00
Michael Kerrisk 5a39e7b5cd getspnam.3: ERRORS: Add EACCES
See https://bugzilla.kernel.org/show_bug.cgi?id=52681

Reported-by: Wolfgang Rohdewald <wolfgang@rohdewald.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:09 +01:00
Michael Kerrisk aed5060597 getspnam.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:09 +01:00
Michael Kerrisk 9088203ed3 syslog.2: srcfix: remove stray ".fi" mark-up
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:00 +01:00
Michael Kerrisk 92d67001c3 getxattr.2, listxattr.2, removexattr.2, setxattr.2: Put errors under ERRORS secton
The errno values on these pages were listed in a nonstandard
way under the RETURN VALUE section. Put them in ERRORS sections.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-19 00:15:51 +01:00
Michael Kerrisk 2507f0aa9c listxattr.2: Fix RETURN VALUE description
On success, 0 may be returned, so change wording from
"positive number" to "nonnegative number".

Reported-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-18 23:57:04 +01:00
Michael Kerrisk 2965fbf165 getxattr.2, removexattr.2, setxattr.2: Note that ENOATTR is a synonym for ENODATA
Various people have pointed out that strace(1) shows ENODATA
for the case where the named attribute does not exist, or
the process has no access to this attribute. ENODATA
and ENOATTR are in fact defined as synonyms. Point this out
in the man page, so that people understand the strace(1) info.

See https://bugzilla.kernel.org/show_bug.cgi?id=51871

Reported-by: Andrew Perepechko <andrew_perepechko@xyratex.com>
Reported-by: <starlight.2013q1@binnacle.cx>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-18 23:29:28 +01:00
Michael Kerrisk 37f02e322c mq_receive.3: spfix
Reported-by: James Noble <James.Noble@daktronics.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-18 23:11:39 +01:00
Michael Kerrisk 208088b5be syscalls.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-17 22:08:24 +01:00
Michael Kerrisk d6aaae47b6 man-pages.7: Update description of Section 7
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-17 20:49:21 +01:00
Michael Kerrisk 1d8d141ab6 getaddrinfo.3, getnameinfo.3: Fix some confused references to function names
See https://bugzilla.kernel.org/show_bug.cgi?id=52741

Reported-by: Peter Budny <bigpeteb@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-15 20:43:54 +01:00
Michael Kerrisk bae854080e prctl.2: Document PR_GET_TID_ADDRESS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-13 10:08:15 +01:00
Michael Kerrisk c4b5c11060 proc.5: Rewording of suid_dumpable text after comments from Kees Cook
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-13 10:08:01 +01:00
Michael Kerrisk 4b749a1204 core.5, proc.5: Minor edits to Kees Cook's suid_dumpable patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-13 10:07:48 +01:00
Kees Cook 8c897fc6b2 core.5, proc.5: Clarify suid_dumpable versus core_pattern
In Linux 3.6, additional requirements were placed on core_pattern
when suid_dumpable is set to 2. Document this and include commit
references.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-12 11:30:24 +01:00
Kees Cook bc88143e1a proc.5: Linux 3.4 changed permissions needed to change kptr_restrict
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-11 12:55:49 +01:00
Kees Cook a1da75e7d6 proc.5: Document /proc/sys/kernel/dmesg_restrict
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-11 12:52:03 +01:00
Kees Cook 25fc6a84b8 proc.5: Put /proc/sys/kernel/hotplug in alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-11 12:46:57 +01:00
Shawn Landden 6f86bef669 prctl.2: Document EINVAL error for PR_SET_PTRACER
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-11 11:28:18 +01:00
Michael Kerrisk ff03be9a0d prctl.2: srcfix: Add commit IDs for PR_SET_PTRACER
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-11 00:33:13 +01:00
Michael Kerrisk 9f4cec5224 prctl.2: Make it explicit that PR_SET_PTRACER replaces previous setting
The attribute is a scalar, not a list.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-11 00:31:53 +01:00
Michael Kerrisk 2c7d476b6c prctl.2: Minor wording fixes to Kees Cook's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-11 00:31:53 +01:00
Kees Cook 491b2e75a3 prctl.2: Document PR_SET_PTRACER
Document the Yama LSM's prctl handler that allows processes to
declare ptrace restriction exception relationships via
PR_SET_PTRACER.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-11 00:31:53 +01:00
Michael Kerrisk 7f26805b7e fallocate.2: FALLOC_FL_* flags are defined in glibc only since 2.18
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-10 23:39:00 +01:00
Michael Kerrisk 1428ae81ce init_module.2: ERRORS: Add errors for module signatures (EBADMSG, ENOKEY)
Reviewed-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-10 01:57:43 +01:00
Rusty Russell 98a683a785 init_module.2: Document finit_module() 'flags' argument
Document MODULE_INIT_IGNORE_MODVERSIONS and
MODULE_INIT_IGNORE_VERMAGIC. (Some edits by mtk.)

Reviewed-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-10 01:57:28 +01:00
Michael Kerrisk 2038a83d74 init_module.2: Document finit_module(2)
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-10 01:57:27 +01:00
Michael Kerrisk c534c7b5b8 syscalls.2: Add finit_module(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-10 01:57:27 +01:00
Michael Kerrisk 83ddab9a67 init_module.2: New link to init_module.2 2013-01-10 01:56:39 +01:00
Michael Kerrisk 98e5b3b305 signalfd.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-09 05:02:12 +01:00
Michael Kerrisk 19911fa541 clone.2: CLONE_NEWIPC governs mechanisms that don't have filesystem pathnames
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-06 20:27:22 +01:00
Michael Kerrisk 009a049e23 clone.2: Some reworking of CLONE_NEWIPC text
No substantial content changes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-06 20:27:05 +01:00
Michael Kerrisk a1ce9159e7 setns.2: Minor changes to example program discussion
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-03 03:43:38 +01:00
Michael Kerrisk 07d4e6ea95 clone.2: Minor fix to example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-02 23:14:09 +01:00
Maxin B. John 29abb77b57 stdio.3: tfix
Reported-by: Daan Spitz <daan.f.spitz@gmail.com>
Signed-off-by: Maxin B. John <maxin.john@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-02 21:17:40 +01:00
Michael Kerrisk c0ce4807c1 setns.2: Minor fix: rename example program binary
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-02 08:11:47 +01:00
Michael Kerrisk ffec080046 clone.2: CLONE_NEWIPC doesn't mount the POSIX MQ file system
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-02 03:55:10 +01:00
Michael Kerrisk 1a95a1be74 clone.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 23:43:16 +01:00
Michael Kerrisk 78449461a2 unshare.2: Reorder CLONE_NEWUTS entry in list
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 11:06:23 +01:00
Michael Kerrisk 1603d6a1a1 clone.2: Add kernel versions for various CLONE_* constants
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 07:35:31 +01:00