summaryrefslogtreecommitdiff
path: root/man2
AgeCommit message (Collapse)AuthorFilesLines
2013-07-18perf_event_open.2: tfixVince Weaver1-3/+3
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18perf_event_open.2: grfixMichael Kerrisk1-1/+1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18perf_event_open.2: Improve PERF_SAMPLE_BRANCH_STACK documentationVince Weaver1-7/+43
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-09setpgid.2: s/SIGTSTP/SIGTTIN/ when discussing reads from terminalMichael Kerrisk1-1/+1
See https://bugzilla.kernel.org/show_bug.cgi?id=60504 Reported-by: graud@gmx.com Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-04Removed trailing white space at end of linesMichael Kerrisk2-14/+14
2013-07-04execve.2, aio_error.3, aio_return.3, clock_getcpuclockid.3, ctermid.3, ↵Michael Kerrisk1-1/+1
ecvt.3, ether_aton.3, rexec.3, signbit.3, timegm.3: tstamp Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-02perf_event_open.2: Update to match the Linux 3.10 releaseVince Weaver1-12/+148
This patch updates the perf_event_open() documentation to include new interfaces added in the 3.10 kernel. It also documents a few [To be documented] instances left over from the 3.7 kernel. Signed-off-by: Vince Weaver <vincent.weaver@maine.edu> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-02perf_event_open.2: grfixMichael Kerrisk1-5/+5
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-02perf_event_open.2 Add PERF_IOC_FLAG_GROUP documentationVince Weaver1-5/+19
The perf_event_open() ENABLE/DISABLE/RESET ioctls can take an argument, PERF_IOC_FLAG_GROUP. This wasn't documented at all until about a year ago (despite the support being there from the beginning) so I missed this when initially writing the man page. Signed-off-by: Vince Weaver <vincent.weaver@maine.edu> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21execve: Add envp to the Linux notes about NULL pointersPeter LaDow1-2/+4
During the review of static analysis results, we discovered a functional, but non-portable, use of execve(). For example: char *cmd[] = { "/path/to/some/file", NULL }; execve(cmd[0], cmd, NULL); The call succeeds. Yet, the static analysis tool (rightly) pointed out that envp could be dereferenced. But digging into glibc and the kernel, it appears that like argv, envp when NULL is treated as if it were an empty list. So, to clear things up, I'm submitting this patch to update the man page to indicate that envp is treated like argv. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21io_setup.2, perf_event_open.2, readdir.2, syscall.2, a64l.3, abs.3, ↵Michael Kerrisk4-4/+4
asprintf.3, bindresvport.3, catgets.3, ceil.3, cimag.3, conj.3, crypt.3, drand48.3, encrypt.3, ether_aton.3, fcloseall.3, ferror.3, fmtmsg.3, getdate.3, getgrent.3, getgrnam.3, getpass.3, getpwent.3, getpwnam.3, getttyent.3, getusershell.3, localeconv.3, mblen.3, mbrlen.3, mbrtowc.3, modf.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_setname_np.3, ptsname.3, qecvt.3, re_comp.3, readdir.3, rexec.3, round.3, scalbln.3, stdio_ext.3, strerror.3, tmpnam.3, trunc.3, ttyname.3, ttyslot.3, inotify.7, man-pages.7, socket.7, tcp.7, udp.7: tstamp Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21pread.2: pread() and pwrite() are especially useful in multithreaded ↵Michael Kerrisk1-1/+9
applications Reported-by: Марк Коренберг <socketpair@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12fallocate.2: wfixYuri Kozlov1-2/+2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12arch_prctl.2, getpeername.2, getrlimit.2, ioctl_list.2, mmap2.2, mremap.2, ↵Michael Kerrisk9-27/+27
sched_setaffinity.2, setup.2, shmop.2, argz_add.3, exec.3, fenv.3, fmtmsg.3, gethostbyname.3, posix_memalign.3, printf.3, scanf.3, sigpause.3, wordexp.3, xdr.3, st.4, tty_ioctl.4: Formatting fix: prevent '*' in declaration or cast wrapping to next line Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12ioctl_list.2, sched_yield.2, vm86.2, backtrace.3, catopen.3, daemon.3, ↵Michael Kerrisk3-3/+7
dl_iterate_phdr.3, fnmatch.3, getfsent.3, glob.3, grantpt.3, infnan.3, putgrent.3, setaliasent.3, shm_open.3, stdin.3, ttyS.4: Convert inline formatting (\fX...\fP) to dot-directive formatting Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12msync.2, getusershell.3, full.4, pts.4: Convert inline formatting ↵Michael Kerrisk1-1/+3
(\fX...\fP) to dot-directive formatting Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12time.1, _syscall.2, acct.2, getsockname.2, nanosleep.2, pciconfig_read.2, ↵Michael Kerrisk9-35/+94
sched_get_priority_max.2, umask.2, uname.2, ustat.2, INFINITY.3, argz_add.3, atexit.3, bsearch.3, byteorder.3, carg.3, closedir.3, dlopen.3, drand48.3, envz_add.3, errno.3, ether_aton.3, exp10.3, finite.3, flockfile.3, fseeko.3, getcontext.3, getmntent.3, getnetent.3, getprotoent.3, getrpcent.3, getservent.3, iconv_close.3, iconv_open.3, initgroups.3, login.3, longjmp.3, mbsinit.3, memccpy.3, memmem.3, mempcpy.3, offsetof.3, on_exit.3, pow10.3, pthread_cancel.3, pthread_cleanup_push.3, rpc.3, rpmatch.3, setenv.3, setjmp.3, setlogmask.3, sockatmark.3, strfmon.3, strptime.3, strverscmp.3, swab.3, tcgetpgrp.3, tmpfile.3, toascii.3, y0.3, null.4, tty.4, tty_ioctl.4, hosts.equiv.5, environ.7, path_resolution.7, tzselect.8: Convert inline formatting (\fX...\fP) to dot-directive formatting Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-03semctl.2: 'sem_nsems' is 'unsigned long' since Linux 2.4Michael Kerrisk1-2/+13
Reported-by: Simone Piccardi <piccardi@truelite.it> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02perf_event_open.2: Clarify the perf_event_open() ↵Vince Weaver1-0/+10
wakeup_events/wakeup_watermark fields Clarify the perf_event_open() wakeup_events/wakeup_watermark fields a bit, based on info from kernel commit cfeb1d90a1b1. Signed-off-by: Vince Weaver <vincent.weaver@maine.edu> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02prctl.2: Note equivalents of PR_SET_NAMEMichael Kerrisk1-1/+10
pthread_setname_np() and pthread_getname_np() and /proc/self/task/TID/comm provide access to the same attribute. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02prctl.2: Minor wroding fix for PR_SET_NAMEMichael Kerrisk1-2/+2
Reported-by: Марк Коренберг <socketpair@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02perf_event_open.2: Small correction to description of 'flags' argumentVince Weaver1-1/+1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19syscall.2: Document s390/s390x calling conventionMike Frysinger1-1/+5
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19readdir.2, asprintf.3, getline.3, getlogin.3, pthread_setname_np.3, ↵Michael Kerrisk1-1/+1
readdir.3, strerror.3: Clarify that terminating null byte is '\0' Reported-by: Jon Grant <jg@jguk.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19alarm.2: tfixDavid Prévot1-1/+1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19io_destroy.2: tfixDavid Prévot1-1/+1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19io_setup.2: Clarify the nr_events parameterCyril Hrubis1-2/+2
Currently the io_setup.2 man page describes what the kernel really does, i.e., that the resulting context may be able to hold more than the 'nr_event's operations because the memory allocated in kernel is rounded to be multiple of page size. It is better not to expose this implementation detail and simply state that the resulting context is suitable for 'nr_events' operations. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com> Signed-off-by: Cyril Hrubis <chrubis@suse.cz> Acked-by: Jeff Moyer <jmoyer@redhat.com>
2013-05-11move_pages.2: ffixMichael Kerrisk1-1/+1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-06killpg.2: tfixMichael Kerrisk1-1/+1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-21move_pages.2: tfixMichael Kerrisk1-1/+1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-21migrate_pages.2: tfixMichael Kerrisk1-1/+1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19umask.2: tfixMichael Kerrisk1-1/+1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19sigsuspend.2: RETURN VALUE: mention that 'errno' is set on errorMichael Kerrisk1-3/+5
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19sigprocmask.2: RETURN VALUE: mention that 'errno' is set on errorMichael Kerrisk1-1/+4
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19sigpending.2: RETURN VALUE: mention that 'errno' is set on errorMichael Kerrisk1-1/+4
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19signal.2: RETURN VALUE: mention that 'errno' is set on errorMichael Kerrisk1-1/+4
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19sigaction.2: RETURN VALUE: mention that 'errno' is set on errorMichael Kerrisk1-2/+4
Reported-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19shmget.2: Rewrite RETURN VALUE and mention that 'errno' is set on errorMichael Kerrisk1-4/+5
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19recv.2: RETURN VALUE: mention that 'errno' is set on errorMichael Kerrisk1-1/+4
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19fallocate.2: RETURN VALUE: mention that 'errno' is set on errorMichael Kerrisk1-2/+6
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19Removed trailing white space at end of linesMichael Kerrisk2-2/+2
2013-04-19semop.2, syscalls.2: tstampMichael Kerrisk2-2/+2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19unshare.2, sched_getcpu.3, elf.5, capabilities.7: tstampMichael Kerrisk1-1/+1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19alarm.2: Correct the description of behavior when 'seconds' is 0Michael Kerrisk1-4/+2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-17mmap.2: Add pointers to relevant /proc files described in proc(5)Michael Kerrisk1-1/+8
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-17clone.2: Add short subsection noting that blackfin, m68k, and sparc are ↵Michael Kerrisk1-0/+4
different Reported-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-17clone.2: Change subhead for ia64 discussionMichael Kerrisk1-1/+1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16clone.2: Move clone2() text to subsection in descriptionMichael Kerrisk1-32/+32
The description of ia64 clone2() should follow the discussion of the raw system call interface. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16clone.2: Clarify differences between clone2() syscall and wrapper functionMichael Kerrisk1-3/+13
Reported-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-16clone.2: Replace "sys_clone" mentions with "the raw system call"Michael Kerrisk1-19/+10
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>