Commit Graph

13842 Commits

Author SHA1 Message Date
Christoph Thompson 7e8f0b728c Makefile: Add support for compressing manual pages with 'xz'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 12:23:56 +02:00
Michael Kerrisk 0b4ac98897 execve.2: srcfix: Add FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 12:14:54 +02:00
Michael Kerrisk 9f629381c9 open.2, read.2, write.2: Clarify that O_NONBLOCK is a no-op for regular files and block devices
Reported-by: Mike Hayward <hayward@loup.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 12:03:43 +02:00
Michael Kerrisk eee5da1663 read.2: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 11:39:38 +02:00
Michael Kerrisk 403b78f89e open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 11:30:00 +02:00
Michael Kerrisk 0b8a39ad9f gethostbyname.3: Remove mention of IPv6 addresses, which are not supported
As reported by Laszlo Ersek:

    gethostbyname(3) fails to resolve the IPv6 address "::1",
    but the manual page says: "If name is an IPv4 or IPv6 address,
    no lookup is performed and gethostbyname() simply copies name
    into the h_name field [...]".

    Debian bug report:
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455762

    glibc bug report:
    http://sourceware.org/bugzilla/show_bug.cgi?id=5479

    SUSv3 link for gethostbyname(3):
    http://www.opengroup.org/onlinepubs/000095399/functions/gethostbyname.html

    It seems that the glibc behavior is conformant, and the manual
    page is in error.

Reported-by: Laszlo Ersek <lacos@caesar.elte.hu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 11:11:21 +02:00
Michael Kerrisk 7f32558158 gethostbyname.3: tfix + wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 11:07:48 +02:00
Michael Kerrisk 02906043a4 ioprio_set.2: Document meaning of ioprio==0
Reported-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 10:09:05 +02:00
Michael Kerrisk a311ffd05b ioprio_set.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 09:39:49 +02:00
Michael Kerrisk 8ebf2cfb42 ioprio_set.2: Minor fix: change 'hda' to 'sda' in examples
These days, we're more likely to see 'sd' than 'hd' disk devices.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 09:32:42 +02:00
Michael Kerrisk 7e5d08eb08 ioprio_set.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 09:31:25 +02:00
Michael Kerrisk 4965810a6b ioprio_set.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 09:26:41 +02:00
Michael Kerrisk eb24aedc69 execve.2: Elaborate on envp/argv as NULL behavior
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 09:10:19 +02:00
Michael Kerrisk 097547580e execve.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 09:10:09 +02:00
Michael Kerrisk e624ea579a __ppc_get_timebase.3: Minor tweaks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-10 13:49:29 +02:00
Tulio Magno Quites Machado Filho 42d7fb6cce __ppc_get_timebase.3: New page documenting __ppc_get_timebase()
Glibc 2.16 was released with a new function for the Power
architecture that can read its Time Base Register.

Signed-off-by: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-10 13:47:34 +02:00
文剑 4d45036a35 packet.7: Fix description of binding a packet socket to an interface
Reported-by: Cortland Setlow <cortland.setlow@gmail.com>
Signed-off-by: Jian Wen <wenjianhn@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-10 13:12:57 +02:00
Michael Kerrisk 2174e8e353 mem.4: Minor wording and formatting fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-10 12:50:17 +02:00
Michael Kerrisk de347a67a8 null.4: Minor wording and formatting fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-10 12:47:06 +02:00
Michael Kerrisk dcc9ee3475 null.4: Note that reads from /dev/zero are interruptible since Linux 2.6.31
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-10 12:44:40 +02:00
Michael Kerrisk 6c22e3235a null.4: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-10 12:40:20 +02:00
Michael Kerrisk fba4548539 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-08 20:31:14 +02:00
Michael Kerrisk a77b10560e proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-08 20:30:54 +02:00
Michael Kerrisk ef0e133fe6 resolver.3: tfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-08 16:19:06 +02:00
Michael Kerrisk fd5286e82e bootparam.7: ffix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-08 16:15:52 +02:00
Michael Kerrisk ef5a2800f7 seccomp.2: srcfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-08 16:13:42 +02:00
Michael Kerrisk cc5ba920e1 getrandom.2: srcfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-08 16:13:02 +02:00
Michael Kerrisk 2e7cb1f8f1 intro.1: Drop intro paragraph on '$?' shell variable
As Andries notes, this piece of text is rather out of place in
a page that was intended to provide a tutorial introduction for
beginners logging in on a Linux system.

Reported-by: Andries E. Brouwer <Andries.Brouwer@cwi.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-08 13:13:03 +02:00
Michael Kerrisk 0722a578ed _exit.2, access.2, brk.2, chmod.2, clone.2, epoll_wait.2, eventfd.2, fork.2, getgroups.2, gethostname.2, getpid.2, getpriority.2, killpg.2, mmap.2, poll.2, posix_fadvise.2, pread.2, ptrace.2, readv.2, sched_setaffinity.2, select.2, seteuid.2, setgid.2, setresuid.2, setreuid.2, setuid.2, sigaction.2, signalfd.2, sigpending.2, sigprocmask.2, sigreturn.2, sigsuspend.2, sigwaitinfo.2, stat.2, timer_create.2, uname.2, wait.2, wait4.2, mq_notify.3, mq_open.3, sigqueue.3, man-pages.7: Remove "ABI" from "C library/kernel ABI differences" subheadings
The "ABI" doesn't really convey anything significant in
the title. These subsections are about describing differences
between the kernel and (g)libc interfaces.

Reported-by: Andries E. Brouwer <Andries.Brouwer@cwi.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-08 13:10:04 +02:00
Michael Kerrisk 8d0418afd0 access.2: tfix + wfix
Reported-by: Andries E. Brouwer <Andries.Brouwer@cwi.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-08 11:54:36 +02:00
Michael Kerrisk bd28657852 time.1: Minor fixes
Reported-by: Andries E. Brouwer <Andries.Brouwer@cwi.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-08 11:53:54 +02:00
Michael Kerrisk 33ce7fd61b intro.1: tfix
Reported-by: Andries E. Brouwer <Andries.Brouwer@cwi.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-08 11:48:50 +02:00
Michael Kerrisk 86dbf1bbb1 rename.2: srcfix: add Linux kernel commit for RENAME_WHITEOUT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 13:49:05 +02:00
Michael Kerrisk 8da400b0e2 Changes.old: Fixes to 4.00 changelog
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 13:08:17 +02:00
Michael Kerrisk 2236e65b29 sched_setaffinity.2: Add an example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 10:37:37 +02:00
Michael Kerrisk d35b5dd343 rename.2: Note that RENAME_NOREPLACE can't be employed with RENAME_EXCHANGE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 10:36:39 +02:00
Michael Kerrisk 0ebe7b93fc rename.2: Document RENAME_WHITEOUT
Heavily based on text by Miklos Szeredi.

Cowritten-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 10:36:38 +02:00
Michael Kerrisk de332fe886 rename.2: Minor text reworking for EINVAL errors
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 10:36:38 +02:00
Michael Kerrisk c9c7821b89 rename.2: Place list of renameat() flags in alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 10:36:38 +02:00
Michael Kerrisk 60b3b93cdd pty.7: srcfix: rewrap source lines in Neil's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 10:24:51 +02:00
Michael Kerrisk 5528abecc2 pty.7: Minor tweaks to Neil's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 10:24:51 +02:00
NeilBrown 4b06376957 pty.7: Clarify asynchronous nature of PTY I/O
A PTY is not like a pipe - there may be delayed between data
being written at one end and it being available at the other.

This became particularly apparent after
     commit f95499c3030f
    ("n_tty: Don't wait for buffer work in read() loop")
in Linux 3.12

See also the mail thread at https://lkml.org/lkml/2015/5/1/35
	Date	Mon, 04 May 2015 12:32:04 -0400
	From	Peter Hurley <>
	Subject	Re: [PATCH bisected regression] input_available_p()
                sometimes says 'no' when it should say 'yes'

Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 10:24:51 +02:00
Michael Kerrisk ec9a2be0f9 fallocate.2: Tweaks to Namjae Jeon's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 10:24:32 +02:00
Namjae Jeon 7da70a01c7 fallocate.2: Document FALLOC_FL_INSERT_RANGE
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 09:14:47 +02:00
Michael Kerrisk e60d5c44a0 Start of man-pages-4.01: updating Changes and Changes.old 2015-05-07 09:03:47 +02:00
Michael Kerrisk cc65e6246f Start of man-pages-4.01: updating .Announce and .lsm files 2015-05-07 09:03:47 +02:00
Michael Kerrisk 84ff07ada7 Start of man-pages-4.01: renaming .Announce and .lsm files 2015-05-07 09:03:47 +02:00
Michael Kerrisk d99408f7a8 Ready for 4.00 2015-05-07 08:30:35 +02:00
Michael Kerrisk 5ffdc2fda9 Removed trailing white space at end of lines 2015-05-07 08:30:26 +02:00
Michael Kerrisk ac279f7638 Changes: Expanded tabs 2015-05-07 08:30:26 +02:00