Commit Graph

15222 Commits

Author SHA1 Message Date
Michael Kerrisk 28c7227aab elf.5: ffix: remove "." on short list entries 2016-01-28 10:44:42 +01:00
Michael Kerrisk 9c08fc7d47 elf.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk cf79eeed0e elf.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk 9f5d962b9a elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk a38ab67832 elf.5: Reword discussion of range values a little
Reported-by: Chris Pick <kernel@chrispick.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:35 +01:00
Michael Kerrisk 34d4e61def accept.2, perf_event_open.2, unlink.2, lirc.4, proc.5, inotify.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:01 +01:00
Michael Kerrisk fc543c7623 elf.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:01 +01:00
Michael Kerrisk 072c57a87d elf.5: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:01 +01:00
Michael Kerrisk 10cbe8453b elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:01 +01:00
Chris Pick 1d8595fd1e elf.5: Remove erroneous, duplicate SHN_* section
The ELF header section's e_shstrndx contained a duplicate
description of the SHN_* special section header indices.
Remove them.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:43:49 +01:00
Michael Kerrisk 0ea48b19d5 core.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-27 17:18:14 +01:00
Michael Kerrisk 2bea5d44a5 copy_file_range.2: Add notes on copy_on_write() filesystem optimizations
Based on Anna Schumaker's noted in the initial commit for
this man page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-27 09:10:32 +01:00
Michael Kerrisk a5918afa92 syscalls.2: Add copy_file_range(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-27 09:00:36 +01:00
Michael Kerrisk 9876bc24d0 sendfile.2: SEE ALSO: add copy_file_range(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-26 10:51:28 +01:00
Michael Kerrisk d1de085084 copy_file_range.2: EXAMPLE: remove unused variable from example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-26 10:42:20 +01:00
Michael Kerrisk b4fe696c8a copy_file_range.2: NOTES: expand details on the use of lseek()
Mention SEEK_DATA and SEEK_HOLE explicitly.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-26 10:42:20 +01:00
Michael Kerrisk 4cfafd7910 copy_file_range.2: ERRORS: clarify EXDEV description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-26 10:42:20 +01:00
Michael Kerrisk f0558db88d copy_file_range.2: ERRORS: clarify EINVAL O_APPEND description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-26 10:42:19 +01:00
Michael Kerrisk ee43ffde93 copy_file_range.2: Minor fixes to Anna's new page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-26 10:42:19 +01:00
Anna Schumaker 903b48079c copy_file_range.2: New page documenting copy_file_range()
copy_file_range() is a new system call for copying ranges of data
completely in the kernel.  This gives filesystems an opportunity to
implement some kind of "copy acceleration", such as reflinks or
server-side-copy (in the case of NFS).

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-26 10:15:24 +01:00
Michael Kerrisk c72249c562 fork.2, read.2, sendfile.2, splice.2, write.2, aio_read.3, aio_write.3, proc.5: Wording fix: "current file offset" ==> "file offset"
"File offset" is the preferred POSIX terminology.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-26 10:13:47 +01:00
Michael Kerrisk f180e30bc2 lseek.2: wfix ("open file description")
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-26 10:08:39 +01:00
Michael Kerrisk e2b89c5c8c lseek.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-26 10:06:41 +01:00
Michael Kerrisk 930fa2cd5a llseek.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-26 10:05:32 +01:00
Michael Kerrisk 14a9ad4952 llseek.2, lseek.2, readahead.2: Wording fix: use "open file description" rather than "open file"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-26 10:02:21 +01:00
Michael Kerrisk 162ce82786 llseek.2: SEE ALSO: add open(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-26 10:02:21 +01:00
Jakub Wilk 1a6de32849 perfmonctl.2: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-25 14:33:57 +01:00
Jakub Wilk 99bf434550 mcheck.3: tfix
Remove duplicated word.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-25 14:33:30 +01:00
Jakub Wilk 2beeae4065 Changes.old: tfix
Remove duplicated words.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-25 14:32:58 +01:00
Joe Stein f0e9ccbc88 keyctl.2: tfix
Signed-off-by: Joe Stein <joeaarons@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-25 14:32:09 +01:00
Dmitry V. Levin b8a38e27a9 vcs.4: tfix
Fixes: 42c3e94740 ("Convert inline formatting (\fX...\fP) to dot-directive formatting")
Reported-by: Pakin Yury <zxwarior@yandex.ru>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-25 14:27:31 +01:00
Michael Kerrisk e6659f737e execve.2: Add reference to ld-linux.so(8)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-21 00:21:24 +01:00
Michael Kerrisk 36f8fb2bcd wait.2, wait4.2: Rename the "status" argument to "wstatus"
The fact that exit(3)/_exit(2) has an argument called
"status" and the same name is used in the arguments to the
wait*() calls can a little too easily lead the user into
thinking that the two arguments hold the same information,
when of course they don't. So, use a different name
for the argument of the wait*() functions, to reduce
the chances of such confusion.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-20 22:14:00 +01:00
Michael Kerrisk 00e295fb10 system.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-20 22:04:22 +01:00
Alexander Miller 7e16fc97b2 perror.3: tfix
Signed-off-by: Alexander Miller <alex.miller@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-19 12:52:04 +01:00
Nikola Forró c32f10a179 rcmd.3: Add missing condition concerning .rhosts file
The list of conditions determining if iruserok() and ruserok()
functions automatically fail is incomplete. According to glibc
source code, the functions also fail if the .rhosts file
is hard linked anywhere.

[Information verified from iruserfopen() function in inet/rcmd.c]

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-17 17:05:24 +01:00
Nikola Forró 85a7acd768 nsswitch.conf.5: Update NSS compatibility mode description
From the current description of NSS compatibility mode it seems
that /etc/passwd is the only file where special entries are
permitted.  But "compat" service can also be specified for group
and shadow databases, so this needs to be changed.

The list of special entries is for passwd database only, group
and shadow databases are not mentioned.  Because group database
does not support netgroup special entries and it deals with
groups, not users, it is better to make a separate list
of entries for it.

It is true that the default source for the compat pseudo-databases
is "nis", but it can be overridden by any NSS service, not just
"nisplus". Even "compat" itself can be specified as the source for
the pseudo-databases, but doing that of course leads to infinite
recursion, so it makes sense to disallow that.

The information was obtained from glibc source code, namely from
the following files:
nis/nss_compat/compat-pwd.c
nis/nss_compat/compat-grp.c
nis/nss_compat/compat-spwd.c

Signed-off-by: Nikola Forró <nforro@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-17 16:51:39 +01:00
Heinrich Schuchardt b5e8061a09 unix.7: srcfix: remove stray Copyright line
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-16 12:10:04 +01:00
Heinrich Schuchardt 90425b93fc recv.2: Equivalence to read
Describe the recv(2)-read(2) and the recvfrom(2)-recv(2)
equivalences for zero-valued arguments.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-16 12:08:55 +01:00
Jakub Wilk ea84b0fd6b nanosleep.2: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-16 11:20:12 +01:00
Jakub Wilk 1cd9229c06 mq_close.3: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-16 11:19:31 +01:00
Michael Kerrisk e6aa1ec849 execve.2: SEE ALSO: add system(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-16 10:37:50 +01:00
Michael Kerrisk 6c15ab2dd1 exec.3: SEE ALSO: add system(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-16 10:37:37 +01:00
Michael Kerrisk fb7a9afd3b system.3: SEE ALSO: add execve(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-16 10:36:07 +01:00
Michael Kerrisk bb2e799782 system.3: Minor fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-16 10:35:51 +01:00
Michael Kerrisk ef2244feb9 recv.2: MSG_WAITALL has no effect for datgram sockets
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-16 10:10:56 +01:00
Michael Kerrisk 972748d883 readlink.2: Clarify EINVAL error description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-12 10:10:35 +01:00
Michael Kerrisk 4a6f17b57a sched_setattr.2: EPERM depends on affinity mask of target thread, not calling thread
Reported-by: Akihiro Suda <suda.kyoto@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-08 21:26:50 +01:00
Michael Kerrisk 84c8cae2c2 unix.7: Some wording improvements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-08 20:50:17 +01:00
Michael Kerrisk eb73e8ad50 unix.7: Minor tweaks to Heinrich's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-08 20:50:17 +01:00