Commit Graph

3424 Commits

Author SHA1 Message Date
Denys Vlasenko 8da59274b4 ptrace.2: Clarify PTRACE_INTERRUPT, PTRACE_LISTEN, and group-stop behavior
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Denys Vlasenko 78686915ae ptrace.2: Mention that PTRACE_PEEK* libc API and kernel API are different
Acked-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Simon Paillard 444f1c6c8e _syscall.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Vince Weaver 6061d29f3d perf_event_open.2: tfix
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Michael Kerrisk baf7029bac perf_event_open.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Vince Weaver 045bf4d3db perf_event_open.2: Improve PERF_SAMPLE_BRANCH_STACK documentation
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:25 +02:00
Michael Kerrisk 07bfe93f85 setpgid.2: s/SIGTSTP/SIGTTIN/ when discussing reads from terminal
See https://bugzilla.kernel.org/show_bug.cgi?id=60504

Reported-by: graud@gmx.com
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-09 02:20:12 +02:00
Michael Kerrisk 51700fd719 Removed trailing white space at end of lines 2013-07-04 12:53:51 +02:00
Michael Kerrisk ac9167ae16 execve.2, aio_error.3, aio_return.3, clock_getcpuclockid.3, ctermid.3, ecvt.3, ether_aton.3, rexec.3, signbit.3, timegm.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-04 10:36:51 +02:00
Vince Weaver d1007d147c perf_event_open.2: Update to match the Linux 3.10 release
This patch updates the perf_event_open() documentation to include
new interfaces added in the 3.10 kernel.

It also documents a few [To be documented] instances left over
from the 3.7 kernel.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-02 06:12:11 +02:00
Michael Kerrisk af6e5ad89b perf_event_open.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-02 06:08:29 +02:00
Vince Weaver 8cc8b90de8 perf_event_open.2 Add PERF_IOC_FLAG_GROUP documentation
The perf_event_open() ENABLE/DISABLE/RESET ioctls can take an
argument, PERF_IOC_FLAG_GROUP.  This wasn't documented at all
until about a year ago (despite the support being there from
the beginning) so I missed this when initially writing
the man page.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-02 06:05:48 +02:00
Peter LaDow 0c42642f86 execve: Add envp to the Linux notes about NULL pointers
During the review of static analysis results, we discovered a
functional, but non-portable, use of execve().  For example:

    char *cmd[] = { "/path/to/some/file", NULL };
    execve(cmd[0], cmd, NULL);

The call succeeds.  Yet, the static analysis tool (rightly)
pointed out that envp could be dereferenced.  But digging into
glibc and the kernel, it appears that like argv, envp when NULL
is treated as if it were an empty list.

So, to clear things up, I'm submitting this patch to update the
man page to indicate that envp is treated like argv.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21 14:21:43 +02:00
Michael Kerrisk f9293d9857 io_setup.2, perf_event_open.2, readdir.2, syscall.2, a64l.3, abs.3, asprintf.3, bindresvport.3, catgets.3, ceil.3, cimag.3, conj.3, crypt.3, drand48.3, encrypt.3, ether_aton.3, fcloseall.3, ferror.3, fmtmsg.3, getdate.3, getgrent.3, getgrnam.3, getpass.3, getpwent.3, getpwnam.3, getttyent.3, getusershell.3, localeconv.3, mblen.3, mbrlen.3, mbrtowc.3, modf.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_setname_np.3, ptsname.3, qecvt.3, re_comp.3, readdir.3, rexec.3, round.3, scalbln.3, stdio_ext.3, strerror.3, tmpnam.3, trunc.3, ttyname.3, ttyslot.3, inotify.7, man-pages.7, socket.7, tcp.7, udp.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21 13:35:03 +02:00
Michael Kerrisk 2857d3ff8a pread.2: pread() and pwrite() are especially useful in multithreaded applications
Reported-by: Марк Коренберг <socketpair@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21 12:30:25 +02:00
Yuri Kozlov 276939a6b2 fallocate.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk 5049da5bef arch_prctl.2, getpeername.2, getrlimit.2, ioctl_list.2, mmap2.2, mremap.2, sched_setaffinity.2, setup.2, shmop.2, argz_add.3, exec.3, fenv.3, fmtmsg.3, gethostbyname.3, posix_memalign.3, printf.3, scanf.3, sigpause.3, wordexp.3, xdr.3, st.4, tty_ioctl.4: Formatting fix: prevent '*' in declaration or cast wrapping to next line
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk c994238936 ioctl_list.2, sched_yield.2, vm86.2, backtrace.3, catopen.3, daemon.3, dl_iterate_phdr.3, fnmatch.3, getfsent.3, glob.3, grantpt.3, infnan.3, putgrent.3, setaliasent.3, shm_open.3, stdin.3, ttyS.4: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk 509e20562d msync.2, getusershell.3, full.4, pts.4: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk c6fa0841a9 time.1, _syscall.2, acct.2, getsockname.2, nanosleep.2, pciconfig_read.2, sched_get_priority_max.2, umask.2, uname.2, ustat.2, INFINITY.3, argz_add.3, atexit.3, bsearch.3, byteorder.3, carg.3, closedir.3, dlopen.3, drand48.3, envz_add.3, errno.3, ether_aton.3, exp10.3, finite.3, flockfile.3, fseeko.3, getcontext.3, getmntent.3, getnetent.3, getprotoent.3, getrpcent.3, getservent.3, iconv_close.3, iconv_open.3, initgroups.3, login.3, longjmp.3, mbsinit.3, memccpy.3, memmem.3, mempcpy.3, offsetof.3, on_exit.3, pow10.3, pthread_cancel.3, pthread_cleanup_push.3, rpc.3, rpmatch.3, setenv.3, setjmp.3, setlogmask.3, sockatmark.3, strfmon.3, strptime.3, strverscmp.3, swab.3, tcgetpgrp.3, tmpfile.3, toascii.3, y0.3, null.4, tty.4, tty_ioctl.4, hosts.equiv.5, environ.7, path_resolution.7, tzselect.8: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk 32398a624c semctl.2: 'sem_nsems' is 'unsigned long' since Linux 2.4
Reported-by: Simone Piccardi <piccardi@truelite.it>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-03 18:44:45 +02:00
Vince Weaver 751c0f1a66 perf_event_open.2: Clarify the perf_event_open() wakeup_events/wakeup_watermark fields
Clarify the perf_event_open() wakeup_events/wakeup_watermark
fields a bit, based on info from kernel commit cfeb1d90a1b1.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02 14:27:20 +02:00
Michael Kerrisk 7b6de6f689 prctl.2: Note equivalents of PR_SET_NAME
pthread_setname_np() and pthread_getname_np() and
/proc/self/task/TID/comm provide access to the same
attribute.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02 14:27:20 +02:00
Michael Kerrisk c420fde274 prctl.2: Minor wroding fix for PR_SET_NAME
Reported-by: Марк Коренберг <socketpair@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02 14:27:20 +02:00
Vince Weaver 08e325e8d5 perf_event_open.2: Small correction to description of 'flags' argument
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02 14:27:20 +02:00
Mike Frysinger 202f5bfb9a syscall.2: Document s390/s390x calling convention
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 20:04:01 +02:00
Michael Kerrisk f24e3a3ad9 readdir.2, asprintf.3, getline.3, getlogin.3, pthread_setname_np.3, readdir.3, strerror.3: Clarify that terminating null byte is '\0'
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 19:59:06 +02:00
David Prévot 8b7a20f02f alarm.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 19:59:05 +02:00
David Prévot 15e540d94c io_destroy.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 19:59:05 +02:00
Cyril Hrubis 9c456b53a3 io_setup.2: Clarify the nr_events parameter
Currently the io_setup.2 man page describes what the kernel really
does, i.e., that the resulting context may be able to hold more
than the 'nr_event's operations because the memory allocated in
kernel is rounded to be multiple of page size.

It is better not to expose this implementation detail and
simply state that the resulting context is suitable for
'nr_events' operations.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
2013-05-19 19:58:38 +02:00
Michael Kerrisk 3944ae0c0d move_pages.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-11 22:19:52 +02:00
Michael Kerrisk d1ac81cf89 killpg.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-06 17:32:46 +02:00
Michael Kerrisk 89cc637cb5 move_pages.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-21 13:05:46 +02:00
Michael Kerrisk d4c528479e migrate_pages.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-21 13:05:42 +02:00
Michael Kerrisk e2ee112da1 umask.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 18:29:12 +02:00
Michael Kerrisk d038a74a3f sigsuspend.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 2cbd0ac5b8 sigprocmask.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 947683f353 sigpending.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 125db7c1c1 signal.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 de86e93c28 sigaction.2: RETURN VALUE: mention that 'errno' is set on error
Reported-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:18:59 +02:00
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 7d2e6d7415 Removed trailing white space at end of lines 2013-04-19 13:57:07 +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 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 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 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 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
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 6565680737 sched_rr_get_interval.2: Document /proc/sys/kernel/sched_rr_timeslice_ms
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-08 12:32:44 +02:00
Mike Frysinger 6acbcbc659 quotactl.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-07 10:41:49 +02:00
Michael Kerrisk ca972ff960 syscall.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-02 09:11:02 +02:00
Michael Kerrisk 63ec43ae07 posix_fadvise.2, pread.2, readahead.2, sync_file_range.2, truncate.2: Refer to syscall(2) for ABI semantics on certain 32-bit architectures
Also: in sync_file_range.2 and posix_fadvise.2 remove description
of conventional calling signature as flawed, and in
posix_fadvise.2, de-emphasize focus on ARM, and rather phrase
as a more general discussion of certain architectures.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-02 08:08:14 +02:00
Michael Kerrisk bed6b26e9f syscall.2: Corrections and improvements to Changhee Han's patch
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:46 +02:00
Michael Kerrisk 9e5c5e5f00 syscall.2: Refine discussion of ARM and other ABIs
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:46 +02:00
Michael Kerrisk 9525301640 syscall.2: Minor fix-ups to Changhee Han's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:46 +02:00
Changhee Han 638fd4bfda syscall.2: Add notes that caution users when passing arguments to syscall()
For example, passing 'long long' on ARM-32 requires special
treatment.

Signed-off-by: Changhee Han <ch0.han@lge.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:46 +02:00
Simon Paillard 6229018159 kcmp.2, quotactl.2, subpage_prot.2, get_nprocs_conf.3, if_nameindex.3, if_nametoindex.3: tfix
There are some extra dots in the license text compared to original one.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:46 +02:00
Michael Kerrisk 33a0ccb293 intro.1, _syscall.2, access.2, arch_prctl.2, cacheflush.2, chown.2, clock_getres.2, clone.2, create_module.2, fcntl.2, flock.2, get_kernel_syms.2, get_robust_list.2, get_thread_area.2, getcpu.2, getpriority.2, getrlimit.2, getrusage.2, ioprio_set.2, kexec_load.2, madvise.2, mbind.2, migrate_pages.2, mknod.2, mmap.2, mount.2, move_pages.2, mprotect.2, open.2, pause.2, pciconfig_read.2, perf_event_open.2, prctl.2, ptrace.2, query_module.2, read.2, reboot.2, recv.2, s390_runtime_instr.2, sched_setscheduler.2, select_tut.2, send.2, set_mempolicy.2, setfsgid.2, setfsuid.2, sigaction.2, spu_create.2, spu_run.2, stime.2, swapon.2, syslog.2, timer_create.2, timer_getoverrun.2, times.2, tkill.2, umount.2, unimplemented.2, ustat.2, vm86.2, wait.2, abs.3, aio_read.3, aio_write.3, bsd_signal.3, catgets.3, clearenv.3, cmsg.3, dbopen.3, dirfd.3, dlopen.3, exec.3, fenv.3, ferror.3, fmemopen.3, fnmatch.3, fopen.3, futimes.3, getaddrinfo.3, getifaddrs.3, getipnodebyname.3, hsearch.3, if_nameindex.3, inet_pton.3, mblen.3, mbrlen.3, mbsrtowcs.3, mbtowc.3, mcheck.3, memfrob.3, mq_notify.3, netlink.3, posix_memalign.3, printf.3, pthread_attr_setscope.3, pthread_cleanup_push.3, pthread_kill_other_threads_np.3, pthread_self.3, pthread_setcancelstate.3, pthread_setconcurrency.3, raise.3, resolver.3, rpc.3, rtime.3, rtnetlink.3, scanf.3, setbuf.3, setnetgrent.3, shm_open.3, sigpause.3, sigset.3, sigwait.3, sockatmark.3, strcasecmp.3, strcmp.3, strdup.3, strftime.3, strptime.3, strsignal.3, strverscmp.3, sysv_signal.3, termios.3, wcrtomb.3, wcsnlen.3, wcsnrtombs.3, wcsrtombs.3, wctomb.3, wprintf.3, console_codes.4, cpuid.4, msr.4, rtc.4, sk98lin.4, st.4, tty.4, charmap.5, core.5, elf.5, hosts.equiv.5, proc.5, resolv.conf.5, services.5, slabinfo.5, arp.7, bootparam.7, capabilities.7, charsets.7, cpuset.7, ddp.7, epoll.7, feature_test_macros.7, futex.7, hier.7, icmp.7, inotify.7, ip.7, ipv6.7, man-pages.7, mdoc.7, mdoc.samples.7, netdevice.7, netlink.7, numa.7, packet.7, path_resolution.7, posixoptions.7, pthreads.7, raw.7, rtld-audit.7, rtnetlink.7, sem_overview.7, sigevent.7, socket.7, spufs.7, tcp.7, udp.7, unicode.7, uri.7, utf-8.7, intro.8, ldconfig.8, sync.8: Global fix: fix placement of word "only"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:46 +02:00
Michael Kerrisk 1e9736f39d getdents.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:45 +02:00
David Prévot b36f83cf95 getdents.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:45 +02:00
Michael Kerrisk b6bc918e7a syscalls.2, iso_8859-5.7, iso_8859-7.7, koi8-r.7, koi8-u.7: Table edits to eliminate warnings
Eliminate tbl warning "table wider than line width".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:45 +02:00
Michael Kerrisk ab13a138cd sched_setscheduler.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:45 +02:00
Michael Kerrisk b4be4f08bb lseek.2: _GNU_SOURCE must be defined to get SEEK_DATE and SEEK_HOLE definitions
See http://sourceware.org/bugzilla/show_bug.cgi?id=15312

Reported-by: Andreas Jaeger <aj@suse.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:45 +02:00
Michael Kerrisk d80cadc13a readdir.2: readdir(2) doesn't exist on x86-64
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:45 +02:00
Michael Kerrisk 09ddc8db5c arch_prctl.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:45 +02:00
Michael Kerrisk b41a5d542d semop.2: Clarify the discussion of 'semadj'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:45 +02:00
Michael Kerrisk eda9aaf6ba getdents.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:28 +01:00
Michael Kerrisk b7ac18e926 umask.2: SEE ALSO: add acl(5)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:28 +01:00
Michael Kerrisk 97151f2d70 getdents.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:28 +01:00
Michael Kerrisk 6a213bc24f sched_setscheduler.2: Minor rewording
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:28 +01:00
Michael Kerrisk d95285e9a3 getpriority.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:28 +01:00
Michael Kerrisk d26a34f008 sigaction.2, core.5, capabilities.7: : Global fix: s/since kernel/since Linux/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:28 +01:00
Michael Kerrisk e31b14e6e8 unlinkat.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:27 +01:00
Michael Kerrisk 0d24f47f29 stat.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:27 +01:00
Michael Kerrisk e3948c69dd getrusage.2, ptrace.2, stpcpy.3, stpncpy.3: srcfix: start new sentence on new source line
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:27 +01:00
Michael Kerrisk 47f065d6e8 msgctl.2, msgget.2, msgop.2, semctl.2, semget.2, semop.2, shmctl.2, shmget.2, shmop.2: Add "System V" to .TH line and text
Make it clear that these pages relate to System V IPC,
not POSIX IPC.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:27 +01:00
Michael Kerrisk 91bb32bf2e shmctl.2: Refer to proc(5) for description of /proc/sys/kernel/shm_rmid_forced
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:27 +01:00
Michael Kerrisk df102cb588 shmctl.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:10:44 +01:00