Commit Graph

8802 Commits

Author SHA1 Message Date
Michael Kerrisk 716c8c3f00 shmget.2: Rewrite RETURN VALUE and mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:18:59 +02:00
Michael Kerrisk eb20a4fb40 recv.2: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:18:59 +02:00
Michael Kerrisk 47a979088f fallocate.2: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:18:59 +02:00
Michael Kerrisk 6d7f73685f udp.7: Note that 'optval' for socket options is an 'int' in most cases
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:18:59 +02:00
Michael Kerrisk 92cedf330e tcp.7: Note that 'optval' for socket options is an 'int' in most cases
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:18:59 +02:00
Michael Kerrisk 7d247ee8ab socket.7: Note that 'optval' for socket options is an 'int' in most cases
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:18:59 +02:00
Michael Kerrisk 3f1e877dde socket.7: Put SO_PEEK_OFF in correct alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:18:59 +02:00
Michael Kerrisk 242a48c92c socket.7: Greatly improved description of SO_PEEK_OFF
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:18:59 +02:00
Pavel Emelyanov 15b4cde715 socket.7: Document SO_PEEK_OFF option
Since Linux 3.4 there appeared an ability to specify the
offset in bytes from which the data will be MSG_PEEK-ed.
Describe this socket option in the socket(7) page, where
all the other socket options are described.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:18:59 +02:00
Michael Kerrisk e59de0aeb0 Start of man-pages-3.52: updating Changes and Changes.old 2013-04-19 14:03:08 +02:00
Michael Kerrisk d7a98f241e Start of man-pages-3.52: updating .Announce and .lsm files 2013-04-19 14:03:08 +02:00
Michael Kerrisk fb886ebd67 Start of man-pages-3.52: renaming .Announce and .lsm files 2013-04-19 14:03:08 +02:00
Michael Kerrisk 6764425509 Ready for 3.51 2013-04-19 13:57:16 +02:00
Michael Kerrisk 7d2e6d7415 Removed trailing white space at end of lines 2013-04-19 13:57:07 +02:00
Michael Kerrisk 741e66ae9a Changes: Ready for 3.51
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 13:56:23 +02:00
Michael Kerrisk 75268cdf44 semop.2, syscalls.2: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 13:38:21 +02:00
Michael Kerrisk 9a86ff918e unshare.2, sched_getcpu.3, elf.5, capabilities.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 13:36:54 +02:00
Michael Kerrisk 70ef44dec5 ualarm.3: Add note on the behavior when 'usecs' is zero
POSIX.1-2001 does not specify the behavior in this case
and no other system that I checked documented the behavior.
Probably, most or all systems do what Linux does in this
case: cancel any pending alarm, just as alarm(0) does.
Add that info in NOTES.

Reported-by: Nicolas Hillegeer <nicolas@hillegeer.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 13:27:25 +02:00
Michael Kerrisk d82b435b70 alarm.2: Correct the description of behavior when 'seconds' is 0
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 13:23:41 +02:00
Michael Kerrisk 290e89bd22 getaddrinfo.3: tfix
Reviewed-by: Damien Grassart <damien@grassart.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 13:23:41 +02:00
Michael Kerrisk 0bf14b8799 mmap.2: Add pointers to relevant /proc files described in proc(5)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-17 08:48:06 +02:00
Michael Kerrisk 69ab425ef2 proc.5: Put /proc/PID/map_files text in right alphabetical location
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-17 08:47:59 +02:00
Michael Kerrisk 18cdd0aca2 proc.5: Minor fixes to Pavel's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-17 07:55:02 +02:00
Pavel Emelyanov b4f89985b9 proc.5: Document /proc/[pid]/map_files directory
This directory was added in Linux v3.3 and provides info about
files being mmap-ed in a way very similar to how /proc/[pid]/fd
works.

v2: Added examples of how links look like and noted dependency
on kernel config option CONFIG_CHECKPOINT_RESTORE.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-17 07:33:55 +02:00
Michael Kerrisk 251113d0f7 clone.2: Add short subsection noting that blackfin, m68k, and sparc are different
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-17 07:18:13 +02:00
Michael Kerrisk 574c92b61a clone.2: Change subhead for ia64 discussion
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-17 07:15:23 +02:00
Michael Kerrisk 097a1f3b12 clone.2: Move clone2() text to subsection in description
The description of ia64 clone2() should follow the discussion
of the raw system call interface.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 07:48:51 +02:00
Michael Kerrisk 51f1f5d957 clone.2: Clarify differences between clone2() syscall and wrapper function
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 07:40:12 +02:00
Michael Kerrisk e585064bb9 clone.2: Replace "sys_clone" mentions with "the raw system call"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 07:26:27 +02:00
Michael Kerrisk c787510f56 clone.2: Note those architectures where the sys_clone argument order differs
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 07:26:27 +02:00
Michael Kerrisk 81f10dad47 clone.2: Add prototype for syscall to SYNOPSIS
And further clarify the distinction between the system call
and the wrapper function in the introductory text.

Reported-by: Peter Schiffer <pschiffe@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 07:26:27 +02:00
Michael Kerrisk d49198240b unshare.2: Update feature test macro requirements
The requirements quietly changed changed in glibc 2.14

See also http://www.sourceware.org/bugzilla/show_bug.cgi?id=4749

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 07:26:27 +02:00
Michael Kerrisk e73b310329 clone.2: Update feature test macro requirements
The requirements quietly changed changed in glibc 2.14

See also http://www.sourceware.org/bugzilla/show_bug.cgi?id=4749

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 07:26:27 +02:00
Michael Kerrisk ce7a8309b5 ip.7: Minor fixes for Radek Pazdera's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 07:26:27 +02:00
Radek Pazdera 95e1ffd564 ip.7: Document IP_MULTICAST_ALL
This commit adds documentation for the IP_MULTICAST_ALL socket
option.

The option was added to the Linux kernel in 2.6.31:

    Author Nivedita Singhvi <niv@us.ibm.com>
    Commit f771bef98004d9d141b085d987a77d06669d4f4f

The description is based on a previous one [3] posted by the
original author of the code -- Nivedita, but it is slightly
re-worded.

I tested it myself and it works as described.

References:
    [1] http://lxr.free-electrons.com/source/net/ipv4/ip_sockglue.c#L972
    [2] http://lxr.free-electrons.com/source/net/ipv4/igmp.c#L2267
    [3] http://patchwork.ozlabs.org/patch/28902/

Signed-off-by: Radek Pazdera <rpazdera@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 07:26:27 +02:00
Michael Kerrisk 72d34312e8 access.2: Clarify RETURN VALUE for F_OK
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705293

Reported-by: The Wanderer <wanderer@fastmail.fm>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 07:26:26 +02:00
Michael Kerrisk 2c28d337cb io_cancel.2: Improve description
Reported-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 07:26:26 +02:00
Jeff Moyer 9f621816bc io_cancel.2: Improve description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 07:26:26 +02:00
Jeff Moyer 1d79f88e2e io_destroy.2: Improve description
The description was rather vague, citing a "list of I/O contexts"
and stating that it "can" cancel outstanding requests.  This
update makes things more concrete so that the reader knows exactly
what's going on.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 07:26:26 +02:00
Jeff Moyer 3d083fa4de io_setup.2: Clarify nr_events
nr_events is technically the number of completion events that can
be stored in the completion ring.  The wording of the man page:
"capable of receiving at least nr_events" seems dubious to me,
only because I worry that folks might interpret that to mean
'nr_events' total, instead of 'nr_events' concurrently.

Further, I've added information on where to find the per-user
limit on 'nr_events', /proc/sys/fs/aio-max-nr.  Let me know if
you think that is not relevant.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 07:26:15 +02:00
Jeff Moyer c102d780c0 io_getevents.2: The 'timeout' argument is not updated
I looked back through the kernel code, and the timeout was
never updated in any case.  I've submitted a patch upstream
to change the comment above io_getevents.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 05:03:09 +02:00
Michael Kerrisk cc66e8b454 listxattr.2: Explain use of 'size' argument
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 05:03:09 +02:00
Michael Kerrisk a895613945 getcpu.2: Recommend that 'tcache' should be specified as NULL nowadays
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 05:03:09 +02:00
Mike Frysinger 7e8740aedd elf.5: Add byte positions for all EI_xxx fields
When describing e_ident, most of the EI_xxx defines mention the
exact byte number.  This is useful when manually hacking an ELF
with a hex editor.  However, the last few fields don't do this,
which means you have to count things up yourself.
Add a single word to each so you don't have to do that.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 05:03:09 +02:00
Michael Kerrisk 39b6689e36 syscall.2: tfix
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16 05:03:09 +02:00
Michael Kerrisk 08c9b3b9c8 syscall.2: Move "Architecture calling conventions" subsection
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-08 12:32:44 +02:00
Mike Frysinger 9390ee75bb syscall.2: Add PA-RISC details under calling conventions
Reviewed-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-08 12:32:44 +02:00
Michael Kerrisk 602c75a875 syscall.2: Improve "Architecture calling conventions" subsection
Split into tables so that the information does not render wider
than 80 columns. Add some explanation of tables and table columns.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-08 12:32:44 +02:00
Mike Frysinger d1c98faff7 syscall.2: Document the exact calling convention for architecture system calls
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-08 12:32:44 +02:00
Michael Kerrisk a60b1f03ae capabilities.7: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-08 12:32:44 +02:00