Commit Graph

3523 Commits

Author SHA1 Message Date
Michael Kerrisk 9ad94e1a3c flock.2: Added LICENSE_START(VERBATIM)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:10 +01:00
Michael Kerrisk 930152530c intro.1, _exit.2, access.2, alarm.2, alloc_hugepages.2, arch_prctl.2, bind.2, chdir.2, chmod.2, chown.2, chroot.2, clock_getres.2, clock_nanosleep.2, close.2, connect.2, delete_module.2, dup.2, execve.2, exit_group.2, faccessat.2, fchmodat.2, fchownat.2, fcntl.2, fork.2, fstatat.2, fsync.2, futimesat.2, get_robust_list.2, getdents.2, getdomainname.2, getgid.2, getgroups.2, gethostname.2, getpagesize.2, getpid.2, getresuid.2, getrlimit.2, getrusage.2, gettid.2, gettimeofday.2, getuid.2, getunwind.2, idle.2, init_module.2, intro.2, iopl.2, kcmp.2, kexec_load.2, kill.2, link.2, linkat.2, llseek.2, lookup_dcookie.2, madvise.2, mincore.2, mkdirat.2, mknodat.2, mmap.2, mmap2.2, mount.2, mprotect.2, mq_getsetattr.2, msgctl.2, msgget.2, msgop.2, msync.2, nice.2, open.2, openat.2, pause.2, perfmonctl.2, personality.2, pipe.2, poll.2, posix_fadvise.2, prctl.2, pread.2, process_vm_readv.2, quotactl.2, read.2, readahead.2, readdir.2, readlinkat.2, readv.2, reboot.2, recvmmsg.2, remap_file_pages.2, rename.2, renameat.2, rmdir.2, rt_sigqueueinfo.2, select.2, select_tut.2, semctl.2, semget.2, semop.2, sendmmsg.2, set_tid_address.2, seteuid.2, setfsgid.2, setfsuid.2, setgid.2, setresuid.2, setuid.2, setup.2, sgetmask.2, shmctl.2, shmget.2, shmop.2, sigaction.2, sigaltstack.2, signal.2, sigpending.2, sigprocmask.2, sigreturn.2, sigsuspend.2, sigwaitinfo.2, splice.2, stat.2, statfs.2, stime.2, subpage_prot.2, swapon.2, symlink.2, symlinkat.2, sync.2, sync_file_range.2, syscalls.2, sysctl.2, sysfs.2, syslog.2, tee.2, time.2, timer_create.2, timer_delete.2, timer_getoverrun.2, timer_settime.2, times.2, tkill.2, umask.2, umount.2, uname.2, unlink.2, unlinkat.2, uselib.2, ustat.2, utime.2, utimensat.2, vfork.2, vhangup.2, vm86.2, vmsplice.2, wait.2, wait4.2, write.2, CPU_SET.3, INFINITY.3, abort.3, abs.3, acos.3, acosh.3, adjtime.3, aio_init.3, asin.3, asinh.3, asprintf.3, assert.3, assert_perror.3, atan.3, atan2.3, atanh.3, atexit.3, atof.3, atoi.3, basename.3, bcmp.3, bcopy.3, bindresvport.3, bsd_signal.3, bsearch.3, bstring.3, byteorder.3, bzero.3, catgets.3, catopen.3, cbrt.3, ceil.3, clearenv.3, clock.3, clock_getcpuclockid.3, closedir.3, confstr.3, copysign.3, cos.3, cosh.3, ctermid.3, ctime.3, difftime.3, dirfd.3, div.3, dl_iterate_phdr.3, dprintf.3, drand48.3, drand48_r.3, dysize.3, ecvt.3, ecvt_r.3, end.3, endian.3, erf.3, erfc.3, ether_aton.3, euidaccess.3, exit.3, exp.3, exp10.3, exp2.3, expm1.3, fabs.3, fcloseall.3, fexecve.3, ffs.3, fgetgrent.3, fgetpwent.3, finite.3, flockfile.3, floor.3, fmod.3, fnmatch.3, fopencookie.3, fpathconf.3, fpurge.3, frexp.3, fseeko.3, ftok.3, futimes.3, gcvt.3, get_nprocs_conf.3, getaddrinfo.3, getaddrinfo_a.3, getauxval.3, getcontext.3, getcwd.3, getdate.3, getdirentries.3, getdtablesize.3, getenv.3, getfsent.3, getgrent.3, getgrnam.3, getgrouplist.3, gethostbyname.3, gethostid.3, getifaddrs.3, getipnodebyname.3, getline.3, getlogin.3, getmntent.3, getnetent.3, getnetent_r.3, getopt.3, getprotoent.3, getprotoent_r.3, getpw.3, getpwent.3, getpwnam.3, getrpcent_r.3, gets.3, getservent.3, getservent_r.3, getumask.3, getusershell.3, getutmp.3, getw.3, glob.3, gnu_get_libc_version.3, gsignal.3, hypot.3, if_nameindex.3, if_nametoindex.3, ilogb.3, index.3, inet.3, inet_ntop.3, inet_pton.3, infnan.3, initgroups.3, insque.3, intro.3, isalpha.3, isatty.3, j0.3, ldexp.3, localeconv.3, log.3, log10.3, log1p.3, log2.3, logb.3, lrint.3, lround.3, lsearch.3, lseek64.3, makecontext.3, makedev.3, mallinfo.3, malloc.3, malloc_get_state.3, malloc_info.3, malloc_stats.3, malloc_trim.3, malloc_usable_size.3, mallopt.3, matherr.3, mcheck.3, memccpy.3, memchr.3, memcmp.3, memcpy.3, memfrob.3, memmem.3, memmove.3, memset.3, mkdtemp.3, mkfifo.3, mkfifoat.3, mkstemp.3, mktemp.3, modf.3, mq_close.3, mq_getattr.3, mq_notify.3, mq_open.3, mq_receive.3, mq_send.3, mq_unlink.3, mtrace.3, on_exit.3, opendir.3, posix_fallocate.3, posix_memalign.3, posix_openpt.3, pow.3, pow10.3, profil.3, psignal.3, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3, pthread_attr_setstack.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_cleanup_push_defer_np.3, pthread_create.3, pthread_detach.3, pthread_equal.3, pthread_exit.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_join.3, pthread_kill.3, pthread_kill_other_threads_np.3, pthread_self.3, pthread_setaffinity_np.3, pthread_setcancelstate.3, pthread_setconcurrency.3, pthread_setname_np.3, pthread_setschedparam.3, pthread_setschedprio.3, pthread_sigmask.3, pthread_sigqueue.3, pthread_testcancel.3, pthread_tryjoin_np.3, pthread_yield.3, putenv.3, putpwent.3, puts.3, qecvt.3, qsort.3, raise.3, rand.3, random.3, random_r.3, re_comp.3, readdir.3, realpath.3, regex.3, remainder.3, remove.3, resolver.3, rewinddir.3, rint.3, round.3, scalb.3, scalbln.3, scandir.3, sched_getcpu.3, seekdir.3, sem_close.3, sem_destroy.3, sem_getvalue.3, sem_init.3, sem_open.3, sem_post.3, sem_unlink.3, sem_wait.3, setenv.3, setlocale.3, setlogmask.3, shm_open.3, siginterrupt.3, sigpause.3, sigqueue.3, sigset.3, sigsetops.3, sigvec.3, sigwait.3, sin.3, sinh.3, sleep.3, sockatmark.3, sqrt.3, statvfs.3, stdio_ext.3, stpcpy.3, strcasecmp.3, strcat.3, strchr.3, strcmp.3, strcoll.3, strcpy.3, strdup.3, strerror.3, strfry.3, strftime.3, string.3, strlen.3, strpbrk.3, strptime.3, strsep.3, strsignal.3, strspn.3, strstr.3, strtok.3, strtol.3, strtoul.3, strverscmp.3, strxfrm.3, swab.3, sysconf.3, syslog.3, system.3, sysv_signal.3, tan.3, tanh.3, tcgetpgrp.3, tcgetsid.3, telldir.3, tempnam.3, timegm.3, timeradd.3, tmpfile.3, tmpnam.3, toascii.3, toupper.3, trunc.3, tsearch.3, ttyslot.3, tzset.3, ulimit.3, undocumented.3, unlocked_stdio.3, usleep.3, y0.3, cpuid.4, full.4, initrd.4, mouse.4, msr.4, sd.4, st.4, acct.5, core.5, services.5, slabinfo.5, aio.7, capabilities.7, credentials.7, feature_test_macros.7, hier.7, inotify.7, libc.7, locale.7, man-pages.7, man.7, math_error.7, mq_overview.7, numa.7, path_resolution.7, pipe.7, pthreads.7, pty.7, rtld-audit.7, sem_overview.7, shm_overview.7, sigevent.7, signal.7, suffixes.7, svipc.7, termio.7, time.7, udplite.7, units.7, uri.7, sln.8: s/LICENSE_START(verbatim)/LICENSE_START(VERBATIM)/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:10 +01:00
Michael Kerrisk 00acdba18c getcpu.2, sendfile.2, cmsg.3, rtnetlink.3, arp.7, ddp.7, fifo.7, icmp.7, ip.7, ipv6.7, netdevice.7, packet.7, raw.7, rtnetlink.7, socket.7, tcp.7, udp.7, unix.7, x25.7: LICENSE_START(VERBATIM_ONE_PARA)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:10 +01:00
Michael Kerrisk ad14cf7429 epoll_create.2, epoll_ctl.2, epoll_wait.2, eventfd.2, ioprio_set.2, signalfd.2, spu_create.2, spu_run.2, timerfd_create.2, charmap.5, locale.5, nscd.conf.5, epoll.7, spufs.7, ldconfig.8, nscd.8: Added LICENSE_START(GPLv2+_3_PARA_SW)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:10 +01:00
Michael Kerrisk 722b678847 add_key.2, keyctl.2, request_key.2: Added LICENSE_START(GPLv2+_ONEPARA_SW)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:10 +01:00
Michael Kerrisk 68fa43985d epoll_create.2, epoll_ctl.2, epoll_wait.2, eventfd.2, ioprio_set.2, signalfd.2, spu_create.2, spu_run.2, timerfd_create.2, epoll.7, spufs.7: Global fix: Update info in source comments on where to get a copy of the GPL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:10 +01:00
Michael Kerrisk d36c3a75a6 io_destroy.2, io_getevents.2: Added LICENSE_START(GPL_NOVERSION_ONELINE) 2013-03-10 10:57:10 +01:00
Michael Kerrisk fd0fc51996 ldd.1, clone.2, create_module.2, get_kernel_syms.2, get_thread_area.2, io_cancel.2, io_setup.2, io_submit.2, mkdir.2, mknod.2, query_module.2, set_thread_area.2, __setfpucw.3, hosts.equiv.5, sync.8: Added LICENSE_START(GPL_NOVERSION_ONELINE)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:10 +01:00
Michael Kerrisk b55e2bb3db time.1, capget.2, pivot_root.2, unshare.2, des_crypt.3, netlink.3, wavelan.4, boot.7, netlink.7: Added LICENSE_START(GPL_NOVERSION_ONELINE)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:10 +01:00
Michael Kerrisk 2d6c6dd1bc nfsservctl.2, getnameinfo.3, grantpt.3, ptsname.3, unlockpt.3, tzfile.5, ld.so.8, tzselect.8, zdump.8, zic.8: Added LICENSE_START(PUBLIC_DOMAIN)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:09 +01:00
Michael Kerrisk 8c9302dcfc accept.2, bind.2, connect.2, getpeername.2, getpriority.2, getsockname.2, getsockopt.2, ioctl.2, killpg.2, listen.2, lseek.2, readlink.2, recv.2, send.2, setpgid.2, setreuid.2, shutdown.2, socket.2, socketpair.2, syscall.2, truncate.2, alloca.3, btree.3, daemon.3, dbopen.3, err.3, exec.3, fclose.3, ferror.3, fflush.3, fopen.3, fread.3, fseek.3, fts.3, getloadavg.3, hash.3, mpool.3, openpty.3, popen.3, queue.3, rcmd.3, recno.3, rexec.3, scanf.3, setbuf.3, stdarg.3, stdio.3, strtod.3, hostname.7, mdoc.7, mdoc.samples.7, operator.7, symlink.7: Add LICENSE_START(BSD_[34]_CLAUSE_FULL)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:09 +01:00
Michael Kerrisk bbb81ba046 getxattr.2, listxattr.2, removexattr.2, setxattr.2: srcfix: Remove redundant source comment
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:09 +01:00
Michael Kerrisk f33e324ab8 sched_setaffinity.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:09 +01:00
Michael Kerrisk 6a8d87459d getent.1, _syscall.2, acct.2, adjtimex.2, bdflush.2, brk.2, cacheflush.2, getsid.2, getxattr.2, inotify_add_watch.2, inotify_init.2, inotify_rm_watch.2, ioperm.2, ipc.2, listxattr.2, mlock.2, modify_ldt.2, mremap.2, nanosleep.2, outb.2, perf_event_open.2, ptrace.2, removexattr.2, s390_runtime_instr.2, sched_get_priority_max.2, sched_rr_get_interval.2, sched_setaffinity.2, sched_setparam.2, sched_setscheduler.2, sched_yield.2, setsid.2, setxattr.2, socketcall.2, unimplemented.2, aio_cancel.3, aio_error.3, aio_fsync.3, aio_read.3, aio_return.3, aio_suspend.3, aio_write.3, cfree.3, crypt.3, dlopen.3, encrypt.3, errno.3, fenv.3, ftime.3, ftw.3, getgrent_r.3, getpass.3, getpwent_r.3, getutent.3, hsearch.3, lio_listio.3, lockf.3, login.3, longjmp.3, perror.3, printf.3, scandirat.3, setjmp.3, strfmon.3, strtoimax.3, termios.3, ttyname.3, ualarm.3, updwtmp.3, wcstoimax.3, wordexp.3, console_ioctl.4, dsp56k.4, fd.4, hd.4, intro.4, lp.4, mem.4, null.4, ram.4, rtc.4, sk98lin.4, tty.4, ttyS.4, vcs.4, filesystems.5, group.5, host.conf.5, hosts.5, intro.5, issue.5, motd.5, networks.5, nologin.5, nsswitch.conf.5, passwd.5, proc.5, protocols.5, securetty.5, shells.5, termcap.5, ttytype.5, utmp.5, intro.6, armscii-8.7, ascii.7, bootparam.7, cp1251.7, environ.7, glob.7, intro.7, iso_8859-1.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-15.7, iso_8859-16.7, iso_8859-2.7, iso_8859-3.7, iso_8859-4.7, iso_8859-5.7, iso_8859-6.7, iso_8859-7.7, iso_8859-8.7, iso_8859-9.7, koi8-r.7, koi8-u.7, posixoptions.7, standards.7, unicode.7, utf-8.7, intro.8: Global fix: Add LICENSE_START(GPLv2+_doc_full)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:09 +01:00
Michael Kerrisk c715f74112 getent.1, _syscall.2, acct.2, adjtimex.2, bdflush.2, brk.2, cacheflush.2, getsid.2, getxattr.2, inotify_add_watch.2, inotify_init.2, inotify_rm_watch.2, ioperm.2, ipc.2, listxattr.2, mlock.2, modify_ldt.2, mremap.2, nanosleep.2, outb.2, ptrace.2, removexattr.2, sched_get_priority_max.2, sched_rr_get_interval.2, sched_setaffinity.2, sched_setparam.2, sched_setscheduler.2, sched_yield.2, setsid.2, setxattr.2, socketcall.2, unimplemented.2, aio_cancel.3, aio_error.3, aio_fsync.3, aio_read.3, aio_return.3, aio_suspend.3, aio_write.3, cfree.3, crypt.3, dlopen.3, errno.3, fenv.3, ftime.3, ftw.3, getgrent_r.3, getpass.3, getpwent_r.3, getutent.3, hsearch.3, lio_listio.3, login.3, longjmp.3, perror.3, printf.3, scandirat.3, setjmp.3, strfmon.3, strtoimax.3, termios.3, ttyname.3, ualarm.3, wcstoimax.3, wordexp.3, console_ioctl.4, dsp56k.4, fd.4, hd.4, intro.4, lp.4, mem.4, null.4, ram.4, rtc.4, sk98lin.4, tty.4, ttyS.4, vcs.4, charmap.5, filesystems.5, ftpusers.5, gai.conf.5, group.5, host.conf.5, hosts.5, intro.5, issue.5, locale.5, motd.5, networks.5, nologin.5, nscd.conf.5, nss.5, nsswitch.conf.5, passwd.5, proc.5, protocols.5, securetty.5, shells.5, termcap.5, ttytype.5, utmp.5, intro.6, armscii-8.7, ascii.7, bootparam.7, cp1251.7, cpuset.7, environ.7, glob.7, intro.7, iso_8859-1.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-15.7, iso_8859-16.7, iso_8859-2.7, iso_8859-3.7, iso_8859-4.7, iso_8859-5.7, iso_8859-6.7, iso_8859-7.7, iso_8859-8.7, iso_8859-9.7, koi8-r.7, koi8-u.7, posixoptions.7, standards.7, unicode.7, utf-8.7, intro.8, ldconfig.8, nscd.8: Global fix: Update info in source comments on where to get a copy of the GPL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:09 +01:00
Michael Kerrisk 4b72fb6462 intro.1, _exit.2, access.2, alarm.2, alloc_hugepages.2, arch_prctl.2, bind.2, chdir.2, chmod.2, chown.2, chroot.2, clock_getres.2, clock_nanosleep.2, close.2, connect.2, delete_module.2, dup.2, execve.2, exit_group.2, faccessat.2, fchmodat.2, fchownat.2, fcntl.2, fork.2, fstatat.2, fsync.2, futimesat.2, get_robust_list.2, getdents.2, getdomainname.2, getgid.2, getgroups.2, gethostname.2, getpagesize.2, getpid.2, getresuid.2, getrlimit.2, getrusage.2, gettid.2, gettimeofday.2, getuid.2, getunwind.2, idle.2, init_module.2, intro.2, iopl.2, kcmp.2, kexec_load.2, kill.2, link.2, linkat.2, llseek.2, lookup_dcookie.2, madvise.2, mincore.2, mkdirat.2, mknodat.2, mmap.2, mmap2.2, mount.2, mprotect.2, mq_getsetattr.2, msgctl.2, msgget.2, msgop.2, msync.2, nice.2, open.2, openat.2, pause.2, perfmonctl.2, personality.2, pipe.2, poll.2, posix_fadvise.2, prctl.2, pread.2, process_vm_readv.2, quotactl.2, read.2, readahead.2, readdir.2, readlinkat.2, readv.2, reboot.2, recvmmsg.2, remap_file_pages.2, rename.2, renameat.2, rmdir.2, rt_sigqueueinfo.2, select.2, select_tut.2, semctl.2, semget.2, semop.2, sendmmsg.2, set_tid_address.2, seteuid.2, setfsgid.2, setfsuid.2, setgid.2, setresuid.2, setuid.2, setup.2, sgetmask.2, shmctl.2, shmget.2, shmop.2, sigaction.2, sigaltstack.2, signal.2, sigpending.2, sigprocmask.2, sigreturn.2, sigsuspend.2, sigwaitinfo.2, splice.2, stat.2, statfs.2, stime.2, subpage_prot.2, swapon.2, symlink.2, symlinkat.2, sync.2, sync_file_range.2, syscalls.2, sysctl.2, sysfs.2, syslog.2, tee.2, time.2, timer_create.2, timer_delete.2, timer_getoverrun.2, timer_settime.2, times.2, tkill.2, umask.2, umount.2, uname.2, unlink.2, unlinkat.2, uselib.2, ustat.2, utime.2, utimensat.2, vfork.2, vhangup.2, vm86.2, vmsplice.2, wait.2, wait4.2, write.2, CPU_SET.3, INFINITY.3, abort.3, abs.3, acos.3, acosh.3, adjtime.3, aio_init.3, asin.3, asinh.3, asprintf.3, assert.3, assert_perror.3, atan.3, atan2.3, atanh.3, atexit.3, atof.3, atoi.3, basename.3, bcmp.3, bcopy.3, bindresvport.3, bsd_signal.3, bsearch.3, bstring.3, byteorder.3, bzero.3, catgets.3, catopen.3, cbrt.3, ceil.3, clearenv.3, clock.3, clock_getcpuclockid.3, closedir.3, confstr.3, copysign.3, cos.3, cosh.3, ctermid.3, ctime.3, difftime.3, dirfd.3, div.3, dl_iterate_phdr.3, dprintf.3, drand48.3, drand48_r.3, dysize.3, ecvt.3, ecvt_r.3, end.3, endian.3, erf.3, erfc.3, ether_aton.3, euidaccess.3, exit.3, exp.3, exp10.3, exp2.3, expm1.3, fabs.3, fcloseall.3, fexecve.3, ffs.3, fgetgrent.3, fgetpwent.3, finite.3, flockfile.3, floor.3, fmod.3, fnmatch.3, fopencookie.3, fpathconf.3, fpurge.3, frexp.3, fseeko.3, ftok.3, futimes.3, gcvt.3, get_nprocs_conf.3, getaddrinfo.3, getaddrinfo_a.3, getauxval.3, getcontext.3, getcwd.3, getdate.3, getdirentries.3, getdtablesize.3, getenv.3, getfsent.3, getgrent.3, getgrnam.3, getgrouplist.3, gethostbyname.3, gethostid.3, getifaddrs.3, getipnodebyname.3, getline.3, getlogin.3, getmntent.3, getnetent.3, getnetent_r.3, getopt.3, getprotoent.3, getprotoent_r.3, getpw.3, getpwent.3, getpwnam.3, getrpcent_r.3, gets.3, getservent.3, getservent_r.3, getumask.3, getusershell.3, getutmp.3, getw.3, glob.3, gnu_get_libc_version.3, gsignal.3, hypot.3, if_nameindex.3, if_nametoindex.3, ilogb.3, index.3, inet.3, inet_ntop.3, inet_pton.3, infnan.3, initgroups.3, insque.3, intro.3, isalpha.3, isatty.3, j0.3, ldexp.3, localeconv.3, log.3, log10.3, log1p.3, log2.3, logb.3, lrint.3, lround.3, lsearch.3, lseek64.3, makecontext.3, makedev.3, mallinfo.3, malloc.3, malloc_get_state.3, malloc_info.3, malloc_stats.3, malloc_trim.3, malloc_usable_size.3, mallopt.3, matherr.3, mcheck.3, memccpy.3, memchr.3, memcmp.3, memcpy.3, memfrob.3, memmem.3, memmove.3, memset.3, mkdtemp.3, mkfifo.3, mkfifoat.3, mkstemp.3, mktemp.3, modf.3, mq_close.3, mq_getattr.3, mq_notify.3, mq_open.3, mq_receive.3, mq_send.3, mq_unlink.3, mtrace.3, on_exit.3, opendir.3, posix_fallocate.3, posix_memalign.3, posix_openpt.3, pow.3, pow10.3, profil.3, psignal.3, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3, pthread_attr_setstack.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_cleanup_push_defer_np.3, pthread_create.3, pthread_detach.3, pthread_equal.3, pthread_exit.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_join.3, pthread_kill.3, pthread_kill_other_threads_np.3, pthread_self.3, pthread_setaffinity_np.3, pthread_setcancelstate.3, pthread_setconcurrency.3, pthread_setname_np.3, pthread_setschedparam.3, pthread_setschedprio.3, pthread_sigmask.3, pthread_sigqueue.3, pthread_testcancel.3, pthread_tryjoin_np.3, pthread_yield.3, putenv.3, putpwent.3, puts.3, qecvt.3, qsort.3, raise.3, rand.3, random.3, random_r.3, re_comp.3, readdir.3, realpath.3, regex.3, remainder.3, remove.3, resolver.3, rewinddir.3, rint.3, round.3, scalb.3, scalbln.3, scandir.3, sched_getcpu.3, seekdir.3, sem_close.3, sem_destroy.3, sem_getvalue.3, sem_init.3, sem_open.3, sem_post.3, sem_unlink.3, sem_wait.3, setenv.3, setlocale.3, setlogmask.3, shm_open.3, siginterrupt.3, sigpause.3, sigqueue.3, sigset.3, sigsetops.3, sigvec.3, sigwait.3, sin.3, sinh.3, sleep.3, sockatmark.3, sqrt.3, statvfs.3, stdio_ext.3, stpcpy.3, strcasecmp.3, strcat.3, strchr.3, strcmp.3, strcoll.3, strcpy.3, strdup.3, strerror.3, strfry.3, strftime.3, string.3, strlen.3, strpbrk.3, strptime.3, strsep.3, strsignal.3, strspn.3, strstr.3, strtok.3, strtol.3, strtoul.3, strverscmp.3, strxfrm.3, swab.3, sysconf.3, syslog.3, system.3, sysv_signal.3, tan.3, tanh.3, tcgetpgrp.3, tcgetsid.3, telldir.3, tempnam.3, timegm.3, timeradd.3, tmpfile.3, tmpnam.3, toascii.3, toupper.3, trunc.3, tsearch.3, ttyslot.3, tzset.3, ulimit.3, undocumented.3, unlocked_stdio.3, usleep.3, y0.3, cpuid.4, full.4, initrd.4, mouse.4, msr.4, sd.4, st.4, acct.5, core.5, services.5, slabinfo.5, aio.7, capabilities.7, credentials.7, feature_test_macros.7, hier.7, inotify.7, libc.7, locale.7, man-pages.7, man.7, math_error.7, mq_overview.7, numa.7, path_resolution.7, pipe.7, pthreads.7, pty.7, rtld-audit.7, sem_overview.7, shm_overview.7, sigevent.7, signal.7, suffixes.7, svipc.7, termio.7, time.7, udplite.7, units.7, uri.7, sln.8: Global fix: Add LICENSE_START(verbatim)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:09 +01:00
Michael Kerrisk 8f0aff2a3a futex.2, netlink.3, stdin.3, wavelan.4, netlink.7: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:09 +01:00
Michael Kerrisk a6760fe64c flock.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:09 +01:00
Michael Kerrisk c08df37aae readv.2, wait.2, wait4.2, basename.3, clock.3, confstr.3, ctermid.3, dl_iterate_phdr.3, end.3, fcloseall.3, fnmatch.3, fpathconf.3, getcwd.3, getline.3, getopt.3, gets.3, getw.3, glob.3, isalpha.3, localeconv.3, malloc.3, posix_memalign.3, puts.3, raise.3, setlocale.3, sleep.3, sysconf.3, system.3, toascii.3, toupper.3, hier.7, suffixes.7: srcfix: Remove extraneous license text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:09 +01:00
Michael Kerrisk fd351c1ab2 _syscall.2, add_key.2, epoll_create.2, epoll_ctl.2, epoll_wait.2, getxattr.2, inotify_add_watch.2, inotify_init.2, inotify_rm_watch.2, keyctl.2, listxattr.2, removexattr.2, request_key.2, setxattr.2, dir_colors.5, epoll.7, mailaddr.7, uri.7: srcfix: remove blank comment line from top of source
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:08 +01:00
Michael Kerrisk 8ade7d9684 ioprio_set.2: Remove "-*- nroff -*-" comment at top of source
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:08 +01:00
Michael Kerrisk dac8367047 _exit.2, access.2, acct.2, adjtimex.2, alarm.2, alloc_hugepages.2, arch_prctl.2, bdflush.2, bind.2, brk.2, chdir.2, chmod.2, chown.2, chroot.2, clock_getres.2, clone.2, close.2, connect.2, dup.2, execve.2, faccessat.2, fchmodat.2, fchownat.2, fcntl.2, flock.2, fork.2, fstatat.2, fsync.2, futimesat.2, getdomainname.2, getgid.2, getgroups.2, gethostname.2, getpid.2, getresuid.2, getrlimit.2, getrusage.2, gettid.2, gettimeofday.2, getuid.2, idle.2, ioperm.2, iopl.2, ipc.2, kexec_load.2, kill.2, link.2, linkat.2, lookup_dcookie.2, madvise.2, migrate_pages.2, mincore.2, mkdir.2, mkdirat.2, mknod.2, mknodat.2, mlock.2, mmap.2, mmap2.2, modify_ldt.2, mount.2, move_pages.2, mq_getsetattr.2, mremap.2, msync.2, nanosleep.2, nfsservctl.2, nice.2, open.2, openat.2, outb.2, pause.2, perf_event_open.2, pipe.2, poll.2, posix_fadvise.2, prctl.2, ptrace.2, read.2, readahead.2, readlinkat.2, rename.2, renameat.2, rmdir.2, sched_get_priority_max.2, sched_rr_get_interval.2, sched_setparam.2, sched_setscheduler.2, sched_yield.2, select.2, setresuid.2, setup.2, socketcall.2, splice.2, stat.2, stime.2, swapon.2, symlink.2, symlinkat.2, sync.2, sync_file_range.2, tee.2, time.2, times.2, tkill.2, umask.2, umount.2, unimplemented.2, unlink.2, unlinkat.2, uselib.2, utime.2, utimensat.2, vhangup.2, vm86.2, vmsplice.2, wait.2, wait4.2, write.2, ether_aton.3, euidaccess.3, fexecve.3, ftime.3, futimes.3, getdirentries.3, getdtablesize.3, gethostid.3, getlogin.3, getpt.3, grantpt.3, hsearch.3, inet.3, lsearch.3, mkfifo.3, mkfifoat.3, mq_close.3, mq_getattr.3, mq_notify.3, mq_open.3, mq_receive.3, mq_send.3, mq_unlink.3, posix_openpt.3, profil.3, ptsname.3, scandirat.3, sem_close.3, sem_destroy.3, sem_getvalue.3, sem_init.3, sem_open.3, sem_post.3, sem_unlink.3, sem_wait.3, shm_open.3, stpcpy.3, termios.3, toascii.3, tsearch.3, ulimit.3, undocumented.3, unlockpt.3, pts.4, charmap.5, locale.5, services.5, feature_test_macros.7, inotify.7, mq_overview.7, pipe.7, pty.7, sem_overview.7, shm_overview.7, unicode.7, utf-8.7: Global fix: remove "Hey Emacs" comment in page source
Only certain pages have this; there is no consistency, so
remove it from all pages

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 10:57:08 +01:00
Michael Kerrisk b072a7882a Removed trailing white space at end of lines 2013-03-05 18:22:04 +01:00
Michael Kerrisk 2835e6c500 mount.2: srcfix: Update FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-05 18:01:25 +01:00
David Prévot e2b6e497a2 perfmonctl.2: wfix and tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-05 18:01:25 +01:00
David Prévot 88d429113b getunwind.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-05 18:01:25 +01:00
David Prévot 47178f00b8 read.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-05 18:01:25 +01:00
Michael Kerrisk f354abd03a msgget.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-05 18:01:25 +01:00
Michael Kerrisk 92f9c09bf4 ptrace.2: wfix
Reported-by: David Prévot <taffit@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-05 18:01:25 +01:00
David Prévot f42ce0a555 ptrace.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-05 18:01:25 +01:00
Michael Kerrisk cfd32c7ea3 getunwind.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-05 18:01:24 +01:00
D. Barbier af51ceca56 getunwind.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-05 18:01:24 +01:00
Colin Walters e0a699c1eb access.2: Note that access() may also fail for FUSE
Since in some cases (e.g. libguestfs's guestmount) it also has the
semantics where files can appear owned by root, but are actually
mutable by the user, despite what one might infer from the Unix
permissions.

Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-28 15:00:09 +01:00
Michael Kerrisk cf6ea96a98 getrlimit.2: srcfix: update FIX
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-28 15:00:09 +01:00
Michael Kerrisk e198a28d33 mbind.2: Add FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-28 15:00:08 +01:00
Cyrill Gorcunov b4bd57d56d prctl.2: Add some details for PR_GET_TID_ADDRESS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-28 15:00:08 +01:00
Michael Kerrisk a5d9ce6533 clock_getres.2: Some improvements to CLOCK_BOOTTIME description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-28 15:00:08 +01:00
Cyril Hrubis b28712e162 clock_getres.2: Document CLOCK_BOOTTIME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-25 10:16:10 +01:00
Michael Kerrisk f5546fcdc5 clock_getres.2: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-25 10:16:10 +01:00
Michael Kerrisk 1d33f7d767 clock_getres.2: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-25 10:16:10 +01:00
Cyril Hrubis 55f749ae91 clock_getres.2: Document CLOCK_REALTIME_COARSE and CLOCK_MONOTONIC_COARSE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-25 10:16:10 +01:00
Michael Kerrisk a780f17be1 mmap.2: Minor fixes to Cyril Hrubis's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-25 10:16:10 +01:00
Cyril Hrubis 2e43522f07 mmap.2: Add note about partial page in BUGS section
This adds a note about Linux behavior with partial page at the end
of the object. The problem here is that a page that contains only
part of a file (because the file size is not multiple of PAGE_SIZE)
stays in page cache even after the mapping is unmapped and the file
is closed. So if some process dirties such page, other mappings
will see the changes rather than zeroes.

I've also attached a reproducer which is a stripped down version of
the LTP test. The child creates a file of the size of PAGE_SIZE/2,
maps it, changes the content after the PAGE_SIZE/2. The parent
waits for the child to exit, maps the same file, and checks the
content after PAGE_SIZE/2.  Uncommenting the msync() makes the test
succeed.

==========

int main(void)
{
	char tmpfname[256];
	long page_size;

	void *pa;
	size_t len;
	int fd;

	pid_t child;
	char *ch;
	int exit_val;

	page_size = sysconf(_SC_PAGE_SIZE);

	len = page_size / 2;

	snprintf(tmpfname, sizeof(tmpfname), "/tmp/test");
	child = fork();
	switch (child) {
	case 0:
		/* Create shared object */
		unlink(tmpfname);
		fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL,
			  S_IRUSR | S_IWUSR);
		if (fd == -1) {
			printf("Error at open(): %s\n", strerror(errno));
			return 1;
		}
		if (ftruncate(fd, len) == -1) {
			printf("Error at ftruncate(): %s\n", strerror(errno));
			return 1;
		}

		pa = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
		if (pa == MAP_FAILED) {
			printf("Error at mmap(): %s\n", strerror(errno));
			return 1;
		}

		/* Check the partial page is ZERO filled */
		ch = pa + len + 1;
		if (*ch != 0) {
			printf("Test FAILED: "
			       "The partial page at the end of an object "
			       "is not zero-filled\n");
			return 1;
		}

		/* Write the partial page */
		*ch = 'b';
		//msync(pa, len, MS_SYNC);
		munmap(pa, len);
		close(fd);
		return 0;
	case -1:
		printf("Error at fork(): %s\n", strerror(errno));
		return 1;
	default:
	break;
	}

	wait(&exit_val);
	if (!(WIFEXITED(exit_val) && (WEXITSTATUS(exit_val) == 0))) {
		unlink(tmpfname);
		printf("Child exited abnormally\n");
		return 1;
	}

	fd = open(tmpfname, O_RDWR, 0);
	unlink(tmpfname);

	pa = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
	if (pa == MAP_FAILED) {
		printf("Error at 2nd mmap(): %s\n", strerror(errno));
		return 1;
	}

	ch = pa + len + 1;
	if (*ch == 'b') {
		printf("Test FAILED: Modification of the partial page "
		       "at the end of an object is written out\n");
		return 1;
	}
	close(fd);
	munmap(pa, len);

	printf("Test PASSED\n");
	return 0;
}

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-25 10:15:54 +01:00
Michael Kerrisk 42b437ca05 mmap.2: Minor fixes to EOVERFLOW text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-25 08:45:40 +01:00
Cyril Hrubis da3ce098dd mmap.2: Document EOVERFLOW error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-25 08:42:25 +01:00
Michael Kerrisk f04ba477c4 ptrace.2: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-25 08:32:18 +01:00
Denys Vlasenko ba8f446e0b ptrace.2: Document PTRACE_GETREGSET, PTRACE_SETREGSET, PTRACE_SEIZE, and friends
Document PTRACE_GETREGSET, PTRACE_SETREGSET,
PTRACE_SEIZE, PTRACE_INTERRUPT, and PTRACE_LISTEN.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-25 08:32:18 +01:00
Michael Kerrisk 4f58b19776 futex.2: srcfix: Updated FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-25 08:20:07 +01:00
Michael Kerrisk 0649de17bd semop.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-25 07:44:56 +01:00
Michael Kerrisk 7fc9de91dd fsync.2, getcpu.2, io_getevents.2, kcmp.2, killpg.2, outb.2, perf_event_open.2, setns.2, getaddrinfo_a.3, makedev.3, mcheck.3, perror.3, posix_memalign.3, xdr.3, cciss.4, fd.4, hpsa.4, st.4, acct.5, gai.conf.5, nss.5, proc.5, ip.7, koi8-r.7, netdevice.7, netlink.7, ld.so.8: Remove double blank lines in output
Found using this script from Denys Vlasenko (with some mods
by mtk):

    find man? -type f -name '*.[123456789]' -size +200c | sort \
    | while read name; do
            m1="`man $name | tail -n +5 | head -n-1`"
            m2="`
            printf "%s\n" "$m1" \
            | tr $'\n' '@' \
            | sed 's/@@@/@@HERE>>>>@/g' \
            | tr '@' $'\n' \
            | sed 's/^/\t/' \
            | sed 's/^\tHERE>>>>/    HERE>>>>/' \
            | grep -C2 -e $'^[^\t]' \
            | sed 's/^\t$//'
            `"
            test "$m2" || continue
            printf "%s\n%s\n" "${name#./}" "$m2"
    done

Reported-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-25 07:05:55 +01:00
Denys Vlasenko 0ee9322e58 perf_event_open.2: Remove unneeded blank lines
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-25 06:36:49 +01:00
Michael Kerrisk ad73a2ccc9 perf_event_open.2: tfix
Reported-by: David Prévot <taffit@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-25 06:24:53 +01:00
David Prévot 7ede2f66dc perf_event_open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-25 06:20:41 +01:00
Michael Kerrisk 73d8cece72 intro.1, time.1, _syscall.2, accept.2, capget.2, clone.2, execve.2, fcntl.2, intro.2, ioctl_list.2, ioprio_set.2, kill.2, mlock.2, nanosleep.2, perf_event_open.2, select.2, stat.2, times.2, ustat.2, vfork.2, wait.2, cfree.3, dbopen.3, dlopen.3, fenv.3, fmtmsg.3, gamma.3, getaddrinfo.3, gethostbyname.3, getnameinfo.3, getspnam.3, login.3, printf.3, regex.3, stdio.3, sysconf.3, termios.3, ttyslot.3, undocumented.3, wordexp.3, console_codes.4, initrd.4, mouse.4, random.4, st.4, tty_ioctl.4, wavelan.4, charmap.5, dir_colors.5, hosts.5, termcap.5, armscii-8.7, boot.7, bootparam.7, capabilities.7, charsets.7, ddp.7, futex.7, glob.7, ipv6.7, iso_8859-1.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-15.7, iso_8859-16.7, iso_8859-2.7, iso_8859-3.7, iso_8859-4.7, iso_8859-5.7, iso_8859-6.7, iso_8859-7.7, iso_8859-8.7, iso_8859-9.7, koi8-r.7, koi8-u.7, man.7, numa.7, path_resolution.7, pipe.7, posixoptions.7, pthreads.7, pty.7, rtnetlink.7, signal.7, time.7, udp.7, udplite.7, unicode.7, uri.7, utf-8.7: G;lobal fix: remove unneeded double quotes in .SS headings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-24 19:02:18 +01:00
Michael Kerrisk 47297adb6e getent.1, intro.1, time.1, _exit.2, _syscall.2, accept.2, access.2, acct.2, adjtimex.2, alarm.2, alloc_hugepages.2, arch_prctl.2, bdflush.2, bind.2, brk.2, cacheflush.2, capget.2, chdir.2, chmod.2, chown.2, chroot.2, clock_getres.2, clock_nanosleep.2, clone.2, close.2, connect.2, create_module.2, delete_module.2, dup.2, epoll_create.2, epoll_ctl.2, epoll_wait.2, eventfd.2, execve.2, exit_group.2, faccessat.2, fchmodat.2, fchownat.2, fcntl.2, flock.2, fork.2, fstatat.2, fsync.2, futex.2, futimesat.2, get_kernel_syms.2, get_robust_list.2, get_thread_area.2, getcpu.2, getdents.2, getdomainname.2, getgid.2, getgroups.2, gethostname.2, getitimer.2, getpagesize.2, getpeername.2, getpid.2, getpriority.2, getresuid.2, getrlimit.2, getrusage.2, getsid.2, getsockname.2, getsockopt.2, gettid.2, gettimeofday.2, getuid.2, getunwind.2, getxattr.2, idle.2, init_module.2, inotify_add_watch.2, inotify_init.2, inotify_rm_watch.2, intro.2, io_cancel.2, io_destroy.2, io_getevents.2, io_setup.2, io_submit.2, ioctl.2, ioctl_list.2, ioperm.2, iopl.2, ioprio_set.2, ipc.2, kcmp.2, kill.2, killpg.2, link.2, linkat.2, listen.2, listxattr.2, llseek.2, lookup_dcookie.2, lseek.2, madvise.2, migrate_pages.2, mincore.2, mkdir.2, mkdirat.2, mknod.2, mknodat.2, mlock.2, mmap.2, mmap2.2, modify_ldt.2, mount.2, move_pages.2, mprotect.2, mq_getsetattr.2, mremap.2, msgctl.2, msgget.2, msgop.2, msync.2, nanosleep.2, nfsservctl.2, nice.2, open.2, openat.2, outb.2, pause.2, pciconfig_read.2, perf_event_open.2, perfmonctl.2, personality.2, pipe.2, pivot_root.2, poll.2, posix_fadvise.2, prctl.2, pread.2, process_vm_readv.2, ptrace.2, query_module.2, quotactl.2, read.2, readahead.2, readdir.2, readlink.2, readlinkat.2, readv.2, reboot.2, recv.2, remap_file_pages.2, removexattr.2, rename.2, renameat.2, rmdir.2, rt_sigqueueinfo.2, sched_get_priority_max.2, sched_rr_get_interval.2, sched_setaffinity.2, sched_setparam.2, sched_setscheduler.2, sched_yield.2, select.2, semctl.2, semget.2, semop.2, send.2, sendfile.2, set_thread_area.2, set_tid_address.2, seteuid.2, setfsgid.2, setfsuid.2, setgid.2, setpgid.2, setresuid.2, setreuid.2, setsid.2, setuid.2, setup.2, setxattr.2, shmctl.2, shmget.2, shmop.2, shutdown.2, sigaction.2, sigaltstack.2, signal.2, signalfd.2, sigpending.2, sigprocmask.2, sigreturn.2, sigsuspend.2, sigwaitinfo.2, socket.2, socketcall.2, socketpair.2, splice.2, stat.2, statfs.2, stime.2, swapon.2, symlink.2, symlinkat.2, sync.2, sync_file_range.2, sysctl.2, sysfs.2, sysinfo.2, syslog.2, tee.2, time.2, timerfd_create.2, times.2, tkill.2, truncate.2, umask.2, umount.2, uname.2, unimplemented.2, unlink.2, unlinkat.2, uselib.2, ustat.2, utime.2, utimensat.2, vfork.2, vhangup.2, vm86.2, vmsplice.2, wait.2, wait4.2, write.2, CPU_SET.3, INFINITY.3, MB_CUR_MAX.3, MB_LEN_MAX.3, __setfpucw.3, a64l.3, abort.3, abs.3, acos.3, acosh.3, addseverity.3, adjtime.3, aio_cancel.3, aio_error.3, aio_fsync.3, aio_read.3, aio_return.3, aio_suspend.3, aio_write.3, alloca.3, argz_add.3, asin.3, asinh.3, asprintf.3, assert.3, assert_perror.3, atan.3, atan2.3, atanh.3, atexit.3, atof.3, atoi.3, backtrace.3, basename.3, bcmp.3, bcopy.3, bindresvport.3, bsd_signal.3, bsearch.3, bstring.3, btowc.3, btree.3, byteorder.3, bzero.3, cabs.3, cacos.3, cacosh.3, canonicalize_file_name.3, carg.3, casin.3, casinh.3, catan.3, catanh.3, catgets.3, catopen.3, cbrt.3, ccos.3, ccosh.3, ceil.3, cerf.3, cexp.3, cexp2.3, cfree.3, cimag.3, clearenv.3, clock.3, clock_getcpuclockid.3, clog.3, clog10.3, clog2.3, closedir.3, cmsg.3, confstr.3, conj.3, copysign.3, cos.3, cosh.3, cpow.3, cproj.3, creal.3, crypt.3, csin.3, csinh.3, csqrt.3, ctan.3, ctanh.3, ctermid.3, ctime.3, daemon.3, dbopen.3, des_crypt.3, difftime.3, dirfd.3, div.3, dl_iterate_phdr.3, dlopen.3, dprintf.3, drand48.3, drand48_r.3, dysize.3, ecvt.3, ecvt_r.3, encrypt.3, end.3, endian.3, envz_add.3, erf.3, erfc.3, err.3, errno.3, error.3, ether_aton.3, euidaccess.3, exec.3, exit.3, exp.3, exp10.3, exp2.3, expm1.3, fabs.3, fclose.3, fcloseall.3, fdim.3, fenv.3, ferror.3, fexecve.3, fflush.3, ffs.3, fgetgrent.3, fgetpwent.3, fgetwc.3, fgetws.3, finite.3, flockfile.3, floor.3, fma.3, fmax.3, fmemopen.3, fmin.3, fmod.3, fmtmsg.3, fnmatch.3, fopen.3, fpathconf.3, fpclassify.3, fpurge.3, fputwc.3, fputws.3, fread.3, frexp.3, fseek.3, fseeko.3, ftime.3, ftok.3, fts.3, ftw.3, futimes.3, fwide.3, gamma.3, gcvt.3, getaddrinfo.3, getaddrinfo_a.3, getauxval.3, getcontext.3, getcwd.3, getdate.3, getdirentries.3, getdtablesize.3, getenv.3, getfsent.3, getgrent.3, getgrent_r.3, getgrnam.3, getgrouplist.3, gethostbyname.3, gethostid.3, getipnodebyname.3, getline.3, getloadavg.3, getlogin.3, getmntent.3, getnameinfo.3, getnetent.3, getnetent_r.3, getopt.3, getpass.3, getprotoent.3, getprotoent_r.3, getpt.3, getpw.3, getpwent.3, getpwent_r.3, getpwnam.3, getrpcent.3, getrpcent_r.3, getrpcport.3, gets.3, getservent.3, getservent_r.3, getspnam.3, getttyent.3, getumask.3, getusershell.3, getutent.3, getw.3, getwchar.3, glob.3, grantpt.3, gsignal.3, hash.3, hsearch.3, hypot.3, iconv.3, iconv_close.3, iconv_open.3, ilogb.3, index.3, inet.3, inet_ntop.3, inet_pton.3, infnan.3, initgroups.3, insque.3, intro.3, isalpha.3, isatty.3, isgreater.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, j0.3, key_setsecret.3, ldexp.3, lgamma.3, lio_listio.3, localeconv.3, lockf.3, log.3, log10.3, log1p.3, log2.3, logb.3, login.3, longjmp.3, lrint.3, lround.3, lsearch.3, lseek64.3, makecontext.3, makedev.3, malloc.3, malloc_hook.3, mblen.3, mbrlen.3, mbrtowc.3, mbsinit.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, memccpy.3, memchr.3, memcmp.3, memcpy.3, memfrob.3, memmem.3, memmove.3, mempcpy.3, memset.3, mkdtemp.3, mkfifo.3, mkfifoat.3, mkstemp.3, mktemp.3, modf.3, mpool.3, mq_close.3, mq_getattr.3, mq_notify.3, mq_open.3, mq_receive.3, mq_send.3, mq_unlink.3, mtrace.3, nan.3, netlink.3, nextafter.3, nl_langinfo.3, offsetof.3, on_exit.3, opendir.3, openpty.3, perror.3, popen.3, posix_fallocate.3, posix_memalign.3, posix_openpt.3, pow.3, pow10.3, printf.3, profil.3, program_invocation_name.3, psignal.3, pthread_kill_other_threads_np.3, ptsname.3, putenv.3, putgrent.3, putpwent.3, puts.3, putwchar.3, qecvt.3, qsort.3, queue.3, raise.3, rand.3, random.3, random_r.3, rcmd.3, re_comp.3, readdir.3, realpath.3, recno.3, regex.3, remainder.3, remove.3, remquo.3, resolver.3, rewinddir.3, rexec.3, rint.3, round.3, rpc.3, rpmatch.3, rtime.3, rtnetlink.3, scalb.3, scalbln.3, scandir.3, scandirat.3, scanf.3, seekdir.3, sem_close.3, sem_destroy.3, sem_getvalue.3, sem_init.3, sem_open.3, sem_post.3, sem_unlink.3, sem_wait.3, setaliasent.3, setbuf.3, setenv.3, setjmp.3, setlocale.3, setlogmask.3, setnetgrent.3, shm_open.3, siginterrupt.3, signbit.3, significand.3, sigpause.3, sigqueue.3, sigset.3, sigsetops.3, sigvec.3, sin.3, sincos.3, sinh.3, sleep.3, sockatmark.3, sqrt.3, statvfs.3, stdarg.3, stdin.3, stdio.3, stdio_ext.3, stpcpy.3, stpncpy.3, strcasecmp.3, strcat.3, strchr.3, strcmp.3, strcoll.3, strcpy.3, strdup.3, strerror.3, strfmon.3, strfry.3, strftime.3, string.3, strlen.3, strnlen.3, strpbrk.3, strptime.3, strsep.3, strsignal.3, strspn.3, strstr.3, strtod.3, strtoimax.3, strtok.3, strtol.3, strtoul.3, strverscmp.3, strxfrm.3, swab.3, sysconf.3, syslog.3, system.3, sysv_signal.3, tan.3, tanh.3, tcgetpgrp.3, tcgetsid.3, telldir.3, tempnam.3, termios.3, tgamma.3, timegm.3, timeradd.3, tmpfile.3, tmpnam.3, toascii.3, toupper.3, towctrans.3, towlower.3, towupper.3, trunc.3, tsearch.3, ttyname.3, ttyslot.3, tzset.3, ualarm.3, ulimit.3, ungetwc.3, unlocked_stdio.3, unlockpt.3, updwtmp.3, usleep.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, wcstoimax.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, wordexp.3, wprintf.3, xcrypt.3, xdr.3, y0.3, cciss.4, console.4, console_codes.4, console_ioctl.4, dsp56k.4, fd.4, full.4, hd.4, hpsa.4, initrd.4, intro.4, lp.4, mem.4, mouse.4, null.4, pts.4, ram.4, random.4, rtc.4, sk98lin.4, st.4, tty.4, ttyS.4, tty_ioctl.4, vcs.4, wavelan.4, acct.5, charmap.5, dir_colors.5, filesystems.5, ftpusers.5, group.5, host.conf.5, hosts.5, hosts.equiv.5, intro.5, issue.5, locale.5, motd.5, networks.5, nologin.5, nscd.conf.5, passwd.5, proc.5, protocols.5, resolv.conf.5, rpc.5, securetty.5, services.5, shells.5, termcap.5, ttytype.5, utmp.5, armscii-8.7, arp.7, ascii.7, bootparam.7, capabilities.7, charsets.7, complex.7, cp1251.7, credentials.7, ddp.7, environ.7, epoll.7, fifo.7, futex.7, glob.7, hier.7, icmp.7, inotify.7, intro.7, ip.7, ipv6.7, iso_8859-1.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-15.7, iso_8859-16.7, iso_8859-2.7, iso_8859-3.7, iso_8859-4.7, iso_8859-5.7, iso_8859-6.7, iso_8859-7.7, iso_8859-8.7, iso_8859-9.7, koi8-r.7, koi8-u.7, locale.7, mailaddr.7, man.7, mq_overview.7, netdevice.7, netlink.7, numa.7, packet.7, path_resolution.7, pipe.7, posixoptions.7, pthreads.7, pty.7, raw.7, regex.7, rtld-audit.7, rtnetlink.7, sem_overview.7, shm_overview.7, sigevent.7, signal.7, socket.7, standards.7, suffixes.7, svipc.7, tcp.7, termio.7, time.7, udp.7, udplite.7, unicode.7, unix.7, uri.7, utf-8.7, x25.7, nscd.8, sync.8, tzselect.8, zdump.8, zic.8: Global fix: remove unneeded double quotes in .SH headings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-24 19:01:36 +01:00
Michael Kerrisk 9d8d2b61d8 tkill.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-24 15:27:06 +01:00
Michael Kerrisk 12eb3e64f8 perf_event_open.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-24 15:26:04 +01:00
Michael Kerrisk 51ebe08047 setns.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-24 15:25:01 +01:00
Michael Kerrisk dd030feb10 mount.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-24 15:23:47 +01:00
Michael Kerrisk c634028ab5 intro.1, time.1, _syscall.2, accept.2, brk.2, capget.2, faccessat.2, futimesat.2, gethostname.2, intro.2, ioprio_set.2, kill.2, madvise.2, mlock.2, mount.2, msgget.2, perf_event_open.2, poll.2, readv.2, sched_rr_get_interval.2, sched_setscheduler.2, select.2, select_tut.2, shmget.2, stat.2, timer_create.2, ustat.2, vfork.2, wait.2, alloca.3, atexit.3, catopen.3, crypt.3, dbopen.3, fenv.3, fopen.3, getaddrinfo_a.3, gethostbyname.3, getutent.3, intro.3, login.3, mallopt.3, queue.3, regex.3, sigpause.3, sigsetops.3, stdio.3, strftime.3, strptime.3, sysconf.3, ttyslot.3, undocumented.3, cciss.4, console_codes.4, hpsa.4, initrd.4, intro.4, rtc.4, st.4, tty_ioctl.4, wavelan.4, acct.5, charmap.5, dir_colors.5, hosts.5, intro.5, termcap.5, utmp.5, intro.6, armscii-8.7, boot.7, bootparam.7, capabilities.7, cpuset.7, credentials.7, ddp.7, epoll.7, glob.7, intro.7, ip.7, ipv6.7, iso_8859-1.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-15.7, iso_8859-16.7, iso_8859-2.7, iso_8859-3.7, iso_8859-4.7, iso_8859-5.7, iso_8859-6.7, iso_8859-7.7, iso_8859-8.7, iso_8859-9.7, koi8-r.7, koi8-u.7, man-pages.7, man.7, math_error.7, netlink.7, numa.7, packet.7, path_resolution.7, pipe.7, pthreads.7, raw.7, rtnetlink.7, signal.7, socket.7, spufs.7, svipc.7, tcp.7, time.7, udp.7, udplite.7, unicode.7, unix.7, uri.7, utf-8.7, x25.7, intro.8: Global fix: use consistent capitalization in .SS headings
Capitalization in .SS sections across pages (and sometimes even
within a single page) is wildly inconsistent. Make it consistent.
Capitalize first word in heading, but otherwise use lower case,
except where English usage (e.g., proper nouns) or programming
language requirements (e.g., identifier names) dictate otherwise.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-24 15:08:38 +01:00
Denys Vlasenko 40d0af61c4 ptrace.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-18 18:57:12 +01:00
Michael Kerrisk 6a86fae5bd sched_setscheduler.2, mallinfo.3, pthread_setname_np.3, nss.5, boot.7, numa.7, udplite.7: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-18 18:50:48 +01:00
Michael Kerrisk 6b4dbb25e9 delete_module.2, epoll_create.2, getpeername.2, getpriority.2, getrlimit.2, getunwind.2, init_module.2, kcmp.2, mmap.2, perf_event_open.2, perfmonctl.2, prctl.2, s390_runtime_instr.2, timerfd_create.2, vfork.2, getaddrinfo_a.3, getenv.3, if_nameindex.3, if_nametoindex.3, mcheck.3, pthread_setname_np.3, scanf.3, cciss.4, hpsa.4, core.5, gai.conf.5, networks.5, nscd.conf.5, nss.5, aio.7, arp.7, numa.7, socket.7, udplite.7: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-18 18:45:32 +01:00
Michael Kerrisk 191a77d46e accept.2: NAME: Add "accept4"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-18 12:58:37 +01:00
Michael Kerrisk 0e40804cd8 open.2: Clarify list of file creation flags
POSIX.1-2008 TC1 clarified this, so that O_CLOEXEC,
O_DIRECTORY, and O_NOFOLLOW are also in this list.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-18 09:10:08 +01:00
Michael Kerrisk 1bb72c9605 open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-18 09:10:07 +01:00
Michael Kerrisk bce0482fee open.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-18 15:18:52 +01:00
Michael Kerrisk 7c81ac9ced read.2: Remove crufty text about O_NONBLOCK on files
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700529

Reported-by: Marc Lehmann <debian-reportbug@plan9.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-14 02:13:20 +01:00
Michael Kerrisk ad46346175 perfmonctl.2: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:38 +01:00
Michael Kerrisk f2b29ffec5 perfmonctl.2: Briefly document PFM_GET_FEATURES, PFM_DEBUG, PFM_GET_PMC_RESET_VAL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:38 +01:00
Michael Kerrisk 88a657084c perfmonctl.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:38 +01:00
Michael Kerrisk 3dfb8d01cd perfmonctl.2: Minor reorganization
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:38 +01:00
Michael Kerrisk 0609db2aa2 perfmonctl.2: Rework discussion of PFM_CREATE_CONTEXT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:38 +01:00
Michael Kerrisk f25e7c8ecc perfmonctl.2: Fix argument types for PFM_WRITE_PMCS, PFM_WRITE_PMDS, PFM_READ_PMDS
The types that were being used don't exist!

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:32 +01:00
Michael Kerrisk 65d669f4b0 perfmonctl.2: Minor rewording in RETURN VALUE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:30 +01:00
Michael Kerrisk 439335f701 perfmonctl.2: Note that there is no glibc wrapper
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:30 +01:00
Michael Kerrisk 39e10583d8 perfmonctl.2: Add VERSIONS and CONFORMING TO
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:30 +01:00
Michael Kerrisk 06a2b63182 perfmonctl.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:30 +01:00
Michael Kerrisk 734fd1f2ab perfmonctl.2: Remove PFM_CREATE_EVTSETS, PFM_DELETE_EVTSETS, PFM_GETINFO_EVTSETS
These don't exist, and it appears they never have.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:30 +01:00
Michael Kerrisk 3c7e310c16 perfmonctl.2: Various minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:30 +01:00
Ivana Varekova 55b9301b8f perfmonctl.2: New page documenting IA-64-specific perfmonctl(2)
Taken from Red Hat downstream man pages

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:30 +01:00
Michael Kerrisk fe828902eb getunwind.2: Much rewriting
Some text taken from arch/ia64/kernel/unwind.c.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:29 +01:00
Marcela Maslanova 4288c61864 getunwind.2: New page documenting getunwind(2)
Taken from Red Hat downstream man pages set

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:13 +01:00
Michael Kerrisk 5ab77f3dab read.2: Clarify interaction of count==0 and error checking
POSIX deliberately leaves this case open, so the man
page should be less specific about what happens.

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

Reported-by: Zack Weinberg <zackw@panix.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 22:50:51 +01:00
Michael Kerrisk dc0e450b3e read.2: Clarify details for seekable files
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 22:25:08 +01:00
Michael Kerrisk 45e97e2ac5 mmap.2: Some 'flags' values require a feature test macro to be defined
Add text to NOTES noting that some MAP_* constants are
defined only if a suitable feature test macro is defined.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542601

Reported-by: Török Edwin <edwintorok@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 21:38:36 +01:00
Michael Kerrisk 0c56d91757 getpeername.2: Clarify semantics of getpeername() for datagram sockets
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674034

Reported-by: Kai Kunschke <kai@kunfoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 21:26:38 +01:00
Michael Kerrisk c2da6a279c fattach.2, fdetach.2, getmsg.2, isastream.2, putmsg.2: New link to unimplement.2
Taken from Red Hat downstream.

See https://bugzilla.redhat.com/show_bug.cgi?id=436407

Reported-by: Peter Schiffer <pschiffe@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 20:47:25 +01:00
Michael Kerrisk 6c900d05b4 unimplemented.2: Add varior STREAMS interfaces to NAME
Taken from Red Hat downstream.

See https://bugzilla.redhat.com/show_bug.cgi?id=436407

Reported-by: Peter Schiffer <pschiffe@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 20:44:53 +01:00
Michael Kerrisk 7484d5a7dd getrlimit.2, setgid.2, timerfd_create.2, wait.2, getenv.3, if_nameindex.3, scanf.3, aio.7, numa.7, rtld-audit.7, udplite.7: Fix order of SH sections
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 11:49:39 +01:00
Michael Kerrisk 887cbce127 getuid.2: Remove duplicate section heading
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 11:31:05 +01:00
Michael Kerrisk 77b283186c gettimeofday.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 11:19:00 +01:00
Michael Kerrisk 9c13072a0b clone.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 11:18:34 +01:00
Michael Kerrisk 36127c0e91 Removed trailing white space at end of lines 2013-02-12 04:52:43 +01:00
Michael Kerrisk 96d1766a79 fork.2, getpriority.2, ioprio_set.2, sched_setparam.2, sched_setscheduler.2, shmop.2, sigaction.2, unimplemented.2, makecontext.3, sysconf.3, resolv.conf.5, cpuset.7, ip.7, svipc.7, termio.7, zdump.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 03:51:12 +01:00
Michael Kerrisk 1b9467416d fallocate.2: SEE ALSO: add fallocate(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 00:46:49 +01:00
Michael Kerrisk 06885b96a8 sched_setaffinity.2: SEE ALSO: add taskset
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 00:38:14 +01:00
Michael Kerrisk f9c94e467b sched_setscheduler.2: SEE ALSO: add chrt(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 00:37:09 +01:00
Michael Kerrisk 4426468ba3 setsid.2: SEE ALSO: add setsid(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 00:14:55 +01:00
Michael Kerrisk 94315587a4 getrlimit.2: SEE ALSO: add prlimit(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 00:14:55 +01:00
Michael Kerrisk 77a5d96649 ioprio_set.2: SEE ALSO: add ionice(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-11 23:54:51 +01:00
Michael Kerrisk 278742f7e6 flock.2: SEE ALSO: add flock(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-11 23:54:12 +01:00
Michael Kerrisk 5618d6329a request_key.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-11 22:44:29 +01:00
Michael Kerrisk 19626e2aa8 keyctl.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-11 22:44:14 +01:00
Michael Kerrisk 7ee431656b add_key.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-11 22:42:26 +01:00
Michael Kerrisk 89b5016d87 shmop.2: ERRORS: Add EIDRM
Taken from Red Hat downstream patch

Reported-by: Peter Schiffer <pschiffe@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-10 04:34:36 +01:00
Michael Kerrisk 249b6a9646 unimplemented.2: Remove mention of kernel version number in DESCRIPTION
Reported-by: Peter Schiffer <pschiffe@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-10 00:16:03 +01:00
Michael Kerrisk 1ce7088e7d syscalls.2: The list on this page is not just syscalls common to all platforms
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-09 19:34:10 +01:00
Michael Kerrisk 7ddff6a42a syscalls.2: Add perfctr(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-09 19:31:23 +01:00
Michael Kerrisk c071b8e0fc syscalls.2: Add ppc_rtas(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-09 19:05:27 +01:00
Michael Kerrisk 823c799b69 syscalls.2: Add kernel version number of utrap_install(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-09 17:39:23 +01:00
Michael Kerrisk 3659da5b70 signal.2: Clarify System V vs BSD semantics for signal()
Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-09 03:35:29 +01:00
Michael Kerrisk 73d3ac53ef prctl.2: Document PR_SET_CHILD_SUBREAPER and PR_GET_CHILD_SUBREAPER
Reported-by: Shawn Landden <shawnlandden@gmail.com>
Reviewed-by: Lennart Poettering <lennart@poettering.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-08 21:08:00 +01:00
Michael Kerrisk a44dc57173 fork.2: SEE ALSO: add exit(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-08 11:29:57 +01:00
Michael Kerrisk 6f620318da prctl.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-08 10:43:03 +01:00
Michael Kerrisk 7521bf1b61 prctl.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-08 01:26:17 +01:00
Simon Paillard d60d636840 chown.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-08 01:26:17 +01:00
Michael Kerrisk a26ec1365a prctl.2: tfix
Reported-by: Shawn Landden <shawnlandden@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-08 01:26:17 +01:00
Michael Kerrisk d5eb8bed65 query_module.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-08 01:26:17 +01:00
Michael Kerrisk 8d5c0a3dac migrate_pages.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-08 01:26:17 +01:00
Michael Kerrisk b57b23a573 kill.2: wfix: s/did/did not/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-08 01:26:17 +01:00
Michael Kerrisk ceee84ba48 getrlimit.2: srcfix: add a comment with more info re 2.6.12 RLIM_RTPRIO bug
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-08 01:26:16 +01:00
Michael Kerrisk c4b7c8da59 tkill.2: srcfix: Add FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-08 01:26:16 +01:00
Michael Kerrisk fb87284504 sigaction.2, makecontext.3: Change getcontext/setcontext page ref to Section 3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-08 01:26:09 +01:00
Michael Kerrisk f0e3705bf8 getcontext.2: Make link to page moved into Section 3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-04 22:53:49 +01:00
Michael Kerrisk 5283aee633 setcontext.2: Modify link to point to Section 3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-04 22:53:20 +01:00
Michael Kerrisk 424d3dce3a getcontext.3: This page really belongs in Section 3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-04 22:52:46 +01:00
Michael Kerrisk 6e6eb632d1 getdtablesize.2: Link to renamed getdtablesize.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-04 22:47:42 +01:00
Michael Kerrisk 7b6d47ff73 getdtablesize.3: Move from Section 2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-04 22:46:06 +01:00
D. Barbier af5988de70 prctl.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-04 22:26:34 +01:00
Michael Kerrisk c8ceb0ca8e iopl.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-04 21:47:48 +01:00
David Prévot c2b54496e3 ptrace.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-04 05:29:50 +01:00
Michael Kerrisk 7db515ef59 perf_event_open.2: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-03 23:04:09 +01:00
Michael Kerrisk f2b1d7209e perf_event_open.2: New page documenting perf_event_open(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-03 22:59:04 +01:00
Michael Kerrisk b61f1ef910 sched_setparam.2: Scheduling policy and parameters are per-thread on Linux
Direct the reader to the discussion in sched_setscheduler(2).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-03 22:59:04 +01:00
Michael Kerrisk d59995118d sched_setscheduler.2: Scheduling policy and parameters are per-thread on Linux
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-03 22:59:04 +01:00
Michael Kerrisk 76006a4ae0 gettid.2: SEE ALSO: add various system calls that use thread IDs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-03 22:59:04 +01:00
Michael Kerrisk 2493644834 getpriority.2: BUGS: note that nice value is per-thread on Linux
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-03 05:36:26 +01:00
David Prévot 01eab330d0 init_module.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-31 00:55:29 +01:00
David Prévot bba1fa2067 init_module.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-31 00:54:11 +01:00
Simon Paillard 1afb428346 idle.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-30 07:58:09 +01:00
Michael Kerrisk 531b15bc08 eventfd.2: Minor fix: remove repeated mention of epoll
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-28 12:53:13 +01:00
Michael Kerrisk 9f1b972601 Removed trailing white space at end of lines 2013-01-27 21:28:25 +01:00
Michael Kerrisk 3fc441b2b9 fallocate.2, kcmp.2, link.2, listxattr.2, mkdir.2, mknod.2, open.2, ptrace.2, query_module.2, rename.2, symlink.2, write.2, mkfifo.3, core.5: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-27 21:27:57 +01:00
Michael Kerrisk b09d24d2d1 syscalls.2: Add utrap_install(2)
Sparc-specific, present since ancient times

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:22 +01:00
Michael Kerrisk 29cb9035ba syscalls.2: Add kern_features(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:20 +01:00
Michael Kerrisk c77551477b query_module.2: Must be called using syscall(2)
Yes, the call is way obsolete, but add this info
for completeness.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:11 +01:00
Michael Kerrisk b89e39efa9 ptrace.2: Document PTRACE_O_EXITKILL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:09 +01:00
Michael Kerrisk cc7d99c843 ptrace.2: Place PTRACE_SETOPTIONS list in alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:09 +01:00
Michael Kerrisk decaf596cd mprotect.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:09 +01:00
Michael Kerrisk a383b70f65 sigaction.2: Note feature test macro requirements for 'siginfo_t'
See https://bugzilla.kernel.org/show_bug.cgi?id=52931

Reported-by: Zsbán Ambrus <ambrus@math.bme.hu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:09 +01:00
Michael Kerrisk 9088203ed3 syslog.2: srcfix: remove stray ".fi" mark-up
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-25 21:45:00 +01:00
Michael Kerrisk 92d67001c3 getxattr.2, listxattr.2, removexattr.2, setxattr.2: Put errors under ERRORS secton
The errno values on these pages were listed in a nonstandard
way under the RETURN VALUE section. Put them in ERRORS sections.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-19 00:15:51 +01:00
Michael Kerrisk 2507f0aa9c listxattr.2: Fix RETURN VALUE description
On success, 0 may be returned, so change wording from
"positive number" to "nonnegative number".

Reported-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-18 23:57:04 +01:00
Michael Kerrisk 2965fbf165 getxattr.2, removexattr.2, setxattr.2: Note that ENOATTR is a synonym for ENODATA
Various people have pointed out that strace(1) shows ENODATA
for the case where the named attribute does not exist, or
the process has no access to this attribute. ENODATA
and ENOATTR are in fact defined as synonyms. Point this out
in the man page, so that people understand the strace(1) info.

See https://bugzilla.kernel.org/show_bug.cgi?id=51871

Reported-by: Andrew Perepechko <andrew_perepechko@xyratex.com>
Reported-by: <starlight.2013q1@binnacle.cx>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-18 23:29:28 +01:00
Michael Kerrisk 208088b5be syscalls.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-17 22:08:24 +01:00
Michael Kerrisk bae854080e prctl.2: Document PR_GET_TID_ADDRESS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-13 10:08:15 +01:00
Shawn Landden 6f86bef669 prctl.2: Document EINVAL error for PR_SET_PTRACER
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-11 11:28:18 +01:00
Michael Kerrisk ff03be9a0d prctl.2: srcfix: Add commit IDs for PR_SET_PTRACER
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-11 00:33:13 +01:00
Michael Kerrisk 9f4cec5224 prctl.2: Make it explicit that PR_SET_PTRACER replaces previous setting
The attribute is a scalar, not a list.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-11 00:31:53 +01:00
Michael Kerrisk 2c7d476b6c prctl.2: Minor wording fixes to Kees Cook's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-11 00:31:53 +01:00
Kees Cook 491b2e75a3 prctl.2: Document PR_SET_PTRACER
Document the Yama LSM's prctl handler that allows processes to
declare ptrace restriction exception relationships via
PR_SET_PTRACER.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-11 00:31:53 +01:00
Michael Kerrisk 7f26805b7e fallocate.2: FALLOC_FL_* flags are defined in glibc only since 2.18
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-10 23:39:00 +01:00
Michael Kerrisk 1428ae81ce init_module.2: ERRORS: Add errors for module signatures (EBADMSG, ENOKEY)
Reviewed-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-10 01:57:43 +01:00
Rusty Russell 98a683a785 init_module.2: Document finit_module() 'flags' argument
Document MODULE_INIT_IGNORE_MODVERSIONS and
MODULE_INIT_IGNORE_VERMAGIC. (Some edits by mtk.)

Reviewed-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-10 01:57:28 +01:00
Michael Kerrisk 2038a83d74 init_module.2: Document finit_module(2)
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-10 01:57:27 +01:00
Michael Kerrisk c534c7b5b8 syscalls.2: Add finit_module(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-10 01:57:27 +01:00
Michael Kerrisk 83ddab9a67 init_module.2: New link to init_module.2 2013-01-10 01:56:39 +01:00
Michael Kerrisk 98e5b3b305 signalfd.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-09 05:02:12 +01:00
Michael Kerrisk 19911fa541 clone.2: CLONE_NEWIPC governs mechanisms that don't have filesystem pathnames
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-06 20:27:22 +01:00
Michael Kerrisk 009a049e23 clone.2: Some reworking of CLONE_NEWIPC text
No substantial content changes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-06 20:27:05 +01:00
Michael Kerrisk a1ce9159e7 setns.2: Minor changes to example program discussion
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-03 03:43:38 +01:00
Michael Kerrisk 07d4e6ea95 clone.2: Minor fix to example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-02 23:14:09 +01:00
Michael Kerrisk c0ce4807c1 setns.2: Minor fix: rename example program binary
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-02 08:11:47 +01:00
Michael Kerrisk ffec080046 clone.2: CLONE_NEWIPC doesn't mount the POSIX MQ file system
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-02 03:55:10 +01:00
Michael Kerrisk 1a95a1be74 clone.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 23:43:16 +01:00
Michael Kerrisk 78449461a2 unshare.2: Reorder CLONE_NEWUTS entry in list
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 11:06:23 +01:00
Michael Kerrisk 1603d6a1a1 clone.2: Add kernel versions for various CLONE_* constants
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 07:35:31 +01:00
Michael Kerrisk 1b6acf5708 clone.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 07:29:41 +01:00
Michael Kerrisk 8d41e6071a setns.2: Add example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>

Conflicts:
	man2/setns.2
2013-01-01 03:53:40 +01:00
Michael Kerrisk 8c7b566cec clone.2: Add an example program (CLONE_NEWUTS)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 03:03:43 +01:00
Michael Kerrisk 6f2b4a6555 unshare.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 01:29:12 +01:00
Michael Kerrisk f7b8bdbe44 unshare.2: Fix text problems in description of CLONE_FS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 01:28:28 +01:00
Michael Kerrisk 3c4e652d75 unshare.2: Update NOTES on unimplemented flags
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 01:25:22 +01:00
Michael Kerrisk 2901522578 unshare.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 01:21:12 +01:00
Michael Kerrisk 8403481fcd clone.2: SEE ALSO: add setns(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 01:09:24 +01:00
Michael Kerrisk 47b0eb1e5e unshare.2: SEE ALSO: add setns(2) 2013-01-01 01:08:39 +01:00
Michael Kerrisk 1285ff3d2d lseek.2, read.2, setsid.2, vhangup.2, getttyent.3, login.3, openpty.3, console_codes.4, console_ioctl.4, securetty.5, signal.7: Global fix: s/tty/terminal/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:54:44 +01:00
Michael Kerrisk 3fd39c7a12 outb.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:14:15 +01:00
Michael Kerrisk dc43bf71f7 outb.2: Add SYNOPSIS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:14:03 +01:00
Michael Kerrisk 1330fa2959 idle.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:00:03 +01:00
David Prévot 431dcaebd1 sysctl.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-23 20:03:04 +01:00
Elie De Brauwer bbb9456ec4 recvmmsg.2: Add/correct kernel version info for recvmmsg() and MSG_WAITFORNONE
This patch isolates the since/version related fixes as requested.
This change introduces the following delta:
 * The page states it was added in 2.6.32 but it is only added
    2.6.33 (ref: http://kernelnewbies.org/Linux_2_6_33)
 * The MSG_WAITFORONE flag was in turn only added in 2.6.34
   (ref: http://kernelnewbies.org/Linux_2_6_34)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-23 18:47:05 +01:00
Michael Kerrisk 97927abec0 sendmmsg.2: Minor fix to example program: s/main()/main(void)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 22:39:23 +01:00
Michael Kerrisk 6d2f6aff6d recvmmsg.2: srcfix: Note kernel commit that added syscall
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 22:39:20 +01:00
Michael Kerrisk 2c208a7a60 recvmmsg.2: Minor fixes to Elie de Brauwer's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 22:39:20 +01:00
Elie De Brauwer f2246260a9 recvmmsg.2: Add an example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 19:54:30 +01:00
Michael Kerrisk e3b419fae8 symlink.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 18:59:11 +01:00
Mark Hills a1f016851a link.2, mkdir.2, mknod.2, open.2, rename.2, symlink.2, write.2, mkfifo.3: Document EDQUOT error
The return error EDQUOT is not documented in open(2), write(2),
symlink(2) etc..

Whether inodes or disk blocks are required for each function
is something I based on received wisdom and BSD documentation,
rather than tracing the code to the kernel. For symlink(2)
this certainly depends on the file system type.

This patch was previously sent to the linux-man mailing list
as an RFC in September 2010.

Signed-off-by: Mark Hills <mark@pogo.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 18:56:59 +01:00
Michael Kerrisk 19a98048b7 unshare.2: SEE ALSO: add kcmp(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 08:05:16 +01:00
Michael Kerrisk 6f8746e45c clone.2: SEE ALSO: add kcmp(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 08:05:15 +01:00
Michael Kerrisk 98ef180325 kcmp.2: Add copyright and license
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 08:05:15 +01:00
Michael Kerrisk b73f9ed61d kcmp.2: Substantial reworking/extension of Cyrill Gorcunov's page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 08:05:15 +01:00
Cyrill Gorcunov aab0b384fd kcmp.2: New page for kcmp(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 08:05:15 +01:00
Michael Kerrisk f33d383dd0 sysctl.2: ERRORS: EACCES as a synonym for EPRM
See https://bugzilla.kernel.org/show_bug.cgi?id=46731
and http://thread.gmane.org/gmane.linux.ltp/11413/focus=957635
	From: Garrett Cooper <yanegomi <at> gmail.com>
	Subject: Re: [LTP] [PATCH] sysctl03: sysctl returns EACCES after 2.6.33-rc1
	Newsgroups: gmane.linux.kernel, gmane.linux.ltp
	Date: 2010-03-04 18:35:33 GMT

Reported-by: Garrett Cooper <yanegomi@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 02:40:06 +01:00
Michael Kerrisk ecbb4bb73c syscalls.2: Add finit_module(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 18:29:34 +01:00
Michael Kerrisk e6d86b417f Removed trailing white space at end of lines 2012-12-20 18:17:09 +01:00
Michael Kerrisk cd56c2fce6 wait.2, ttyname.3, undocumented.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 18:12:45 +01:00
Michael Kerrisk 28474c20d9 sysctl.2: Mention CONFIG_SYSCTL_SYSCALL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 17:37:50 +01:00
Michael Kerrisk bef43fac15 sysctl.2: Calls to sysctl() log warnings to the kernel log since 2.6.24
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 17:33:05 +01:00
Michael Kerrisk a25601b48b recv.2: UNIX domain sockets support MSG_TRUNC since 3.4
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 17:04:43 +01:00
Michael Kerrisk 929f1ff7f7 syscalls.2: Update various references to "i386" to "x86"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-18 22:05:57 +01:00
Michael Kerrisk ccc0a19554 fallocate.2: srcfix: Affed FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-18 20:33:26 +01:00
Michael Kerrisk 2908f2b4aa s390_runtime_instr.2: Minor fixes fo Jan's page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-17 22:01:43 +01:00
Jan Glauber 820630e109 s390_runtime_instr.2: New page for s390-specific s390_runtime_instr(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-17 22:01:34 +01:00
Michael Kerrisk 993d1ce33e syscalls.2: Add s390_runtime_instr(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-17 20:15:06 +01:00
Michael Kerrisk 821e74fad4 sendmmsg.2: Minor fix-ups for Elie De Brauwer's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-17 20:15:01 +01:00
Elie De Brauwer daf3eb0c70 sendmmsg.2: Add example program for sendmmsg()
The example uses sendmmsg() to send out a string "onetwo"
on a first datagram, where both halves originate from
distinct buffers and a second datagram contains "three",
coming from a single buffer.

Tested with netcat listening:
root@ubuntu:~# nc -l -u -p 1234
onetwothree

And tcpdump peeking:
root@ubuntu:~# tcpdump -c 2 -s 0 -X -ni lo tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes
18:45:16.632134 IP 127.0.0.1.34715 > 127.0.0.1.1234: UDP, length 6
     0x0000:  4500 0022 c21c 4000 4011 7aac 7f00 0001  E.."..@.@.z.....
     0x0010:  7f00 0001 879b 04d2 000e fe21 6f6e 6574  ...........!onet
     0x0020:  776f                                     wo
18:45:16.633267 IP 127.0.0.1.34715 > 127.0.0.1.1234: UDP, length 5
     0x0000:  4500 0021 c21d 4000 4011 7aac 7f00 0001  E..!..@.@.z.....
     0x0010:  7f00 0001 879b 04d2 000d fe20 7468 7265  ............thre
     0x0020:  65                                       e
2 packets captured
4 packets received by filter
0 packets dropped by kernel

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-15 19:18:26 +01:00
Michael Kerrisk f26fe082b4 unshare.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-05 17:21:14 +01:00
Michael Kerrisk f70f94e84d gettimeofday.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-04 12:41:30 +01:00
Michael Kerrisk 89f54905a0 clone.2: Since 2.6.30, CLONE_NEWIPC also supports POSIX message queues
See kernel commit 7eafd7c74c3f2e67c27621b987b28397110d643f

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-30 11:02:49 +01:00
Michael Kerrisk f766e43c28 syslog.2: Add mention of CONFIG_LOG_BUF_SHIFT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-29 15:51:22 +01:00
Michael Kerrisk 0adbf43a03 syslog.2: Clarify SYSLOG_ACTION_SIZE_UNREAD semantics
SYSLOG_ACTION_SIZE_UNREAD returns the number of bytes
available for reading via SYSLOG_ACTION_READ.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-29 15:51:22 +01:00
Michael Kerrisk 7fc3d0580b syslog.2: Clarify semantics of SYSLOG_ACTION_CLEAR
The SYSLOG_ACTION_CLEAR command (5) does not really clear
the ring buffer; rather it affects the semantics of what
is returned by commands 3 (SYSLOG_ACTION_READ_ALL) and
4 (SYSLOG_ACTION_READ_CLEAR).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-29 15:51:22 +01:00
Michael Kerrisk 70a259dcd5 syslog.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-28 14:42:27 +01:00
Michael Kerrisk 55ed5fceec syslog.2: Clarify where SYSLOG_ACTION_READ_ALL places data it reads
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-28 14:42:27 +01:00
Michael Kerrisk 1850e19a35 syslog.2: Substantially reorganize discussion of commands
Make the layout if the discussion of the commands
more readable.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-28 14:42:27 +01:00
Michael Kerrisk 9f924d1702 syslog.2: Clarify discussion of privileges for commands 3 and 10
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-28 12:04:14 +01:00
Michael Kerrisk e4a952a1a9 syslog.2: Add kernel symbolic 'type' names
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-28 11:53:10 +01:00
Michael Kerrisk 00a1fbcfc4 wait.2: BUGS: Document odd waitid() behavior when 'infop' is NULL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-27 07:49:59 +01:00
Michael Kerrisk 27bada1fa1 getrlimit.2: Document Linux's nonstandard treatment or RLIMIT_CPU soft limit
Upon encountering the RLIMIT_CPU soft limit when a SIGXCPU handler
has been installed, Linux invokes the signal handler *and* raises
the soft limit by one second. This behavior repeats until the
limit is encountered.  No other implementation that I tested
(Solaris 10, FreeBSD 9.0, OpenBSD 5.0) does this, and it seems
unlikely to be POSIX-conformant. The (Linux-specific)
RLIMIT_RTTIME soft limit exhibits similar behavior.

Reported-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-27 07:49:59 +01:00
Michael Kerrisk 6d0620d865 getrlimit.2: Point reader at discussion of /proc/[pid]/limits in proc(5)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-24 09:08:04 +01:00
Thierry Vignaud b8d5a242bf ipc.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-22 05:38:06 +01:00
Simon Paillard fec75159e1 stat.2: Clarify description of EOVERFLOW error
The EOVERFLOW error is not only for st_size, but also
inode and block size fields. See glibc source file
sysdeps/unix/sysv/linux/xstatconv.c and kernel source
file fs/stat.c. Also, fix bit/byte confusion
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604928

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-11 11:40:23 +01:00
Michael Kerrisk 46fccf2d8e io_getevents.2: io_getevents() may cause segfault when called with invalid ctx_id
For reference see: http://marc.info/?l=linux-aio&m=130089887002435&w=2

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-11 09:08:32 +01:00
David Prévot 16a21eeaa6 prctl.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-11 08:56:50 +01:00
David Prévot d2ea1bd4bd ptrace.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-09 06:53:19 +01:00
Michael Kerrisk 35f6968001 delete_module.2: Small rewording of description of effect of O_TRUNC
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-08 13:44:13 +01:00
Michael Kerrisk e64bdfcf3c delete_module.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-08 13:37:10 +01:00
Michael Kerrisk fa1d274987 Removed trailing white space at end of lines 2012-11-07 14:24:27 +01:00
Michael Kerrisk 0d3bd76037 clock_getres.2, clock_nanosleep.2, ipv6.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-07 14:23:14 +01:00
David Prévot 8321eae507 init_module.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-07 13:58:21 +01:00
David Prévot f7fbc7a95e ipc.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-07 13:47:30 +01:00
David Prévot b2fc8e9f28 delete_module.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-07 13:46:38 +01:00
Michael Kerrisk 029599913b clock_getres.2, clock_nanosleep.2: Linking with -lrt is no longer needed from glibc 2.17 onward
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-29 09:27:58 +01:00
Michael Kerrisk e089cba10e fork.2: Note treatment of default timer slack value on fork()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-28 07:23:28 +01:00
Michael Kerrisk 934487a086 prctl.2: Document PR_SET_TIMERSLACK and PR_GET_TIMERSLACK
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-28 07:23:28 +01:00
Michael Kerrisk 8e9412e7a5 execve.2: Document treatment of SECBIT_KEEP_CAPS securebits flag on execve()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-28 07:23:28 +01:00
Michael Kerrisk 30cc7676ef execve.2: Document treatment of PR_SET_PDEATHSIG on execve()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-28 07:23:28 +01:00
Michael Kerrisk 46b7f60e65 prctl.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-28 07:23:28 +01:00
Michael Kerrisk 990e388795 prctl.2: Minor rewording for seccomp description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-28 07:23:03 +01:00
Michael Kerrisk f49202ae2b prctl.2: Reword PR_SET_NAME and PR_GET_NAME in terms of threads
Plus tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-28 07:18:11 +01:00
Michael Kerrisk 34709982a5 ptrace.2: Clarify that some operations are not present on all architectures
PTRACE_GETREGS, PTRACE_SETGREFS, PTRACE_GETFPREGS,
and PTRACE_GETSPREGS are not present on all architectures.
PTRACE_SYSEMU and PTRACE_SYSEMU_SINGLESTEP are present only
on x86.

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

Simon Paillard <spaillard@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-25 14:04:23 +02:00
Simon Paillard 47cfbecf0a getdomainname.2: Point out that these calls relate to NIS, not DNS
See http://bugs.debian.org/295635

Reported-by: Lars Wirzenius <liw@iki.fi>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-25 12:27:15 +02:00
Michael Kerrisk 1733db3538 prctl.2: Note 'seccomp' semantics with respect to fork(), execve(), and prctl()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:54:30 +02:00
Thomas Habets ff393a5f0d times.2: Recommend clock_gettime(2) as alternative to times(2)
Recommend clock_gettime(2), not gettimeofday(2) as alternative to times(2).

From times(2):
  "To measure changes in elapsed time, use gettimeofday(2)
  instead."

From gettimeofday(2):
  "POSIX.1-2008 marks gettimeofday() as obsolete, recommending the
  use of clock_gettime(2) instead."

Some context, showing how use of gettimeofday() causes actual bugs
(also read comments):
http://blog.habets.pp.se/2010/09/gettimeofday-should-never-be-used-to-measure-time

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:54:20 +02:00
Michael Kerrisk 1959393715 prctl.2: Mention Documentation/prctl/no_new_privs.txt for PR_SET_NO_NEW_PRIVS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:54:19 +02:00
Michael Kerrisk b1df307176 prctl.2: Some edits to Kees's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:54:19 +02:00
Michael Kerrisk 0fcc276ff1 prctl.2: Minor edits to Kee's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:54:19 +02:00
Kees Cook f83fe154a8 prctl.2: document PR_SET_NO_NEW_PRIVS, PR_GET_NO_NEW_PRIVS
This adds a short description of the no_new_privs bit,
as described in Documentation/prctl/no_new_privs.txt.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:54:19 +02:00
Michael Kerrisk 6239dfb213 prctl.2: Small improvements to PR_SET_SECCOMP discussion
Note type of 'arg3' for SECCOMP_MODE_FILTER.
Add pointer to Documentation/prctl/seccomp_filter.txt.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:54:19 +02:00
Michael Kerrisk d6ef3d5748 prctl.2: Minor edits to Kees's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:54:19 +02:00
Kees Cook 34447828c4 prctl.2: update seccomp sections for mode 2 (BPF)
This adds a short summary of the arguments used
for "mode 2" (BPF) seccomp.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:54:19 +02:00
Michael Kerrisk 3cad956f53 set_thread_area.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:53:48 +02:00
Michael Kerrisk b84a1732b4 get_thread_area.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:53:48 +02:00
Michael Kerrisk f68512e9fe intro.1, add_key.2, get_mempolicy.2, get_thread_area.2, intro.2, keyctl.2, mbind.2, request_key.2, set_thread_area.2, clock.3, cmsg.3, getcwd.3, getpw.3, intro.3, malloc.3, posix_memalign.3, shm_open.3, sleep.3, sysconf.3, intro.4, sd.4, intro.5, locale.5, slabinfo.5, intro.6, boot.7, bootparam.7, futex.7, glob.7, hier.7, intro.7, libc.7, locale.7, mq_overview.7, netlink.7, sem_overview.7, shm_overview.7, unix.7, intro.8: Global fix: Use consistent capitalization in NAME section
The line(s) in the NAME section should only use capitals
where English usage dictates that. Otherwise, use
lowercase throughout.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:53:48 +02:00
Michael Kerrisk ce154705ec futex.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:53:48 +02:00
Michael Kerrisk 7fac88a949 eventfd.2, futex.2, mmap2.2, open.2, pciconfig_read.2, ptrace.2, reboot.2, request_key.2, sched_rr_get_interval.2, splice.2, stat.2, sync_file_range.2, syscalls.2, timer_create.2, vm86.2, pthread_attr_setscope.3, core.5, proc.5, aio.7, futex.7, netlink.7, time.7: Global fix: "userspace" ==> "user space" or "user-space"
Existing pages variously use "userspace or "user space".
But, "userspace" is not quite an English word.
So change "userspace" to "user space" or, when used
attributively, "user-space".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:53:33 +02:00
Michael Kerrisk eceb82f70d delete_module.2: SEE ALSO: Add modprobe(8)
Reported-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:49:26 +02:00
Michael Kerrisk c470e180cf query_module.2: Move some information in NOTES to VERSIONS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:49:26 +02:00
Michael Kerrisk 9100326959 create_module.2, delete_module.2, get_kernel_syms.2, init_module.2, query_module.2: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:49:25 +02:00
Michael Kerrisk 3371ab17aa init_module.2: Change copyright and license
Little of the original page now remains. Change
copyright and license

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:49:25 +02:00
Michael Kerrisk 0cb430a1e5 init_module.2: Changes after review comments from Rusty Russell
Reviewed-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:49:25 +02:00
Michael Kerrisk 27ad8f18a5 create_module.2: Note that ENOSYS probably indicates kernel 2.6+
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:49:25 +02:00
Michael Kerrisk 6fe81824ca query_module.2: Note that ENOSYS probably indicates kernel 2.6+
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:49:25 +02:00
Michael Kerrisk f400805045 delete_module.2: Change license and copyright
There is now nothing left of the original FSF-copyrighted
page. So, change the copyright and license.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:49:25 +02:00
Michael Kerrisk b4f495025a delete_module.2: Substantial reorganization after comments from Rusty Russell
Rusty notes that O_NONBLOCK is almost always used in
practice. Therefore, it would be better to reorganize
the page to consider that "the default".

Reviewed-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Reviewed-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:45:43 +02:00
Kees Cook ce123e8e64 init_module.2: Add various pieces describing Linux 2.6+ behavior
Pieces take from, or inspired by, a patch sent by Kees.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-18 15:05:25 +02:00
Michael Kerrisk 6b9024ca05 get_kernel_syms.2: Note that this system call is present only in kernels before 2.6
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-18 15:05:25 +02:00
Michael Kerrisk 77a0889553 create_module.2: Note that this system call is present only in kernels before 2.6
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-18 15:05:25 +02:00
Michael Kerrisk fdeca96e95 query_module.2: Note that this system call is present only in kernels before 2.6
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-18 15:05:25 +02:00
Michael Kerrisk 8f4d1a1c3c init_module.2: Rewrite to Linux 2.6+ reality
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-18 15:05:25 +02:00
Michael Kerrisk 460240cab4 delete_module.2: Rewrite to Linux 2.6+ reality
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-18 15:05:25 +02:00
Michael Kerrisk 98038e9855 delete_module.2: SEE ALSO: add rmmod(8)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-18 15:05:25 +02:00
Michael Kerrisk a439440e16 query_module.2: SEE ALSO: Add modinfo(8) and lsinfo(8)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-18 15:05:25 +02:00
Michael Kerrisk 59bdef6a21 query_module.2: Add a few words clarifying reference to /sys/module
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-18 15:05:25 +02:00
Michael Kerrisk dc51f1ff84 link.2: Add EPERM error triggered by /proc/sys/fs/protected_hardlink
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-16 10:30:15 +02:00
Michael Kerrisk f3996ef7f2 ipc.2: Update note on architectures that don't have ipc()
Replace mention of ia64 with x86-64 and ARM.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-16 10:23:02 +02:00
Michael Kerrisk cd1df3b89b socketcall.2: Update note on architectures that don't have socketcall()
Replace mention of ia64 with x86-64 and ARM.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-16 10:21:59 +02:00
Michael Kerrisk b473be57b9 timer_settime.2, man-pages.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-15 11:13:02 +02:00
Michael Kerrisk 791657939e phys.2: New link to unimplemented.2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-09 14:13:48 +02:00
Michael Kerrisk e7b742f33f timer_settime.2: Small rewording around discussion of pointer arguments
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-02 07:28:14 +02:00
Michael Kerrisk 20de4d9f77 getitimer.2: Note Linux's odd handling of the new_value==NULL case
Reported-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-01 10:20:08 +02:00
Michael Kerrisk f2d587e6a1 getitimer.2: Fix types used to declare fields in timeval struct
Reported-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-30 07:40:52 +02:00
David Prévot 8f172c56b2 quotactl.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-28 08:04:03 +02:00
Michael Kerrisk ca8a0bd25b sched_get_priority_max.2, sched_setparam.2, sched_setaffinity.2, sched_setscheduler.2, timer_create.2, malloc.3, pthread_attr_init.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3, pthread_attr_setstack.3, pthread_getattr_np.3, pthread_cancel.3, pthread_create.3, pthread_setschedparam.3, pthread_setschedprio.3, aio.7, time.7: Global ffix: disable justification and hyphenation in SEE ALSO
For a better visual result, disable justification and hyphenation
in SEE ALSO where page names are long.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-25 06:39:39 +02:00
Michael Kerrisk e264f02416 keyctl.2: ffix: prevent hyphenation and justification under SEE ALSO
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-25 06:05:33 +02:00
David Prévot cf4d436127 keyctl.2: Reorder SEE ALSO, without .br
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-25 06:00:07 +02:00
Michael Kerrisk 6c1544c132 syscalls.2, uname.2, boot.7: Global fix: s/OS/operating system/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-24 10:05:20 +02:00
Michael Kerrisk 66a9882e46 bdflush.2, get_robust_list.2, kexec_load.2, madvise.2, mmap.2, mount.2, prctl.2, query_module.2, rt_sigqueueinfo.2, shmget.2, sigaction.2, syscalls.2, umount.2, malloc.3, hpsa.4, initrd.4, proc.5, bootparam.7, icmp.7, netlink.7, signal.7: Global fix: use "Linux kernel source" consistently
Rather than "kernel source".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-24 10:02:34 +02:00
David Prévot 173fe7e792 arch_prctl.2, fcntl.2, flock.2, get_robust_list.2, getpriority.2, ioprio_set.2, migrate_pages.2, mmap.2, mremap.2, msync.2, sched_get_priority_max.2, sched_rr_get_interval.2, sched_setparam.2, sched_setscheduler.2, sched_yield.2, select.2, socket.2, subpage_prot.2, unshare.2, btree.3, dbopen.3, dl_iterate_phdr.3, dlopen.3, getnameinfo.3, hash.3, lockf.3, netlink.3, recno.3, rpc.3, xdr.3, cciss.4, console_ioctl.4, hpsa.4, initrd.4, msr.4, rtc.4, st.4, hosts.5, services.5, tzfile.5, aio.7, arp.7, capabilities.7, cpuset.7, feature_test_macros.7, futex.7, inotify.7, ip.7, ipv6.7, iso_8859-16.7, iso_8859-2.7, koi8-r.7, math_error.7, netlink.7, packet.7, pthreads.7, raw.7, spufs.7, udplite.7, uri.7, x25.7: Global fix: Various consistency fixes for SEE ALSO
Coauthored-by: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-24 09:53:22 +02:00
Guillem Jover 318c814291 stat.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-24 07:15:36 +02:00
David Prévot f06f501401 syscalls.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-24 07:15:03 +02:00
Adrian Bunk 85d301e129 wait4.2: Note that these functions are nonstandard and recommend alternatives
Some edits to Adrian's path by mtk.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-24 07:15:03 +02:00
Michael Kerrisk 0ac42204d0 wait4.2: CONFORMING TO: Note SUS details for wait3()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-23 15:50:58 +02:00
Michael Kerrisk a38a23a17f sigaction.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-23 06:49:47 +02:00
Michael Kerrisk ca15be9183 sigaction.2: Tweak SA_RESETHAND description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-23 06:49:47 +02:00
Michael Kerrisk 556bb77a36 shutdown.2: Document EINVAL error (and associated bug)
Eric Dumazet noted that EINVAL was not documented. Some further
digging shows that it's also not diagnosed consistently.
See https://bugzilla.kernel.org/show_bug.cgi?id=47111.

Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-06 11:42:51 +02:00
Michael Kerrisk 72da9ef157 ldd.1, execve.2, getdents.2, quotactl.2, select_tut.2, clock_getcpuclockid.3, fopencookie.3, getservent_r.3, matherr.3, mq_notify.3, pthread_create.3, pthread_getattr_np.3, wordexp.3: Global fix: s/-/\\-/ when real hyphen is required (e.g., in code)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-29 12:14:08 +02:00
Michael Kerrisk 352c778d01 semop.2: Recast discussion of blocking behavior in terms of threads
semop() blocks the calling thread, not the process.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-27 12:59:11 +02:00
Michael Kerrisk 77ba6370c2 semop.2: Minor rewording
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-27 12:45:23 +02:00
Michael Kerrisk f81b78a4ca semop.2: SEE ALSO: Add clone(2)
Give reader a clue about CLONE_SYSVSEM.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-27 12:43:52 +02:00
Michael Kerrisk 2e72e99169 select.2: Clarify equivalent pslect() code in terms of threads
s/sigprogmask/pthread_sigmask/

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-22 15:29:04 +02:00
Michael Kerrisk 5adf628119 clock_nanosleep.2: wfix: s/SA_SIGACTION/SA_RESTART/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-22 15:28:19 +02:00
Michael Kerrisk 67378c4842 epoll_wait.2: Add pointer to select(2) for discussion of close in another thread
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-17 08:41:35 +02:00
Michael Kerrisk f33050d604 poll.2: Add pointer to select(2) for discussion of close in another thread
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-17 08:36:48 +02:00
Michael Kerrisk 10ed041e56 select.2: Note behavior if monitored file descriptor is closed in another thread
Executive summary: a sane application can't rely on any
particular behavior if another thread closes a file descriptor
being monitored by select().

See https://bugzilla.kernel.org/show_bug.cgi?id=40852

Reported-by: Stephane Fillod <fillods@users.sf.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-17 08:36:48 +02:00
Michael Kerrisk 8c1d94ae86 select.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-17 08:36:48 +02:00
Michael Kerrisk 355f61b5bc epoll_wait.2: Describe timeout limitation in kernels < 2.6.37
As reported by Fredrik (and as far as I can tell the problem
went back to 2.6.0):

The timeout argument has an upper limit. Any values above that
limit are treated the same as -1, i.e. to wait indefinitely.
The limit is given by:

    #define EP_MAX_MSTIMEO min(1000ULL * MAX_SCHEDULE_TIMEOUT / HZ, \
	(LONG_MAX - 999ULL) / HZ)

That is, the limit depends on the size of a long and the timer
frequency.  Assuming the a long is never smaller than 32 bits
and HZ never larger than 1000, the worst case is 35 minutes.
I think this should be mentioned under "BUGS".

Although this is likely to be fixed in the future
(http://lkml.org/lkml/2010/8/8/144), the problem exists in
at least 2.6.14 - 2.6.35. I don't know if select(2) and poll(2)
are affected.

https://bugzilla.kernel.org/show_bug.cgi?id=20762

Reported-by: Fredrik Arnerup <arnerup@kth.se>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-17 08:36:28 +02:00
Michael Kerrisk 11c85ed875 Removed trailing white space at end of lines 2012-08-14 00:39:21 +02:00
Michael Kerrisk bf42aad4a7 mprotect.2, syscall.2, realpath.3, iso_8859-1.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-14 00:37:33 +02:00
Michael Kerrisk 4832b48ab0 futex.2: Fix description of EINVAL error
The current text seems incorrect. Replace with a more general
description.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-14 00:10:36 +02:00
Michael Kerrisk e808bba0ff futex.2: Various wording fix-ups
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 14:50:26 +02:00
Марк Коренберг 9f6c40c0e6 futex.2: Consolidate error descriptions to ERRORS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 14:25:13 +02:00
Michael Kerrisk a2f11be3c1 mprotect.2: 'addr' argument is not const
As reported by Rasmus:

    Both my system's man-pages (3.22) and the latest online
    (3.41) show:

        int mprotect(const void *addr, size_t len, int prot);

    as the prototype for mprotect(2). However, POSIX [1] and the
    actual sys/mman.h (on all the systems I checked) do not have
    the const qualifier on the first argument.

Reported-by: Rasmus Villemoes <Rasmus.Villemoes@decode.is>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 14:00:29 +02:00
Sami Kerola 608bf95023 capget.2, futex.2, sched_setscheduler.2, spu_create.2, spu_run.2, vfork.2, getnameinfo.3, netlink.3, cciss.4, console_codes.4, dsp56k.4, hpsa.4, sk98lin.4, filesystems.5, protocols.5, aio.7, capabilities.7, charsets.7, feature_test_macros.7, futex.7, hier.7, iso_8859-16.7, iso_8859-2.7, koi8-r.7, libc.7, man.7, netlink.7, numa.7, standards.7, unicode.7, units.7, uri.7, x25.7: Global fix: use UR macro where applicable
The syntax .UR http://example.com paired with .UE will create
links which one can interact, if the pager allows that.  One
way to see the effect is ask the man(1) command to use browser
display, e.g.:

    man -H man7/uri.7

("\:" is optional groff syntax to permit hyphenless line breaks.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 10:02:36 +02:00
Michael Kerrisk 6edb20bcd8 migrate_pages.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 09:26:21 +02:00
David Prévot b0b1d9b517 ptrace.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 09:22:34 +02:00
Michael Kerrisk 13f78d96ad getdents.2, select_tut.2, atof.3, atoi.3, pthread_create.3, pthread_sigmask.3, rtime.3, setbuf.3, tsearch.3, netlink.7: Remove unneeded casts
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-03 10:33:49 +02:00
Denys Vlasenko ca302d0ee3 ptrace.2: Explain WNOHANG behavior and EINTR bug
I didn't like ithe "SIGKILL operates similarly, with exceptions"
phrase (if it's different, then it's not "similar", right?),
and now I got around to changing it. Now it says simply:
"SIGKILL does not generate signal-delivery-stop and therefore
the tracer can't suppress it."

Replaced "why WNOHANG is not reliable" example with a more
realistic one (the one which actually inspired to add this
information to man page in the first place): we got
ESRCH - process is gone! - but waitpid(WNOHANG) can still
confusingly return 0 "no processes to wait for".

Replaced "This means that unneeded trailing arguments may
be omitted" part with a much better recommendation
to never do that and to supply zero arguments instead.
(The part about "undocumentedness" of gcc behavior was bogus,
btw - deleted).

Expanded BUGS section with the explanation and an example
of visible strace behavior on the buggy syscalls which
exit with EINTR on ptrace attach. I hope this will lead
to people submitting better bug reports to lkml about
such syscalls.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-03 10:33:49 +02:00
Michael Kerrisk 65cee725a9 adjtimex.2: srcfix: added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-03 10:33:49 +02:00
Michael Kerrisk cb72917199 ptrace.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-03 10:33:49 +02:00
Michael Kerrisk 41a65f128c migrate_pages.2: Fix description of return value
Reported-by: Christoph Lameter <cl@linux.com>
Reported-by: JoonSoo Kim <js1304@gmail.com>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-03 10:33:49 +02:00
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