Commit Graph

10733 Commits

Author SHA1 Message Date
Michael Kerrisk d85d2ed8e6 proc.5: Note kernel version for /proc/sys/kernel/{shmall,shmmax}
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-17 15:38:51 +02:00
Michael Kerrisk 098c699809 shmget.2: Rewrite description of SHMMNI default value
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-17 15:38:50 +02:00
Michael Kerrisk c00811f345 shmget.2: Note default value of SHMMAX
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-17 15:38:44 +02:00
Michael Kerrisk e6a38ea607 shmget.2: Note default value for SHMALL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-17 15:38:37 +02:00
Michael Kerrisk 8ab18f6ce0 shmget.2: Minor rewording
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-17 13:28:07 +02:00
Michael Kerrisk 2b23ecbdea perf_event_open.2: Explain the EACCES "monitoring all processes" case more precisely
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-17 09:44:58 +02:00
Michael Kerrisk bec6277efa perf_event_open.2: Change "fd" to "file descriptor"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-17 09:22:06 +02:00
Michael Kerrisk ee7b0cbfc9 perf_event_open.2: Change "current process" to "calling process" in various places
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-17 09:22:06 +02:00
Michael Kerrisk ce88f77b91 perf_event_open.2: Minor grammar, formatting, wording, and typo fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-17 09:22:06 +02:00
David Prévot d2c3d8a829 inotify.7: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-17 07:49:54 +02:00
David Prévot 8563c24924 termios.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-17 07:45:52 +02:00
Vince Weaver 27f0af8e92 perf_event_open.2: clarify EACCES and EPERM errors
Clarify the reasons for EACCES and EPERM errors.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-16 07:50:48 +02:00
Michael Kerrisk 394a1f2787 personality.2: Available execution domains are listed in <sys/personality.h>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-15 22:45:17 +02:00
Michael Kerrisk 7bd265778a personality.2: Fix discussion of return value
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-15 22:41:07 +02:00
Michael Kerrisk d4421e7cd7 personality.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-15 22:41:07 +02:00
Michael Kerrisk b1c5c4ec32 msync.2: Strengthen warning that one of MS_SYNC or MS_ASYNC is required
Reported-by: Greg Troxel <gdt@ir.bbn.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-15 22:18:00 +02:00
Michael Kerrisk b60d985933 msync.2: wfix
Reported-by: Christopher Covington <cov@codeaurora.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-15 22:18:00 +02:00
Michael Kerrisk 433e3408cb msync.2: Note that one of MS_SYNC or MS_ASYNC should be specified
Reported-by: Richard Hansen <rhansen@bbn.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-15 22:18:00 +02:00
Michael Kerrisk 5745985f4e prctl.2: Document PR_SET_THP_DISABLE and PR_GET_THP_DISABLE
Reviewed-by: Alex Thorlton <athorlton@sgi.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-15 22:18:00 +02:00
Michael Kerrisk 86aa5a2d8c prctl.2: ERRORS: document EINVAL for PR_GET_NO_NEW_PRIVS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-15 22:18:00 +02:00
Michael Kerrisk f7a65fc294 prctl.2: ERRORS: document EINVAL for PR_SET_NO_NEW_PRIVS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-15 22:18:00 +02:00
Michael Kerrisk 93f15c9153 prctl.2: ERRORS: document EINVAL for PR_SET_TIMING
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-15 22:18:00 +02:00
Michael Kerrisk f41882f0d8 prctl.2: ERRORS: document EINVAL for PR_SET_DUMPABLE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-15 22:18:00 +02:00
Michael Kerrisk 8a77c41352 prctl.2: ERRORS: document EINVAL for PR_SET_PDEATHSIG
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-15 22:18:00 +02:00
Michael Kerrisk 48cb32cdb0 madvise.2: SEE ALSO: see prctl(2)
Because of PR_SET_THP_DISABLE.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-15 22:18:00 +02:00
Michael Kerrisk ec3b7804b3 mlock.2: Describe treatment of MCL_FUTURE during fork(2) and execve(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-15 22:18:00 +02:00
Michael Kerrisk 49d2b31216 inet_net_pton.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:50:42 +02:00
Michael Kerrisk 85dd46e89b libc.7: srcfix: Reformat to use .UR/.UE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:50:42 +02:00
Michael Kerrisk ba8b587366 libc.7: Add musl libc
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:50:41 +02:00
Michael Kerrisk ebd9e5df0d inet.3: SEE ALSO: add inet_net_pton(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:50:41 +02:00
Michael Kerrisk 90fb795078 inet_net_ntop.3: New link to new inet_net_pton.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:50:41 +02:00
Michael Kerrisk 6227c31dc6 inet_net_pton.3: New page describing inet_net_pton(3) and inet_net_ntop(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:50:41 +02:00
Michael Kerrisk 079928f31c perf_event_open.2: Minor wording fixes for EACCES error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:38:34 +02:00
Peng Haitao 738e78b2c9 pthread_attr_setguardsize.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_attr_setguardsize() and
pthread_attr_getguardsize() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:26:40 +02:00
Peng Haitao 681f627eee pthread_attr_setdetachstate.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_attr_setdetachstate() and
pthread_attr_getdetachstate() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:26:35 +02:00
Peng Haitao 7eea6fc323 ffs.3: ATTRIBUTES: Note functions that are thread-safe
The functions ffs(), ffsl() and ffsll() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:26:30 +02:00
Peng Haitao ec3f0bf778 sigsetops.3: ATTRIBUTES: Note functions that are thread-safe
The functions sigemptyset(), sigfillset(), sigaddset(),
sigdelset(), sigismember(), sigisemptyset(), sigorset() and
sigandset() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:26:23 +02:00
Peng Haitao e3de721c1a makecontext.3: ATTRIBUTES: Note functions that are thread-safe
The functions makecontext() and swapcontext() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:26:16 +02:00
David Prévot f360dbe83d locale.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:25:18 +02:00
David Prévot 8a9849f29e toupper.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:24:30 +02:00
Michael Kerrisk 5589160a7e locale.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:23:06 +02:00
Yuri Kozlov 49b3d95508 locale.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:21:34 +02:00
Michael Kerrisk 7c5ca6668f malloc.3: srcfix: Add FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 06:54:27 +02:00
Michael Kerrisk 76e0451c7d proc.5: Document /proc/[pid]/clear_refs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-12 11:37:14 +02:00
Michael Kerrisk e618d945d2 proc.5: /proc/PID/smaps is present only if CONFIG_PROC_PAGE_MONITOR
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-12 09:20:30 +02:00
Michael Kerrisk 1f0add2855 proc.5: Minor tweaks to Petr Gajdos's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-12 09:05:44 +02:00
Petr Gajdos 95fe794d41 proc.5: Improve /proc/[pid]/smaps entries description
Glued together from:

https://www.kernel.org/doc/Documentation/filesystems/proc.txt
https://lkml.org/lkml/2008/9/23/362
https://lkml.org/lkml/2010/8/18/46

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-12 08:04:35 +02:00
Michael Kerrisk a61dba3485 perf_event_open.2: Minor clarification to close-on-exec text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:54:25 +02:00
Michael Kerrisk accec05152 perf_event_open.2: Minor clean-ups after Vince Weaver's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:50:15 +02:00
Vince Weaver d8b7d950dd perf_event_open.2 -- expand ERRORS section
Expand the perf_event_open.2 ERRORS section to be more comprehensive.

These were determined both by code inspection and by writing a large
number of test programs.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:24:25 +02:00