Commit Graph

2940 Commits

Author SHA1 Message Date
Akihiro MOTOKI 1f1fd5eff5 socket.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-03 10:33:49 +02:00
Akihiro MOTOKI 982ff543cd inotify_init.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-03 10:33:49 +02:00
Michael Kerrisk 82fdd7c7d0 ioprio_set.2: Document who==0 for IOPRIO_WHO_PROCESS and IOPRIO_WHO_PGRP
For IOPRIO_WHO_PROCESS, who==0 means operate on the caller.
For IOPRIO_WHO_PGRP, who==0 means operate on the caller's
process group.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652443

Reported-by: Марк Коренберг <socketpair@gmail.com>
Reported-by: Kalle Olavi Niemitalo <kon@iki.fi>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-03 10:33:49 +02:00
Michael Kerrisk c4949ba488 ioprio_set.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-03 10:33:49 +02:00
Colin McCabe b91e4e72eb ioprio_set.2: Clarify the multithreaded behavior of ioprio_set(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-03 10:33:49 +02:00
Michael Kerrisk bf1298c9e5 sigwaitinfo.2: Some wording clarifications
Mainly rewording things like "is delivered" to "becomes pending",
which is more accurate terminology.

Reported-by: Daniel Zingaro <daniel.zingaro@utoronto.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-21 05:52:22 +02:00
Michael Kerrisk 4e9ee22571 set_tid_address.2: Some rewordings and minor clarifications
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-21 05:09:45 +02:00
Michael Kerrisk 72442c6803 set_tid_address.2: Some minor rewordings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-21 05:01:37 +02:00
Michael Kerrisk 568c4c02b7 set_tid_address.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-21 04:55:31 +02:00
Michael Kerrisk f5fe595295 set_tid_address.2: Rename 'ctid' argument for consistency with clone(2) page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-20 17:17:06 +02:00
Michael Kerrisk 5add3af3d8 clone.2: Rewrite discussion of sys_clone
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-20 17:17:06 +02:00
Michael Kerrisk 98309d3fea syscalls.2: Move discussion of set_zone_reclaim(2) out of main table
This system call was never visible to user space, so it makes
sense to move it out of the main table of system calls into
the notes below the table.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:28 +02:00
Michael Kerrisk 8eec4a2373 syscalls.2: Add kcmp(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:28 +02:00
Michael Kerrisk 45c99e3ec4 get_robust_list.2, get_thread_area.2, getcpu.2, getdents.2, gettid.2, io_cancel.2, io_destroy.2, io_getevents.2, io_setup.2, io_submit.2, ioprio_set.2, kexec_load.2, llseek.2, modify_ldt.2, mq_getsetattr.2, pivot_root.2, readdir.2, rt_sigqueueinfo.2, set_thread_area.2, sgetmask.2, spu_create.2, spu_run.2, subpage_prot.2, sysctl.2, tkill.2: Add note to SYNOPSIS that there is no glibc wrapper for system call
Reduce the chance that the reader may be misled into thinking
that there is a wrapper function for this system call by noting
explicitly in the SYNOPSIS that there is no glibc wrapper and
pointing the reader to NOTES for further details.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:28 +02:00
Michael Kerrisk 498a96a239 syscall.2: Add some more details to the description of syscall(2)
And add another example of using syscall() to the program example.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>

syscall.2: fix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:28 +02:00
Michael Kerrisk 50cebc0485 kexec_load.2: tfix
Reported-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:28 +02:00
Michael Kerrisk 38c6b6401d path_resolution.2, epoll.4, fifo.4, futex.4, complex.5, environ.5: Remove outdated links
Remove links >= 5 years old that were created after historical
moves of pages to new sections.

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:28 +02:00
Michael Kerrisk 44535dd29b mount.2: For MS_REMOUNT, source is ignored
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:27 +02:00
Michael Kerrisk f658081708 seteuid.2: Note glibc version where setegid() implementation changed
In glibc 2.2/2.3, setegid() switched from setregid() to setresgid().
2012-07-19 12:51:27 +02:00
Michael Kerrisk 6fdbc7794f access.2, prctl.2, recv.2, send.2, euidaccess.3, mbstowcs.3, mcheck.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:26 +12:00
Akihiro MOTOKI 02ace852fb open.2, select.2, aio_cancel.3, aio_suspend.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Akihiro MOTOKI a59e64bef2 spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Michael Kerrisk f66524636d msgctl.2, msgget.2, msgop.2, semctl.2, semget.2, semop.2, shmctl.2, shmget.2: NOTES: <sys/types.h> and <sys/ipc.h> aren't strictly needed
Add text to NOTES to say that the <sys/types.h> and <sys/ipc.h>
header files aren't required by Linux or the standards, but may
be needed for portability to old systems.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Michael Kerrisk 548be2a60e msgctl.2, semctl.2, shmctl.2, svipc.7: Don't mention that ipc_perm is defined in <sys/ipc.h>
There's no need to mention that the 'ipc_perm' structure
is defined in <sys/ipc.h>. That's an implementation detail,
and furthermore <sys/ipc.h> is itself included by the other
System V IPC header files. The current text might lead the
reader to conclude that they must include <sys/ipc.h>, which
is not the case (it is required neither on Linux, nor by the
standards).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Michael Kerrisk 96668cfdbb keyctl.2: srcfix: Added FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Michael Kerrisk 0ab8aeecc5 Removed trailing white space at end of lines 2012-05-11 08:13:04 +12:00
Michael Kerrisk dbd577f885 get_robust_list.2: tstamp fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-11 08:11:32 +12:00
Michael Kerrisk e5080839ee semop.2: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-11 08:10:50 +12:00
Michael Kerrisk eae2dfceab futimesat.2, mount.2, confstr.3, iconv.3, makedev.3, malloc.3, strcasecmp.3, strcat.3, strcmp.3, strcpy.3, strdup.3, strftime.3, strnlen.3, strpbrk.3, strspn.3, strtok.3, strxfrm.3, sk98lin.4, icmp.7, ipv6.7, packet.7, raw.7, rtnetlink.7, unix.7, x25.7, ldconfig.8, nscd.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-11 08:09:28 +12:00
David Prévot 01d8b73f92 poll.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 18:07:47 +12:00
Michael Kerrisk e1c5ebfa25 io_cancel.2, io_destroy.2, io_getevents.2, io_setup.2, io_submit.2: Rewrite to focus on system call API
Rewrite to focus on the system call interface, adding
some notes on the libaio wrapper differences.
See the following mail:
2012-05-07 "aio manuals", linux-man@vger.kernel.org
http://thread.gmane.org/gmane.linux.man/1935/focus=2910

Other minor rewrites.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:57:03 +12:00
Michael Kerrisk dd3ec6febb io_cancel.2, io_destroy.2, io_getevents.2, io_setup.2, io_submit.2: srcfix: remove old commented-out formatting directives
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:57:03 +12:00
Nick Piggin 1847167b8b open.2: Describe race of direct I/O and fork()
Rework 04cd7f64, which didn't capture the details correctly.
See the April/May 2012 linux-man@ mail thread "[PATCH]
Describe race of direct read and fork for unaligned buffers"
http://thread.gmane.org/gmane.linux.kernel.mm/77571

Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cowritten-by: Jan Kara <jack@suse.cz>
Cowritten-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-09 19:18:43 +12:00
David Prévot 99eccaa774 get_robust_list.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-09 17:18:07 +12:00
Michael Kerrisk ded312a306 getcpu.2: DESCRIPTION: reword a sentence to be clearer
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-09 17:18:07 +12:00
Michael Kerrisk 6ca014574b getcpu.2: Refer reader to NOTES for more info about 'tcache'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-09 17:18:07 +12:00
Mike Frysinger 178df36f74 getcpu.2: Add RETURN VALUE and ERRORS sections
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-09 17:11:37 +12:00
D. Barbier 5d2f567434 symlinkat.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-08 22:37:34 +12:00
D. Barbier 8065732760 inotify_init.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-08 22:37:01 +12:00
David Prévot 65a0c0120f clock_getres.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-08 09:20:22 +12:00
Bjarni Ingi Gislason e53eca7462 ioctl_list.2: ffix
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671514

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:19 +12:00
Bjarni Ingi Gislason 0ce81ab564 ptrace.2: srcfix to avoid groff warning
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:19 +12:00
Bjarni Ingi Gislason 56f2caff29 syscalls.2: Formatting fixes
From "groff -ww ..." (or "man --warnings=w ..."):

    warning: around line 157: table wider than line width

Have to use text blocks.  Move some text to its correct column.
Split text to two columns to avoid hyphenation.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:18 +12:00
Bjarni Ingi Gislason 77b9991851 stat.2: Formatting fixes
From "groff -ww" (or "man --warnings=w ..."):

    warning: around line 442: table wider than line width

GNU man uses line length of 78.

Use text blocks.  Two spaces between sentences or better: start
each sentence in a new line.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:18 +12:00
Michael Kerrisk 4a037a4a01 socket.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:18 +12:00
Michael Kerrisk 3e18f289e7 ptrace.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:18 +12:00
Michael Kerrisk a3492501ff prctl.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:18 +12:00
Michael Kerrisk 4208a89631 mount.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
Michael Kerrisk f6253e6182 madvise.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
Michael Kerrisk 078a7d6e3a _exit.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
Michael Kerrisk 61e1aee047 mount.2, dbopen.3, fenv.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
Michael Kerrisk 2dd7f4cbe3 accept.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
Simon Paillard b3682895f8 clock_getres.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
Michael Kerrisk 4175f99924 add_key.2, query_module.2, request_key.2, resolver.3, stpcpy.3, strftime.3, elf.5, proc.5, mdoc.samples.7: srcfix: Wrap source lines at sentence boundaries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
Michael Kerrisk f61d734d64 madvise.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
Michael Kerrisk e9dedcd212 madvise.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
Michael Kerrisk a1402e4c93 syslog.2: Remove some details about obsolete Linux libc
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 8a2384a440 sysinfo.2: Remove reference to obsolete libc5
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 2606a2b068 signal.2: Note that 'sig_t' requires _BSD_SOURCE
Also remove some old Linux libc details

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 6f0b2c8c9a poll.2: Clarify discussion of wrapper function emulation
Clarify that glibc (as well as old libc) provides emulation
using select(2) on older kernels that don't have a poll()
system call.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 77a53cb65a mount.2: Comment out an old Linux libc detail
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 1941c8e763 execve.2: Rewording to deemphasize libc5 details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 7bf5c019f1 execve.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk c95b6ae1ce faccessat.2, fchmodat.2, fchownat.2, fstatat.2, futimesat.2, inotify_init.2, linkat.2, mkdirat.2, mknodat.2, openat.2, readlinkat.2, renameat.2, setns.2, splice.2, symlinkat.2, sync.2, tee.2, unlinkat.2, vmsplice.2: Global fix: note glibc version that added library support
Reported-by: Lauri Kasanen <curaga@operamail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk ce50b4c311 get_robust_list.2: Various edits and additions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk 8a9b4d2030 set_robust_list.2: New link to new get_robust_list.2 page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Ivana Varekova 1f62bc9ecd get_robust_list.2: New page documenting get_robust_list(2) and set_robust_list(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
David Prévot 244195afe4 fchmodat.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk 9d0637e513 select.2: Expand description of the self-pipe trick
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk b8b850053f select.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk a16eec1e9c select.2: Add further details on pselect6() system call that underlies pselect()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk 736552001d semop.2: Clarify that 'timeout' of semtimedop() is a *minimum* interval
Make it clear that 'timeout' interval will be rounded up to the
system clock granularity, and may overrun because of kernel
scheduling delays.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk 3a1876bd71 recvmmsg.2: Clarify that 'timeout' is a *minimum* interval
Make it clear that 'timeout' interval will be rounded up to the
system clock granularity, and may overrun because of kernel
scheduling delays.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk 95b803548b sigwaitinfo.2: Clarify that 'timeout' of sigtimedwait() is a *minimum* interval
Make it clear that 'timeout' is a minimum interval; the actual
interval will be rounded up to the system clock granularity,
and may overrun because of kernel scheduling delays.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk 77e74cf141 poll.2: Make the meaning of a zero timeout explicit
Clarify that timeout==0 causes an immediate return, even if
no file descriptors are ready.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk 19257d8fe6 poll.2: Clarify that 'timeout' is a *minimum* interval
Make it clear that 'timeout' is a minimum interval; the actual
interval will be rounded up to the system clock granularity,
and may overrun because of kernel scheduling delays.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk f07cd91a9e epoll_wait.2: Clarify that 'timeout' is a *minimum* interval
Make it clear that 'timeout' is a minimum interval; the actual
interval will be rounded up to the system clock granularity,
and may overrun because of kernel scheduling delays.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk 8c121f4004 select.2: Clarify that 'timeout' is a *minimum* interval
Make it clear that 'timeout' is a minimum interval; the actual
interval will be rounded up to the system clock granularity,
and may overrun because of kernel scheduling delays.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Mike Frysinger aed1f3b9fb fork.2: ERRORS: add ENOSYS
Can occur on, for example, non-MMU hardware.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Jan Kara 04cd7f643d open.2: Describe race of direct read and fork() for unaligned buffers
This is a long standing problem (or a surprising feature) in our
implementation of get_user_pages() (used by direct IO). Since
several attempts to fix it failed (e.g.,
http://linux.derkeiler.com/Mailing-Lists/Kernel/2009-04/msg06542.html,
or http://lkml.indiana.edu/hypermail/linux/kernel/0903.1/01498.html
refused in http://comments.gmane.org/gmane.linux.kernel.mm/31569)
and it's not completely clear whether we really want to fix
it given the costs. Let's at least document it.

Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Yuri Kozlov 9a830e6211 prctl.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk 8d8eb2f0c8 epoll_wait.2: Minor wording clarification to EINTR error
Try to avoid the type of misreading reported in
https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/480566

Reported-by: Angelo Borsotti <angelo.borsotti@gmail.com >
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk 22594a3cb6 clock_getres.2: Expand description of CLOCK_REALTIME
Make it clear that this clock may be discontinuous, and is
affected my incremental NTP and clock-adjtime(2) adjustments.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540872

Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Michael Kerrisk c3ee1c5d6a pread.2: BUGS: Note O_APPEND + pwrite() does the wrong thing
See https://bugzilla.kernel.org/show_bug.cgi?id=43178

Reported-by: Kasper Dupont <kasperd@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Jason Baron c639b31479 madvise.2: Document MADV_DONTDUMP and MADV_DODUMP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Michael Kerrisk 3960d7a208 Removed trailing white space at end of lines 2012-04-27 10:58:21 +12:00
Michael Kerrisk af75eecea0 process_vm_writev.2: Correct target of link
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-27 10:57:58 +12:00
Michael Kerrisk 04b2e45352 process_vm_readv.2: Further improvements after Mike Frysinger's comments
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:13:00 +12:00
Michael Kerrisk 0b01869b0a process_vm_readv.2: Cleanups after comments from Mike Frysinger and Christopher Yeoh
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:13:00 +12:00
Michael Kerrisk 7985dbf3f7 process_vm_readv.2: Many additions, rewrites, and clarifications
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:13:00 +12:00
Michael Kerrisk 9762bc8a64 process_vm_readv.2: Minor tweaks to example code
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:59 +12:00
Michael Kerrisk 529b74009b process_vm_readv.2: Formatting fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:59 +12:00
Mike Frysinger 5e5ab35394 process_vm_writev.2: Link to new process_vm_readv(2) page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:59 +12:00
Mike Frysinger 0b0ec7588c process_vm_readv.2: New page for process_vm_readv(2) and process_vm_writev(2)
Cowritten-by: Christopher Yeoh <cyeoh@au1.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:59 +12:00
Michael Kerrisk 82232e78e9 gettimeofday.2, ptrace.2, sigaction.2, aio_init.3, mpool.3, scandir.3, inotify.7, netdevice.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:59 +12:00
Michael Kerrisk 63f0f3d9b8 clock_getres.2: Clarify difference between CLOCK_MONOTONIC and CLOCK_MONOTONIC_RAW
Note interactions of these two clocks with discontinuous
adjustments to the system time and NTP/adjtime(2).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:59 +12:00
Michael Kerrisk 5f04b9486b gettimeofday.2: gettimeofday() is affected by discontinuous jumps in the system time
Advise reader to use clock_gettime(2), if they need a
monotonically increasing time source.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:10 +12:00
Michael Kerrisk fb6fc61227 gettimeofday.2: SEE ALSO: Add clock_gettime(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:06 +12:00
Michael Kerrisk bc02b3ea72 prctl.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:06 +12:00
Michael Kerrisk 06afe6739c prctl.2: Add PR_TASK_PERF_EVENTS_DISABLE and PR_TASK_PERF_EVENTS_ENABLE
Add some basic documentation of these operations, with a pointer to
tools/perf/design.txt for more information.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:06 +12:00