Commit Graph

225 Commits

Author SHA1 Message Date
Michael Kerrisk e6205b0c24 mmap.2: Document MAP_STACK flag (new in Linux 2.6.27)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:04 -05:00
Michael Kerrisk 491cd2f039 spfix 2008-08-21 07:00:26 +00:00
Michael Kerrisk aaec1423d7 Add FIXME 2008-08-21 05:11:22 +00:00
Michael Kerrisk c368e7ca76 Add kernel version numbers for MAP_32BIT.
Add some details on MAP_32BIT (see http://lwn.net/Articles/294642).
2008-08-21 04:14:14 +00:00
Michael Kerrisk f93af9c668 SEE ALSO: add shm_overview(7). 2008-07-02 05:01:23 +00:00
Michael Kerrisk 6387216bb2 Wrap lines at sentence breaks. 2008-06-28 04:57:20 +00:00
Michael Kerrisk 7c40de088e wfix 2008-09-18 12:30:37 +00:00
Michael Kerrisk f81fb4445b s/\\'/\\(aq/ 2008-06-09 15:49:35 +00:00
Michael Kerrisk 84c517a450 Change use of quote characters to get better UTF-8 rendering. 2008-06-05 20:14:50 +00:00
Michael Kerrisk 46cdb99741 wfix 2008-05-30 13:25:25 +00:00
Michael Kerrisk 7921f13b4c SEE ALSO: add shmat(2). 2008-05-27 02:59:06 +00:00
Michael Kerrisk 54504ac3d3 SEE ALSO: add mprotect(2). 2008-05-27 02:57:24 +00:00
Michael Kerrisk 80d17cfa1a NOTES: Added details on mapping address that is selected by
kernel when MAP_FIXED is / isn't specified.
2008-05-21 12:33:21 +00:00
Michael Kerrisk ba7cb080d9 spfix 2008-05-12 14:37:02 +00:00
Michael Kerrisk f99fc19730 ffix 2008-05-07 13:41:18 +00:00
Michael Kerrisk f38fa944aa MAP_POPULATE supports both file and anonymous mappings.
Since 2.6.23, MAP_POPULATE supports private mappings.
Since 2.6.23, MAP_NONBLOCK causes MAP_POPULATE to be a no-op.
2008-05-05 20:10:11 +00:00
Michael Kerrisk 2e001ad4f9 Add fixme 2008-04-24 08:40:38 +00:00
Michael Kerrisk de5f7e2851 Added some .SS headings to make structure of page a little more obvious. 2008-04-23 15:37:15 +00:00
Michael Kerrisk 14f5ae6dc8 Change name of 'start' argument to 'addr' for consistency with:
* other memory related interfaces
* POSIX specification (for those interfaces in POSIX)
* Linux and glibc source code (in at least some cases)
2008-04-21 07:51:17 +00:00
Michael Kerrisk 24d01c530c s/filesystem/file system/ 2008-03-19 07:26:08 +00:00
Michael Kerrisk 34cd540ed6 Add comma to clarify meaning of a sentence. 2007-12-24 17:34:54 +00:00
Michael Kerrisk 34ccb744ec s/x86/i386/ 2007-12-24 17:31:35 +00:00
Michael Kerrisk 8568021d3b white space clean-ups. 2007-12-23 17:46:23 +00:00
Michael Kerrisk 5895e7eb8d wspace in SYNOPSIS 2007-12-23 13:45:24 +00:00
Michael Kerrisk 009df872f7 Format casts so that there is a non-breaking space after the
type, and remove unnecessary parentheses around the casted value.
Thus, for example, the following:

     .IR "(size_t) (\-1)" .

becomes:
    .IR "(size_t)\ \-1" .
2007-12-22 16:26:51 +00:00
Michael Kerrisk 2d6cfc1a82 ffix 2007-12-14 14:15:32 +00:00
Michael Kerrisk 2777b1caec Remove section numbers for page references where the
reference refers to the page itself.  (This stops man2html
producing links from a page back to itself.)
2007-11-24 10:10:39 +00:00
Michael Kerrisk 33c6f37475 Update date in .TH line 2007-11-19 08:12:03 +00:00
Michael Kerrisk 4407d3d81e Handle errors using a custom handle_errror() macro. 2007-11-19 03:34:00 +00:00
Michael Kerrisk facdd3f468 ffix 2007-11-17 05:51:29 +00:00
Michael Kerrisk fbbfa7ce8a Fix syntax error in example program. 2007-10-03 06:25:23 +00:00
Michael Kerrisk 0daa9e92d0 Fix redundant formatting macros 2007-09-20 16:26:31 +00:00
Michael Kerrisk c11b1abf2e Change mtk's email address 2007-09-20 06:52:22 +00:00
Michael Kerrisk f3edaabb5d Add text noting that PROT_WRITE may (and on x86 does) imply PROT_READ. 2007-09-10 04:10:36 +00:00
Michael Kerrisk 74d3223314 ffix/spfix 2007-08-27 08:36:21 +00:00
Michael Kerrisk 5b6adad130 Added a blank line to example prog 2007-07-01 02:00:19 +00:00
Michael Kerrisk 74fa61b798 Added an example program. 2007-06-30 14:11:48 +00:00
Michael Kerrisk 5636a29a5e Added note that glibc mmap() wrapper nowadays invokes mmap2(). 2007-06-29 06:40:29 +00:00
Michael Kerrisk d4725a0e26 s/NNbit/NN-bit/ 2007-06-25 09:55:58 +00:00
Michael Kerrisk 682edefb1b ffix 2007-06-22 17:16:20 +00:00
Michael Kerrisk 988db66164 strip trailing white space 2007-06-21 22:55:04 +00:00
Michael Kerrisk 8bd58774dc Formatted signal names 2007-06-21 05:38:48 +00:00
Michael Kerrisk c84371c688 Italics for header file references 2007-06-20 21:53:34 +00:00
Michael Kerrisk d9bfdb9c21 Convert to American spelling conventions 2007-06-08 09:56:56 +00:00
Michael Kerrisk d9343c5c13 Removed version number from .TH line 2007-05-30 05:36:26 +00:00
Michael Kerrisk 2b2581ee37 Fix inconsistencies in order of .SH sections 2007-05-19 04:30:20 +00:00
Michael Kerrisk a1d5f77cc8 Reordered sections to be more consistent, in some cases renaming
sections or shifting paragraphs between sections.
2007-05-18 16:06:42 +00:00
Michael Kerrisk 0bfa087b03 Add section numbers to references to other pages 2007-05-11 23:07:02 +00:00
Michael Kerrisk 83314009c0 Place MAP_* flags list in alphabeitical order. 2007-05-01 15:23:23 +00:00
Michael Kerrisk c13182efa3 Wrapped long lines, wrapped at sentence boundaries; stripped trailing
white space.
2007-04-12 22:42:49 +00:00
Michael Kerrisk a62f51211f Further substantial rewrites. 2006-12-05 07:40:31 +00:00
Michael Kerrisk 5e8cde2f2e Rewrote various parts to be clearer. 2006-12-04 04:50:15 +00:00
Michael Kerrisk 882b85db93 Removed text stating that mmap() never returns 0; that's not true. 2006-11-30 05:48:48 +00:00
Michael Kerrisk 62a04c814e Added some EINVAL errors. 2006-09-06 04:44:04 +00:00
Michael Kerrisk c8f3e58070 Added note on Linux's old (pre-2.6.12) buggy treatment of length==0. 2006-09-05 12:24:48 +00:00
Michael Kerrisk ef0b81712f wfix/tfix 2006-09-04 08:57:04 +00:00
Michael Kerrisk a7fadb5558 Updated CONFOMRING TOs and/or standards references. 2006-08-04 12:39:17 +00:00
Michael Kerrisk 97c1eac86f Updated CONFORMING TO section 2006-08-03 13:57:17 +00:00
Michael Kerrisk 51ffcca030 Expand description of MAP_POPULATE.
Expand description MAP_NONBLOCK.
Various minor formatting fixes.
2006-07-21 22:23:51 +00:00
Michael Kerrisk a28e26a155 s%IO%I/O% 2006-07-21 14:56:18 +00:00
Michael Kerrisk 931e4e2511 Add SEE ALSO referring to remap_file_pages.2. 2006-05-29 05:01:27 +00:00
Michael Kerrisk f75c3a3bf8 Add mincore(2) to SEE ALSO.
See Debian bug 367401.
2006-05-15 20:51:05 +00:00
Michael Kerrisk e0037472fe ffix 2006-05-05 22:03:05 +00:00
Michael Kerrisk 4006dcaccb Updated discussion of MAP_NORESERVE since it
is no longer restricted to MAP_PRIVATE mappings.
Add reference to discussion of /proc/sys/vm/overcommit_memory in proc.5
2006-05-02 03:08:31 +00:00
Michael Kerrisk 424a895034 shm_open() is in section 3, not 2. 2006-03-15 22:26:36 +00:00
Michael Kerrisk 74f3f90ba5 Noted that portable applications should specify fd as -1
when using MAP_ANONYMOUS.
Some rewriting of description of MAP_ANONYMOUS.
2006-02-01 19:19:59 +00:00
Michael Kerrisk f6179c2fbd Formatting fix 2005-12-01 14:05:11 +00:00
Michael Kerrisk 8478ee0279 Formatting fixes 2005-11-02 13:55:25 +00:00
Michael Kerrisk 1e32103455 Formatting fixes 2005-10-20 15:11:10 +00:00
Michael Kerrisk dbc53ca8b2 Noted bug in MAP_POPULATE for kernels before 2.6.7. 2005-09-14 08:15:27 +00:00
Michael Kerrisk 24b1a0121f Added .\" comment about behaviour change for
length == 0 in kernel 2.6.12.
2005-06-23 12:11:22 +00:00
Michael Kerrisk 1a956089b0 Eric Estievenart <eric.estievenart@free.fr>
Note that MAP_FIXED replaces existing mappings
2004-12-08 13:47:41 +00:00
Michael Kerrisk 83cd3686ed Added cross-ref to setrlimit(2) concerning memory locking limits 2004-11-25 13:36:04 +00:00
Michael Kerrisk 305a0578bf Global change of email address for MTK (now: mtk-manpages@gmx.net) 2004-11-03 14:43:40 +00:00
Michael Kerrisk fea681dafb Import of man-pages 1.70 2004-11-03 13:51:07 +00:00