Commit Graph

2624 Commits

Author SHA1 Message Date
Michael Kerrisk 3ed3a50747 syscalls.2: Fix kernel version number for kexec_load
kexec_load() was first implemented in 2.6.13, though the entry
in the system call table was reserved starting in 2.6.7.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-04 07:14:31 +01:00
Michael Kerrisk 53bdbeec81 kexec_load.2: VERSIONS: Fix version number
kexec_load() was first implemented in 2.6.13, though the entry
in the system call table was reserved starting in 2.6.7.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-04 07:14:25 +01:00
Michael Kerrisk 3231873968 kexec_load.2: Fix copyright
Make copyright in the name of Intel corporation

Reported-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-04 07:06:58 +01:00
Michael Kerrisk 036dabf5ff kexec_load.2: Add kernel version where KEXEC_PRESERVE_CONTEXT first appeared
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-04 07:05:12 +01:00
Michael Kerrisk dc3df54890 kexec_load.2: Added kernel version number where KEXEC_ON_CRASH first appeared
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-04 06:47:18 +01:00
Michael Kerrisk 0ef8bebc6a migrate_pages.2: SEE ALSO: Add reference to Documentation/vm/page_migration
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 16:50:30 +01:00
Michael Kerrisk d5e2db539d clone.2, fcntl.2, euidaccess.3, getopt.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 15:53:53 +01:00
Michael Kerrisk 0b80cf56e3 Changes, clone.2, mount.2, nanosleep.2, sigaltstack.2, statfs.2, timer_settime.2, ctime.3, fmemopen.3, nl_langinfo.3, posix_memalign.3, pthread_attr_init.3, pthread_setaffinity_np.3, pthread_setschedprio.3, pthread_testcancel.3, setjmp.3, sigwait.3, tty_ioctl.4, epoll.7, posixoptions.7, unix.7: Add section number to references to functions documented in other pages
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 08:07:28 +01:00
Michael Kerrisk a45f957e63 sync_file_range.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 07:52:28 +01:00
Michael Kerrisk 261de44f04 statfs.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 07:42:29 +01:00
Michael Kerrisk ee688688e9 getitimer.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 07:38:59 +01:00
Michael Kerrisk 82b6d79719 timer_create.2, timer_delete.2, timer_getoverrun.2, timer_settime.2, dprintf.3, aio.7: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 07:21:04 +01:00
Michael Kerrisk 27807c324f Changes, keyctl.2, request_key.2, subpage_prot.2, syslog.2, pthread_kill.3: ERRORS: Place errors in alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 07:18:03 +01:00
Michael Kerrisk 27d47e71ef Changes, access.2, clone.2, aio_init.3, atexit.3, makecontext.3, makedev.3, pthread_attr_setdetachstate.3, pthread_exit.3: Remove redundant section number in page references
Remove section number in function references that are for
functions documented on this page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 06:59:37 +01:00
Michael Kerrisk 4105b0b5e4 timer_settime.2: Remove redundant SEE ALSO reference
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 06:52:04 +01:00
Michael Kerrisk 3e5c319e24 clock_nanosleep.2, getpriority.2, kexec_load.2, nanosleep.2, nice.2, sched_setaffinity.2, timer_create.2, timer_delete.2, timer_settime.2, utime.2, btowc.3, futimes.3, log.3, pthread_attr_setguardsize.3, pthread_kill_other_threads_np.3, pthread_setaffinity_np.3, pthread_setcancelstate.3, pthread_setschedparam.3, pthread_setschedprio.3, pthread_tryjoin_np.3, strcoll.3, strcpy.3, string.3, strxfrm.3, networks.5, aio.7, sigevent.7, udplite.7: SEE ALSO: Place entries in correct order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 06:35:42 +01:00
Michael Kerrisk 939fd8db06 reboot.2: Place 'cmd' values in alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-31 15:14:13 +01:00
Michael Kerrisk 577dd8b1d0 kexec_load.2: Note that CONFIG_KEXEC is needed
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-31 07:37:36 +01:00
Andi Kleen fed71ac385 reboot.2: Document LINUX_REBOOT_KEXEC
Some fix-ups by Michael Kerrisk

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-31 07:35:41 +01:00
Michael Kerrisk 02a4b9e988 kexec_load.2: Incorporate fixes from Eric W. Biederman
Eric noted that a few instances of "virtual" should
be "physical" and noted:

    There is an expectation that at hand off from sys_kexec that
    virtual and physical addresses will be identity mapped. But
    this isn't the old Alpha booting convention where you have
    a virtual address and then you have to parse the page table
    to figure out where your kernel was actually loaded.

Reported-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-31 07:16:03 +01:00
Michael Kerrisk 2a09a26172 kexec_load.2: Added VERSIONS section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-31 07:14:08 +01:00
Michael Kerrisk d1e833fef4 kexec_load.2: Resore accidentally deleted CONFORMING TO section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-31 07:13:11 +01:00
Michael Kerrisk ece948b4a3 kexec_load.2: Additions and edits by mtk
Various wording and layout improvements.
Fixed the name of a constant: s/KEXEC_ARCH_I386/KEXEC_ARCH_386/.
Added RETURN VALUE and ERRORS sections.
Removed details of using syscall; the reader can find them in
syscall(2).
Added some details for KEXEC_PRESERVE_CONTEXT.
Revised the text mentioning the kernel header, since it is
not yet exported, and it's not certain that it will be.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-31 07:06:49 +01:00
Michael Kerrisk e4f282ab26 kexec_load.2: Add license
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-31 07:00:21 +01:00
Andi Kleen 0bd8e0bf49 kexec_load.2: New page documenting kexec_load(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-31 06:59:24 +01:00
Michael Kerrisk 0a4f8b7bb4 getresuid.2, intro.2, mremap.2, open.2, poll.2, posix_fadvise.2, pread.2, remap_file_pages.2, setresuid.2, signal.2, splice.2, sync_file_range.2, tee.2, vmsplice.2, INFINITY.3, asprintf.3, assert_perror.3, basename.3, bsd_signal.3, canonicalize_file_name.3, clog10.3, crypt.3, dl_iterate_phdr.3, dlopen.3, dprintf.3, encrypt.3, exp10.3, fcloseall.3, fenv.3, ffs.3, fmemopen.3, fopencookie.3, ftw.3, getdate.3, getline.3, getloadavg.3, getopt.3, getsubopt.3, getutent.3, grantpt.3, hsearch.3, intro.3, lseek64.3, memmem.3, mempcpy.3, mq_receive.3, mq_send.3, posix_fallocate.3, pow10.3, program_invocation_name.3, ptsname.3, putgrent.3, readdir.3, sigset.3, sincos.3, stpcpy.3, stpncpy.3, strchr.3, strfry.3, strnlen.3, strptime.3, strsignal.3, strstr.3, strverscmp.3, swab.3, sysv_signal.3, tsearch.3, unlocked_stdio.3, unlockpt.3, wcpcpy.3, wcpncpy.3, wcsdup.3, wcwidth.3: SEE ALSO: Remove redundant reference to feature_test_macros(7)
Reported-by: Florian Lehmann <flo.lehmann@googlemail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-31 06:06:58 +01:00
Michael Kerrisk b80f966bb0 getresuid.2, mremap.2, poll.2, remap_file_pages.2, setresuid.2, splice.2, sync_file_range.2, syscall.2, tee.2, vmsplice.2, INFINITY.3, aio_init.3, asprintf.3, assert_perror.3, basename.3, bsd_signal.3, canonicalize_file_name.3, clog10.3, crypt.3, dl_iterate_phdr.3, dlopen.3, encrypt.3, exp10.3, fcloseall.3, fenv.3, fopencookie.3, ftw.3, getaddrinfo_a.3, getloadavg.3, getutent.3, grantpt.3, hsearch.3, lseek64.3, memmem.3, mempcpy.3, pow10.3, program_invocation_name.3, ptsname.3, putgrent.3, sched_getcpu.3, sincos.3, strchr.3, strfry.3, strnlen.3, strptime.3, strstr.3, strverscmp.3, swab.3, sysv_signal.3, tsearch.3, unlockpt.3, wcwidth.3: Add reference to feature_test_macros(7)
Some pages simply list feature test macro requirements in
the form:

    #define #GNU_SOURCE
    #include <someheader.h>

For these pages, add a "See feature_test_macros(7)" comment
on the "#define" line.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-31 05:31:47 +01:00
Michael Kerrisk 9108d86725 clone.2: Clarify when CLONE_NEWNET implementation was completed
Reported-by: Lucian Adrian Grijincu <lucian.grijincu@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-30 08:12:03 +02:00
Lucian Adrian Grijincu 61f22790e1 unshare.2: Improve description of CLONE_NEWNET
CLONE_NEWNET creates a new network namespace from scratch.
You don't have anything from the old network namespace in
the new one. Even the loopback device is new.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-30 07:52:36 +02:00
Michael Kerrisk baeb920b34 mlock.2: shmctl() SHM_LOCKed memory is not included in VmLck
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-30 07:32:55 +02:00
Michael Kerrisk e5eb406c9c mlock.2: Improve wording describing /proc/PID/status /VmLck field
Reported-by: Yuri Kozlov <yuray@komyakino.ru>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-30 07:28:31 +02:00
Michael Kerrisk e4b4151a14 fcntl.2: RETURN VALUE: Improve description of F_GETFD and F_GETFL
Reported-by: scarlettsp <scarlettsp@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-30 07:23:10 +02:00
Michael Kerrisk ae416c7e62 subpage_prot.2: fixup
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-30 07:21:24 +02:00
Michael Kerrisk c079ed6486 subpage_prot.2: Improvements after review by Paul Mackerras
Reported-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-30 07:18:30 +02:00
Michael Kerrisk b3bc5386d6 unshare.2: Document CLONE_NEWNET
Reported-by: Lucian Adrian Grijincu <lucian.grijincu@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-24 16:32:50 +02:00
Michael Kerrisk da2e0e532f unshare.2: Document CLONE_NEWUTS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-24 16:29:20 +02:00
Michael Kerrisk a948ae520e unshare.2: Dcoument CLONE_SYSVSEM
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-24 16:28:36 +02:00
Michael Kerrisk 25539b1b6c unshare.2: Document CLONE_NEWIPC
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-24 16:19:48 +02:00
Michael Kerrisk 486d4e9b99 unshare.2: Relocate discussion of CAP_SYS_ADMIN to CLONE_NEWNS section
And rewrite the EPERM description to be more general in
preparation for the new flags to be documented.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-24 16:02:24 +02:00
Michael Kerrisk c8e4c1bdc3 unshare.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-24 15:59:48 +02:00
Michael Kerrisk 05b9225154 access.2: Note use of faccessat(2) for checking symbolic link permissions
Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-24 09:41:36 +02:00
Michael Kerrisk 1cdb1ec17c faccessat.2: Note that faccessat() is racy
Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-24 09:41:36 +02:00
Michael Kerrisk 4713564349 access.2: Give an example of a safer alternative to using access()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-24 09:19:24 +02:00
Michael Kerrisk 7a35b9818e access.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-24 09:09:48 +02:00
Michael Kerrisk 6a03b9dddc inotify_add_watch.2: Document ENOENT error
Reported-by: Pádraig Brady <P@draigbrady.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-20 13:25:42 +02:00
Michael Kerrisk 8af786669b subpage_prot.2: Change 1-line page description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-20 12:49:51 +02:00
Yuri Kozlov 43e6655c1d mbind.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-19 12:38:12 +02:00
Yuri Kozlov cad2c5169b migrate_pages.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-19 12:35:24 +02:00
Michael Kerrisk 5024580d6b syscalls.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-18 04:56:09 +02:00
Michael Kerrisk 01710c8d3b inotify_rm_watch.2: SYNOPSIS: fix type of 'wd' argument
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-15 08:07:51 +02:00
Michael Kerrisk e929e68bf8 prctl.2, rtc.4, boot.7, netlink.7: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-15 07:48:02 +02:00
Michael Kerrisk 82bf296553 cacheflush.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-15 07:45:01 +02:00
Michael Kerrisk b218b02329 open.2, poll.2, select_tut.2, getpt.3, openpty.3, posix_openpt.3, ptsname.3, unlockpt.3, pts.4, tty_ioctl.4, proc.5, pty.7: spfix: s/psuedoterminal/psuedoterminal/g
Reported-by: Denis Barbier <bouzim@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-13 05:32:15 +02:00
Michael Kerrisk 662b2137e8 open.2, poll.2, select_tut.2, getpt.3, grantpt.3, openpty.3, posix_openpt.3, ptsname.3, unlockpt.3, pts.4, tty_ioctl.4, proc.5, pty.7: Global fix: s/pseudo-terminal/pseudoterminal/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-12 06:51:51 +02:00
Michael Kerrisk 4891f52a48 recv.2, cmsg.3, unix.7: global fix: s/UNIX socket/UNIX doamin socket/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-12 06:49:35 +02:00
Michael Kerrisk 008f1ecc43 intro.1, time.1, accept.2, bind.2, connect.2, execve.2, flock.2, getdents.2, getpriority.2, getuid.2, intro.2, ioctl.2, mincore.2, mknod.2, personality.2, ptrace.2, read.2, recv.2, select_tut.2, send.2, sendfile.2, shmctl.2, sigaction.2, signal.2, stat.2, times.2, truncate.2, umask.2, wait.2, MB_CUR_MAX.3, MB_LEN_MAX.3, argz_add.3, btowc.3, clearenv.3, clock.3, cmsg.3, end.3, endian.3, errno.3, exit.3, fgetwc.3, fgetws.3, fopen.3, fputwc.3, fputws.3, fseek.3, fwide.3, getfsent.3, getgrnam.3, gethostid.3, getipnodebyname.3, getmntent.3, getpwnam.3, getwchar.3, grantpt.3, iconv.3, iconv_close.3, iconv_open.3, insque.3, intro.3, iswalnum.3, iswalpha.3, iswblank.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, malloc.3, mblen.3, mbrlen.3, mbrtowc.3, mbsinit.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, mkstemp.3, mktemp.3, nl_langinfo.3, openpty.3, posix_openpt.3, printf.3, ptsname.3, putwchar.3, qecvt.3, rcmd.3, readdir.3, rexec.3, rpc.3, setnetgrent.3, shm_open.3, sigpause.3, stdin.3, stpcpy.3, strftime.3, strptime.3, syslog.3, towctrans.3, towlower.3, towupper.3, ttyslot.3, ungetwc.3, unlocked_stdio.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscasecmp.3, wcscat.3, wcschr.3, wcscmp.3, wcscpy.3, wcscspn.3, wcsdup.3, wcslen.3, wcsncasecmp.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcspbrk.3, wcsrchr.3, wcsrtombs.3, wcsspn.3, wcsstr.3, wcstok.3, wcstombs.3, wcswidth.3, wctob.3, wctomb.3, wctrans.3, wctype.3, wcwidth.3, wmemchr.3, wmemcmp.3, wmemcpy.3, wmemmove.3, wmemset.3, wprintf.3, console_ioctl.4, pts.4, elf.5, filesystems.5, hosts.5, proc.5, ttytype.5, boot.7, capabilities.7, credentials.7, epoll.7, glob.7, koi8-r.7, path_resolution.7, pty.7, signal.7, suffixes.7, time.7, unicode.7, unix.7, uri.7, utf-8.7: global fix: s/Unix/UNIX/
The man pages were rather inconsistent in the use of "Unix"
versus "UNIX". Let's go with the trademark usage.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-12 06:49:17 +02:00
Michael Kerrisk 01e16c8aa9 mount.2: minor fix: write "file system" as two words (not "filesystem")
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-10 18:31:12 +02:00
Michael Kerrisk 08ba37e851 arrm_fadvise.2: New link to posix_fadvise.2
Reported-by: Stephan Mueller <stephan.mueller@atsec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-10 07:56:52 +02:00
Michael Kerrisk 8a686975a9 subpage_prot.2: New page documenting the PowerPC-specific subpage_prot(2)
Reported-by: Stephan Mueller <stephan.mueller@atsec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 08:32:11 +02:00
Michael Kerrisk 4606dbb039 syscalls.2: Add the PowerPC-specific subpage_prot() system call
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 08:28:11 +02:00
Michael Kerrisk ecf13c3319 arm_fadvise64_64.2: New link to posix_fadvise.2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 08:10:47 +02:00
Michael Kerrisk dc30fdc64e posix_fadvise.2: Document the architecture-specific arm_fadvise64_64() system call
This ARM-specific system call fixes the argument ordering
for that architecture. Since Linux 2.6.14.

Reported-by: Stephan Mueller <stephan.mueller@atsec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 06:51:40 +02:00
Michael Kerrisk e049eee85f posix_fadvise.2: Rewrite VERSIONS, noting that the system call is fadvise64()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 06:45:26 +02:00
Michael Kerrisk 83225c1f4d syscalls.2: Add sync_file_range2() to syscalls list
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 05:56:14 +02:00
Michael Kerrisk 68eb386f72 arm_sync_file_range.2, sync_file_range2.2: New links to sync_file_range.2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 05:47:50 +02:00
Michael Kerrisk cd95b6a6ab sync_file_range.2: Document the architecture-specific sync_file_range2() system call
As described in commit edd5cd4a9424f22b0fa08bef5e299d41befd5622,
the sync_file_range() argument order is broken for some
architectures (PowerPC, ARM, tile). The remedy was a different
system call using the right argument order on those architectures.

Reported-by: Stephan Mueller <stephan.mueller@atsec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 05:34:26 +02:00
Michael Kerrisk c18150c27e truncate.2: Fix feature test macros
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-06 07:51:38 +02:00
Michael Kerrisk 28e7ac241f chmod.2: tfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-06 07:43:57 +02:00
Michael Kerrisk 9f6bc3e0ee select_tut.2: tfix
Reported-by: Denis Barbier <bouzim@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-06 07:13:25 +02:00
Michael Kerrisk 59e9285d75 Removed trailing white space at end of lines 2010-10-04 05:04:21 +02:00
Michael Kerrisk ee644b657b sched_setscheduler.2, gethostbyname.3, mq_notify.3, posix_openpt.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-04 04:56:58 +02:00
Michael Kerrisk b83d6fd23f unshare.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 17:44:31 +02:00
Michael Kerrisk ff0c327836 io_cancel.2, io_destroy.2, io_getevents.2, io_setup.2, io_submit.2: SEE ALSO: add aio(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 17:12:29 +02:00
Michael Kerrisk 0d5f6a62aa timer_create.2, mq_notify.3: Standardize on name 'sevp' for sigeevnt argument
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-27 06:58:55 +02:00
Michael Kerrisk 9dcef0c031 truncate.2: Correct and simplify ftruncate() feature test macro requirements
The glibc 2.12 feature teat macro requirements for ftruncate() are
buggy; see http://sourceware.org/bugzilla/show_bug.cgi?id=12037.
Corrected the requriements in tha SYNOPSIS, and added a BUGS
section describing the problem in glibc 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-27 03:42:30 +02:00
Michael Kerrisk 7b072c4d33 brk.2, chroot.2, vfork.2, ecvt.3, gcvt.3, getcwd.3, getpass.3, mktemp.3, posix_memalign.3, strdup.3, ttyslot.3, ualarm.3, usleep.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 17:46:36 +02:00
Michael Kerrisk 7990e026cc chdir.2, chmod.2, chown.2, gethostname.2, getsid.2, pread.2, setpgid.2, sigaltstack.2, truncate.2, wait.2, dirfd.3, getsubopt.3, mkdtemp.3, mkstemp.3, siginterrupt.3, strdup.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 17:43:00 +02:00
Michael Kerrisk 34c909ac11 stat.2: Note feature test macro requirements for blkcnt_t and blksize_t
Reported-by: Andries E. Brouwer <Andries.Brouwer@cwi.nl>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 17:36:41 +02:00
Michael Kerrisk 3ba63d802e chdir.2, chmod.2, chown.2, gethostname.2, getsid.2, pread.2, setpgid.2, sigaltstack.2, stat.2, truncate.2, wait.2, dirfd.3, getsubopt.3, mkdtemp.3, mkstemp.3, siginterrupt.3, strdup.3: Simplify feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 17:16:57 +02:00
Denis Barbier 7b695c8496 mknodat.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 16:05:14 +02:00
Michael Kerrisk 5fab2e7c9c Changes.old, clone.2, execve.2, fcntl.2, futex.2, getitimer.2, getpriority.2, mmap.2, mount.2, mprotect.2, sched_setscheduler.2, select_tut.2, setuid.2, sigaltstack.2, vfork.2, div.3, fenv.3, fmod.3, memchr.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_getattr_np.3, queue.3, scanf.3, trunc.3, st.4, proc.5, services.5, utmp.5, bootparam.7, capabilities.7, feature_test_macros.7, futex.7, glob.7, man.7, netlink.7, unicode.7: Switch to American usage: "-wards" ==> "-ward"
American English uses "afterward" in preference to "afterwards",
and so on

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 07:34:47 +02:00
Michael Kerrisk 8a18a94479 getrusage.2: Add mention of the ancient vlimit() function
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 07:04:04 +02:00
Michael Kerrisk e1695dec3d getrlimit.2: Add mention of the ancient vlimit() function
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 07:04:04 +02:00
Michael Kerrisk 91e1b56b2e sched_setscheduler.2: ERRORS: note that NULL 'param' yields EINVAL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-24 10:10:22 +02:00
Michael Kerrisk c54ed37e0a chown.2, mmap.2, frexp.3, pthread_setschedparam.3, strtok.3: Remove comments on closing braces in example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-23 08:31:18 +02:00
Yuri Kozlov ce28864c25 lookup_dcookie.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk 0e39ed973e timer_create.2: Factor out generic material that was moved to new sigevent(7) page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk 50831f9b8a _exit.2, brk.2, capget.2, chdir.2, chmod.2, chown.2, chroot.2, getdtablesize.2, gethostname.2, getpagesize.2, getsid.2, killpg.2, mknod.2, mknodat.2, poll.2, posix_fadvise.2, pread.2, readlink.2, setpgid.2, setreuid.2, sigaltstack.2, stat.2, symlink.2, sync.2, truncate.2, vfork.2, wait.2, wait4.2, a64l.3, abs.3, acos.3, acosh.3, asin.3, asinh.3, atan.3, atan2.3, atoi.3, cbrt.3, ceil.3, copysign.3, cosh.3, dirfd.3, div.3, ecvt.3, erf.3, erfc.3, exp.3, exp2.3, fabs.3, fdim.3, ffs.3, floor.3, fma.3, fmax.3, fmin.3, fmod.3, fpclassify.3, frexp.3, ftw.3, fwide.3, gcvt.3, getcwd.3, getdate.3, getgrent.3, gethostid.3, getpass.3, getpwent.3, getsubopt.3, getw.3, hypot.3, ilogb.3, index.3, isalpha.3, isgreater.3, iswblank.3, j0.3, ldexp.3, lockf.3, log.3, log10.3, log1p.3, logb.3, lrint.3, lround.3, mkstemp.3, mktemp.3, modf.3, mq_receive.3, mq_send.3, nan.3, nextafter.3, posix_fallocate.3, posix_memalign.3, printf.3, qecvt.3, random.3, realpath.3, remainder.3, remquo.3, rint.3, round.3, scalb.3, scalbln.3, scanf.3, siginterrupt.3, signbit.3, sigset.3, sinh.3, sqrt.3, strcasecmp.3, strcat.3, strchr.3, strcmp.3, strcoll.3, strcpy.3, strfry.3, strpbrk.3, strsep.3, strspn.3, strstr.3, strtod.3, strtok.3, strtol.3, strtoul.3, strxfrm.3, tanh.3, tgamma.3, trunc.3, ttyslot.3, ualarm.3, usleep.3, wprintf.3, armscii-8.7, cp1251.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-3.7, iso_8859-5.7, iso_8859-6.7, iso_8859-8.7, koi8-u.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk 0e888c4ac4 mknodat.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk ea91c3fdde faccessat.2, dprintf.3, fexecve.3, fmemopen.3, mbsnrtowcs.3, mkfifoat.3, opendir.3, stpcpy.3, stpncpy.3, strnlen.3, strsignal.3, wcpcpy.3, wcpncpy.3, wcscasecmp.3, wcsdup.3, wcsncasecmp.3, wcsnlen.3, wcsnrtombs.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk 37877088db fchownat.2, fstatat.2, futimesat.2, linkat.2, mkdirat.2, openat.2, readlinkat.2, renameat.2, symlinkat.2, unlinkat.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk cebcc73f6a fchmodat.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk f904e68e33 faccessat.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk 64b7939672 sigaltstack.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:08 +02:00
Michael Kerrisk 9a30939ed9 clock_nanosleep.2, posix_fadvise.2, clock_getcpuclockid.3, mq_receive.3, mq_send.3, posix_fallocate.3: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:08 +02:00
Michael Kerrisk 2cee10882c mknodat.2: Fixed feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:08 +02:00
Michael Kerrisk 1e2ba090e1 truncate.2: Update and correct feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:08 +02:00
Michael Kerrisk 98dbe7af76 brk.2, chroot.2, faccessat.2, fchmodat.2, fchownat.2, fstatat.2, futimesat.2, getdtablesize.2, getpagesize.2, getsid.2, linkat.2, mkdirat.2, mknodat.2, openat.2, pread.2, readlinkat.2, renameat.2, setpgid.2, sigaltstack.2, symlinkat.2, sync.2, timer_create.2, timer_delete.2, timer_getoverrun.2, timer_settime.2, unlinkat.2, utimensat.2, vfork.2, acosh.3, asinh.3, atanh.3, dirfd.3, dprintf.3, ecvt.3, expm1.3, fexecve.3, fmemopen.3, gcvt.3, getcwd.3, gethostid.3, getpass.3, getsubopt.3, getw.3, mbsnrtowcs.3, mkfifoat.3, mkstemp.3, mktemp.3, opendir.3, posix_memalign.3, rint.3, siginterrupt.3, stpcpy.3, stpncpy.3, strdup.3, strerror.3, strnlen.3, strsignal.3, strtol.3, strtoul.3, ualarm.3, usleep.3, wcpcpy.3, wcpncpy.3, wcscasecmp.3, wcsdup.3, wcsncasecmp.3, wcsnlen.3, wcsnrtombs.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:08 +02:00
Michael Kerrisk 34c38af86e utimensat.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:06 +02:00
Michael Kerrisk 729166ed49 truncate.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:06 +02:00
Michael Kerrisk 256114b100 seteuid.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:06 +02:00
Michael Kerrisk 4833c277b2 gethostname.2: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:05 +02:00
Michael Kerrisk 5871b69b29 getdomainname.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:05 +02:00
Michael Kerrisk 8260c01f79 clock_getres.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:05 +02:00
Michael Kerrisk 72ef5c5c95 setpgid.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:05 +02:00
Michael Kerrisk 6c3f022828 _exit.2, abs.3, atoi.3, strtod.3, strtol.3, strtoul.3: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:05 +02:00
Michael Kerrisk e0a981113e _exit.2, abs.3, atoi.3, strtod.3, strtol.3, strtoul.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:05 +02:00
Michael Kerrisk ba8c512872 mknod.2: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:03 +02:00
Michael Kerrisk 43e0fe7d64 stat.2: Update lstat() feature test macro requirements
Add requirements for glibc 2.10.
Correct requirements for glibc versions before 2.10.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:03 +02:00
Michael Kerrisk 947c918908 wait4.2: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:03 +02:00
Michael Kerrisk 733e68f5f0 sync.2: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:03 +02:00
Michael Kerrisk cde2506fa1 readlink.2, symlink.2: Fixed feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:03 +02:00
Michael Kerrisk 03df33ec64 vfork.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:03 +02:00
Michael Kerrisk c609b9ffd0 setreuid.2: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:03 +02:00
Michael Kerrisk c267cf74d8 killpg.2: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk 6e3ac6baa5 wait.2: Update waitid() feature test macro requirements
Add requirements for glibc 2.12.
Correct requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk 65d3ffd966 chmod.2: Update fchmod() feature test macro requirements
Add requirements for glibc 2.12.
Correct requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk f593575224 stat.2: Update information on nanosecond timestamp fields
Update feature test macro requirements for exposing these fields.
Note that these fields are specified in POSIX.1-2008.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk 72dca4ff98 fcntl.2: Add feature test macro requirements for F_GETOWN and F_SETOWN
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk 02b219a16a fcntl.2: Note feature test macro requirements for F_DUPFD_CLOEXEC
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk 7f97034102 getsid.2: Update feature test macro requirements
Add requirements for glibc 2.12.
Correct requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk fc541b7aeb setpgid.2: Update getpgid() feature test macro requirements
Add requirements for glibc 2.12.
Correct requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk 42da7911c1 setpgid.2: Correct feature test macro requirements for setpgrp()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk 02e92562bb setpgid.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk 64dd856b5d chdir.2: Update fchdir() feature test macro requirements
Add requirements for glibc 2.12.
Correct requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:01 +02:00
Michael Kerrisk f8342ac373 pread.2: Updated feature test macro requirements
Added requirements for glibc 2.12.
Corrected requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:01 +02:00
Michael Kerrisk 51c8e66879 chown.2: Update fchown() and lchown() feature test macro requirements
Add requirements for glibc 2.12.
Correct requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:01 +02:00
Michael Kerrisk 4e35cec684 sigaltstack.2, siginterrupt.3: Updated feature test macro requirements
Added requirements for glibc 2.12.
Corrected requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:01 +02:00
Michael Kerrisk 129a22a4a9 sigaltstack.2: srcfix: remove unneeded comment
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:01 +02:00
Michael Kerrisk 2df50e3d4e brk.2, getdtablesize.2, getpagesize.2, vfork.2, getpass.3, ualarm.3, usleep.3: Updated feature test macro requirements
Corrected requirements for glibc versions before 2.12,
and added changed requirements in glibc 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:01 +02:00
Michael Kerrisk e2128f59bc chroot.2: Added feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:58:52 +02:00
Michael Kerrisk c43b0ac78c getrlimit.2: Document units for RLIMIT_RTTIME limit
This limit is in microseconds

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

Reported-by: Tanaka Akira <akr@fsij.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-12 08:40:54 +02:00
Michael Kerrisk b3a452706f lseek.2: Minor wording changes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 06:40:32 +02:00
Michael Kerrisk 3284fbc0ec lseek.2: Removed note about return type on ancient systems
Reported-by: der Mouse <mouse@rodents-montreal.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 06:13:23 +02:00
Michael Kerrisk 9326e678ca mount.2: Definitions of various MS_* constants only appeared in glibc 2.12
See http://sourceware.org/bugzilla/show_bug.cgi?id=11235

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 08:09:14 +02:00
Michael Kerrisk 535f0df5e8 clock_nanosleep.2, clock_getcpuclockid.3, getnetent_r.3, getprotoent_r.3, getrpcent_r.3, getservent_r.3, sigwait.3: RETURN VALUE: Note that "positive error numbers" are listed in ERRORS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 07:49:10 +02:00
Michael Kerrisk 86b91fdffb accept.2, clone.2, dup.2, fallocate.2, pipe.2, readahead.2, sched_setaffinity.2, unshare.2, CPU_SET.3, endian.3, euidaccess.3, fexecve.3, getpt.3, getpw.3, getumask.3, getutmp.3, gnu_get_libc_version.3, makedev.3, matherr.3, mbsnrtowcs.3, memfrob.3, pthread_attr_setaffinity_np.3, pthread_getattr_np.3, pthread_setaffinity_np.3, pthread_tryjoin_np.3, tcgetsid.3, wcscasecmp.3, wcsncasecmp.3, wcsnlen.3, wcsnrtombs.3, wcswidth.3, rtld-audit.7: SYNOPSIS: Add reference to feature_test_macros(7)
These pages specify feature test macros in the function
prototypes. Add a reference to feature_test_macros(7),
so that readers are pointed to the information that
feature test macros must be defined before including
*any* header file.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 07:06:22 +02:00
Michael Kerrisk 89ded5e7b7 capget.2: SYNOPSIS: Remove unneeded "undef _POSIX_SOURCE"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 06:45:26 +02:00
Michael Kerrisk 803e1d2f16 open.2: spfix in source comment
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 06:37:55 +02:00
Michael Kerrisk e417acb023 fcntl.2, intro.2, open.2, poll.2, ftw.3, intro.3, matherr.3, system.3, tmpnam.3, unix.7: Note that feature test macros must be defined before *any* includes
Programmers often make the mistake of including a feature test
macro only after having already included some header files.
This patch adds some text at opportune places to remind
programmers to do things the right way.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 06:33:31 +02:00
Guillem Jover bb4260c01b statfs.2: Fix copy & paste error for __SWORD_TYPE definition
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-09-04 06:45:06 +02:00
Michael Kerrisk 3fa2e4b9f5 select.2: Update NOTES on old glibc pselect()
Make it clear that modern glibc uses the kernel pselect()
on systems where it is available.
See https://bugzilla.kernel.org/show_bug.cgi?id=14411

Reported-by: mac@mcrowe.com
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-31 06:59:47 +02:00
Michael Kerrisk 6b2bd25649 futex.2: srcfix: update FIXME
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-31 06:50:46 +02:00
Michael Kerrisk 0986cb57b1 eventfd.2: Document EFD_SEMAPHORE
Document the EFD_SEMAPHORE flag, added in kernel 2.6.30.
Also restructured some parts of the text to fit with the
addition of the EFD_SEMAPHORE text.

Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-30 07:15:21 +02:00
Michael Kerrisk 4eb6d333a8 eventfd.2: Put flags list in alphabetical order
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-30 06:39:47 +02:00
Michael Kerrisk c4c8b1da75 write.2: Add EDESTADDRREQ error
Reported-by: Brian Sutin <Brian.Sutin@hs.utc.com>
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 15:50:27 +02:00
Michael Kerrisk cc3707c028 utimensat.2: Minor fix: remove duplicate word "the"
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 14:41:21 +02:00
Michael Kerrisk e8fd507782 sysfs.2: Minor fix: remove duplicate "the"
Reported-by: Denis Barbier <bouzim@gmail.com>
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 14:40:16 +02:00
Michael Kerrisk 2677bc5cea epoll_ctl.2: wspfix
Reported-by: Denis Barbier <bouzim@gmail.com>
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 14:22:51 +02:00
Michael Kerrisk cb8c0c9b69 readdir.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 09:06:37 +02:00
Michael Kerrisk d185a51006 gethostname.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 09:06:12 +02:00
Michael Kerrisk bde4b0ae94 gethostname.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 09:05:40 +02:00
Michael Kerrisk 460b3d610f sigaction.2: Minor fix: s/null/NULL/
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 09:03:11 +02:00
Michael Kerrisk 3701130ad7 send.2: wfix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 08:33:07 +02:00
Michael Kerrisk b637ad73b1 recv.2, send.2: Remove obsolete reference to glibc version in NOTES
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 08:32:22 +02:00
Nicholas Hunt f07435fbcc recv.2, send.2: Adjust type shown for msg_controllen to glibc reality
This patch fixes the type of msg_controllen in the struct msghdr
definition given in send.2 and recv.2 to match the definition in
glibc and the kernel.

Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 08:29:04 +02:00
Denis Barbier 038dff6613 sched_setscheduler.2: wfix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:58:29 +02:00
Michael Kerrisk 5d127cc9a4 readlink.2: Minor wording change in CONFORMING TO
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:54:11 +02:00
Alexander Shishkin d45105d9d7 eventfd.2: Clarified close-on-exec behavior
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:37:08 +02:00
Lnac Huard c9e83f0678 mq_getsetattr.2, mq_close.3, mq_getattr.3, mq_notify.3, mq_send.3, mq_unlink.3: Fix return type in SYNOPSIS (s/mqd_t/int/)
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:36:55 +02:00
Yuri Kozlov 60fe1ea109 umount.2: wfix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 06:40:29 +02:00
Yuri Kozlov 0a598d2676 open.2: grfix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 06:39:28 +02:00
Yuri Kozlov e4123e514c epoll_ctl.2: Small fix to types in data structures
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 06:28:48 +02:00
Yuri Kozlov f75ad1f32e fork.2: ffix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 06:25:10 +02:00
Michael Kerrisk fd3fa7efa5 futex.2: Minor wording changes
Reported-by: Yuri Kozlov <yuray@komyakino.ru>
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 06:21:27 +02:00
Michael Kerrisk ba2e3e9a04 poll.2: tfix
Reported-by: Denis Barbier <bouzim@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-07-02 07:12:35 +02:00
Michael Kerrisk d1d721bec5 sysfs.2: Clarify that this syscall is obsolete.
And strengthen recommendation for to use /proc/filesystems
instead.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-27 15:51:46 +02:00
Michael Kerrisk 2859e48cd8 flock.2: srcfix: Add FIXME for LOCK_MAND
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-27 07:47:59 +02:00
Michael Kerrisk e14baeeb54 prctl.2: srcfix: Added FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-27 06:54:10 +02:00
Michael Kerrisk 02234c5df0 add_key.2, keyctl.2, request_key.2: srcfix: remove strange .\"""...""" comments
Reported-by: Jianhua Li <jhlicc@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-27 06:47:23 +02:00
Michael Kerrisk cf9c6362a3 sched_setscheduler.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-27 06:43:20 +02:00
Michael Kerrisk 1ebc0ddb5f madvise.2: Improve discussion of MADV_SOFT_OFFLINE
Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-26 15:21:32 +02:00
Michael Kerrisk 81a0028c21 clock_nanosleep.2: Fix discussion of return value when interrupted by a signal
Reported-by: Przemyslaw Szczepaniak <Przemyslaw.Szczepaniak@imgtec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-26 11:44:43 +02:00
Michael Kerrisk 43537f2868 mkdir.2: Add EMLINK error to ERRORS
Reported-by: Maxin John <maxin.john@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-26 11:16:03 +02:00
Michael Kerrisk ab9cd9b796 umount.2: srcfix: comment
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-26 10:56:15 +02:00
Michael Kerrisk 55d56b7140 migrate_pages.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 12:46:28 +02:00
Michael Kerrisk b911dcb076 Removed trailing white space at end of lines 2010-06-20 06:43:23 +02:00
Michael Kerrisk 92c1db72e2 madvise.2, mmap.2, crypt.3, opendir.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 05:46:00 +02:00
Michael Kerrisk d8da429e17 madvise.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 05:15:34 +02:00
Michael Kerrisk f17d72ad91 ioprio_set.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 03:46:36 +02:00
Michael Kerrisk c808bb1630 select.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 03:44:37 +02:00
Michael Kerrisk 4c9f4bc8e9 gettimeofday.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 03:42:49 +02:00
Michael Kerrisk 5aa2ee8001 migrate_pages.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 03:36:45 +02:00
Michael Kerrisk ff24dd19d9 madvise.2: spfix
Reported-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 03:21:58 +02:00
Michael Kerrisk f5321b148d madvise.2: srcfix: update changelog
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 13:10:52 +02:00
Michael Kerrisk c7bdcd8faa madvise.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 13:10:52 +02:00
Michael Kerrisk 4be1f2ef91 madvise.2: Improve description of MADV_SOFT_OFFLINE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 13:10:52 +02:00
Michael Kerrisk e596338261 madvise.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 13:10:52 +02:00
Andi Kleen 69c8f36fa1 madvise.2: Fix description of MADV_HWPOISON
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 13:10:52 +02:00
Andi Kleen ae24c212b2 madvise.2: Document MADV_SOFT_OFFLINE
This operation was added in Linux 2.6.33.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 13:10:51 +02:00
Michael Kerrisk 3b18c59b70 madvise.2: Slight tweak to text on MADV_MERGEABLE
Reported-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 13:10:35 +02:00
Michael Kerrisk 5baa8f0928 madvise.2: Added documentation of MADV_MERGEABLE and MADV_UNMERGEABLE
These flags (used for Kernel Samepage Mergeing, KSM)
are new in 2.6.32.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 07:36:46 +02:00
Michael Kerrisk cf037473e7 madvise.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 07:09:44 +02:00
Michael Kerrisk 601f3bc6d3 madvise.2: minor: Reformat text for EINVAL error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 07:08:04 +02:00
Michael Kerrisk 5b775090b1 sched_setscheduler.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 06:49:32 +02:00
Michael Kerrisk 93414d353b sched_setscheduler.2: Document SCHED_RESET_ON_FORK
New in Linux 2.6.32

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 06:48:45 +02:00
Michael Kerrisk fad2a83bb0 madvise.2: srcfix: update FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 06:09:56 +02:00
Andi Kleen 523c2f67b7 madvise.2: Document MADV_HWPOISON
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 06:07:39 +02:00
Michael Kerrisk c3b9aac8a5 umount.2: Document UMOUNT_NOFOLLOW
New in Linux 2.6.34.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 05:39:31 +02:00
Michael Kerrisk bc92ddbb15 fcntl.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 04:29:32 +02:00