Commit Graph

15697 Commits

Author SHA1 Message Date
Michael Kerrisk 0f619d1f9e proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-07 07:59:09 +02:00
Michael Kerrisk 63ab29880e proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-07 07:52:46 +02:00
Michael Kerrisk 8d857fcb16 proc.5: Improve description of /proc/PID/mountinfo 'root' field
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-07 07:52:46 +02:00
Michael Kerrisk fb4bdaa1ea proc.5: Add some background on why /proc/PID/mountinfo was added
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-07 07:48:23 +02:00
Michael Kerrisk 7be43378e6 fcntl.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-03 21:27:01 +02:00
Michael Kerrisk ba65cc12a8 memfd_create.2: Note that memfd_create() does not have a glibc wrapper
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-03 13:09:23 +02:00
Michael Kerrisk e57f8d34e4 memfd_create.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-03 12:45:16 +02:00
Michael Kerrisk 38f55864aa cmsg.3: Minor cosmetic changes in example code
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-22 15:38:49 +02:00
Michael Kerrisk 6cd7a2c6da cmsg.3: Minor cosmetic changes to example code
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-22 10:00:25 +02:00
Michael Kerrisk 03117dc0db fsync.2: Give some examples of files where sync can fail with EINVAL
Reported-by: Georg Sauthoff <gsauthof@techfak.uni-bielefeld.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-21 14:28:53 +02:00
Michael Kerrisk 0a8909c474 ld.so.8: Document use of $ORIGIN, $LIB, and $PLATFORM in environment variables
These strings are meaningful in LD_LIBRARY_PATH and LD_PRELOAD.

Reported-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-21 14:19:34 +02:00
Michael Kerrisk 71ffb3ed69 ld.so.8: wfix: remove redundant phrase
This point is already covered by the immediately following words

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-21 13:39:43 +02:00
Michael Kerrisk cf4e4d3419 proc.5: Add reference to core(5) for info on /proc/sys/kernel/core_pipe_limit
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-21 11:22:14 +02:00
Michael Kerrisk d9f2d36adb core.5: Document /proc/sys/kernel/core_pipe_limit
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-21 11:22:14 +02:00
Michael Kerrisk 2a79c2ac32 execve.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-21 11:22:14 +02:00
Michael Kerrisk 246104f0bc execve.2: Since Linux 2.6.28, recursive script interpretation is supported
Reported-by: Valery Reznic <valery_reznic@yahoo.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-21 11:22:08 +02:00
Michael Kerrisk 85a4005516 makedev.3: NOTES: mention that <sys/types.h> may also define these macros
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-20 14:06:28 +02:00
Mike Frysinger 3350a86413 makedev(3): Use <sys/sysmacros.h> in SYNOPSIS
Defining these functions via <sys/types.h> causes problems for
some folk. As noted by Zack Wein:

    libstdc++ force-enables _GNU_SOURCE, which means people
    writing in C++ _can't_ avoid these nonstandard macros by
    using a strict conformance mode.

Since glibc has basically always used <sys/sysmacros.h>,
update the docs to have people include that instead.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-20 14:06:28 +02:00
Alexander Miller c1a2e851a1 Makefile: Drop compression support and 'screen' target
Compression is already handled properly by distros and
explicit support from the package is not desired nowadays.
The 'screen' target doesn't handle compressed files.
Removal suggested by Mike Frysinger.

Signed-off-by: Alexander Miller <alex.miller@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-20 14:06:00 +02:00
Michael Kerrisk 7d16624130 vdso.7: The __kernel_clock_* interfaces don't support *_COARSE clocks on PowerPC
Reported-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 16:23:56 +01:00
Michael Kerrisk c74bc51914 clock_getres.2: Note that coarse clock need architecture and VDSO support
Reported-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 16:23:51 +01:00
Jakub Wilk b155912e83 Changes.old: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 15:25:57 +01:00
Mike Frysinger cfc24701c0 locale(5): country_car: Add a better description
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 14:59:07 +01:00
Michael Kerrisk bfd08d7770 readv.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 14:57:34 +01:00
Michael Kerrisk 840dfaf0de readv.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 14:57:34 +01:00
Michael Kerrisk 3b31ec64ab readv.2: Tweaks to Christoph's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 14:57:33 +01:00
Christoph Hellwig d948a87054 readv.2: Document preadv2() and pwritev2()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 14:40:18 +01:00
Zubair Lutfullah Kakakhel a5a3afb953 vdso.7: Update for MIPS
Document the symbols exported by the MIPS VDSO.
VDSO support was added from kernel 4.4 onwards.

See https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/arch/mips/vdso

Reviewed-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 14:14:12 +01:00
Alexander Miller 65cdd61d83 elf.5: wfix
Signed-off-by: Alexander Miller <alex.miller@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 14:04:26 +01:00
Alexander Miller 4ca142b2a6 elf.5: wfix
Restore "before" deleted in 9c08fc7d47

Signed-off-by: Alexander Miller <alex.miller@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 14:04:14 +01:00
Marko Myllynen 565a3ba94b locale.5: Adjust LC_IDENTIFICATION / abbreviation
Tiny tweak to locale.5 based on the on ISO/IEC TR 14652:

http://www.open-std.org/jtc1/SC22/WG20/docs/n972-14652ft.pdf

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 13:52:53 +01:00
Marko Myllynen 9bbaafcc2e locale.5: Update LC_ADDRESS after glibc change
This patch updates locale.5 to match the recent glibc change:

https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=a837257199ffab76237385b830cc7b6179fc2f18

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 13:52:27 +01:00
Alexander Miller 4221001c82 Makefile: Remove line continuation at end of "install" recipe
Signed-off-by: Alexander Miller <alex.miller@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 13:49:54 +01:00
Alexander Miller 6c60c0965f Makefile: tfix
Signed-off-by: Alexander Miller <alex.miller@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 13:49:32 +01:00
Alexander Miller 851124df28 Makefile: Improve recipe for "check-groff-warnings" target
* Fix race condition (don't remove and re-create $GROFF_LOG repeatedly),
* check for failure to create $GROFF_LOG,
* use $TMPDIR if set instead of hardcoded "/tmp",
* quote variables,
* use clobbering redirection (just in case),
* don't create unnecessary subshells,
* add a semicolon for consistency.

Signed-off-by: Alexander Miller <alex.miller@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 13:46:42 +01:00
Alexander Miller 23509e5201 Makefile: Don't leave $(GROFF_LOG) files behind
Convert "GROFF_LOG" into a shell variable local to the
recipe for "check-groff-warnings" target such that the
temporary file is only created when needed.

Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Alexander Miller <alex.miller@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 13:45:58 +01:00
Michael Kerrisk e1124af0ba fcntl.2: Note that mandatory locking is now governed by a configuration option
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 13:31:17 +01:00
Michael Kerrisk afa0b44d06 mount.2: MS_MANDLOCK requires CAP_SYS_ADMIN (since Linux 4.5)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 13:16:39 +01:00
Michael Kerrisk 51015f1409 write.2: Clarify that 'size_t' and 'ssize_t' are integer types specified in POSIX
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-14 20:18:14 +01:00
Michael Kerrisk aead9ac9bf read.2: Clarify that 'size_t' and 'ssize_t' are integer types specified in POSIX
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-14 20:18:14 +01:00
Michael Kerrisk b4b1c3e7d0 lseek.2: Note that 'off_t' is an integer data type defined by POSIX
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-14 20:18:14 +01:00
Michael Kerrisk f80350e27f hier.7: tfix
Reported-by: Jordan Birks <birkses@hotmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-04 19:56:52 +12:00
Michael Kerrisk 9f6007b8bc sigaction.2: Document SEGV_PKUERR
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-28 19:05:16 +13:00
Michael Kerrisk 0c962aab5f sigaction.2: Document SEGV_BNDERR
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-28 17:54:33 +13:00
Michael Kerrisk fec74bb1aa ptrace.2: srcfix: add info about PTRACE_SEIZE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-28 17:38:04 +13:00
Michael Kerrisk a73a078154 sigaction.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-28 17:29:59 +13:00
Michael Kerrisk 8d03f12cd4 quotactl.2: Document Q_GETNEXTQUOTA and Q_XGETNEXTQUOTA
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-28 10:15:22 +13:00
Michael Kerrisk 3b17710415 quotactl.2: Rework/reorder ERRORS list
Make into a single alphabetically ordered list

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-28 09:35:43 +13:00
Michael Kerrisk 4c8a2e1d4c quotactl.2: Add kernel version for G_GETINFO, Q_SETINFO, and Q_GETFMT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-28 09:13:26 +13:00
Michael Kerrisk 3cf5ae17a1 quotactl.2: Note kernel version that removed Q_GETSTATS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-28 08:34:07 +13:00