Commit Graph

88 Commits

Author SHA1 Message Date
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
Michael Kerrisk 3062824dae mmap.2: Clarify NOTES discussion of mmap() versus mmap2()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-17 23:09:04 +12:00
Michael Kerrisk 5fab2e7c9c Changes.old, clone.2, execve.2, fcntl.2, futex.2, getitimer.2, getpriority.2, mmap.2, mount.2, mprotect.2, sched_setscheduler.2, select_tut.2, setuid.2, sigaltstack.2, vfork.2, div.3, fenv.3, fmod.3, memchr.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_getattr_np.3, queue.3, scanf.3, trunc.3, st.4, proc.5, services.5, utmp.5, bootparam.7, capabilities.7, feature_test_macros.7, futex.7, glob.7, man.7, netlink.7, unicode.7: Switch to American usage: "-wards" ==> "-ward"
American English uses "afterward" in preference to "afterwards",
and so on

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 07:34:47 +02:00
Michael Kerrisk c54ed37e0a chown.2, mmap.2, frexp.3, pthread_setschedparam.3, strtok.3: Remove comments on closing braces in example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-23 08:31:18 +02:00
Michael Kerrisk 92c1db72e2 madvise.2, mmap.2, crypt.3, opendir.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 05:46:00 +02:00
Michael Kerrisk 12062404f9 mmap.2: Document MAP_UNINITIALIZED flag
New in Linux 2.6.33.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-03-13 08:08:06 +01:00
Michael Kerrisk 7c7adcbe55 mmap.2: minor: fix text ordering (MAP_STACK)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-03-13 07:11:08 +01:00
Michael Kerrisk 3b777affca close.2, epoll_create.2, epoll_ctl.2, fcntl.2, madvise.2, mmap.2, mremap.2, select_tut.2, setgid.2, setuid.2, syscalls.2, vmsplice.2, dlopen.3, fts.3, getpw.3, stdio.3, fd.4, initrd.4, random.4, sd.4, bootparam.7, capabilities.7, cpuset.7, epoll.7, inotify.7, man.7, socket.7, x25.7: Global fix: s/re-/re/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "re-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:45:23 +01:00
Michael Kerrisk 76a34baa39 mmap.2: Add brief documentation of MAP_HUGETLB
This flag is new in 2.6.32, and serves a similar
purpose to the shmget() SHM_HUGETLB flag.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:21 +02:00
Michael Kerrisk 67b59ff59d mmap.2: srcfix: Removed FIXME 2009-01-18 14:20:36 +13:00
Michael Kerrisk 293283613f mmap.2: srcfix: spfix 2008-12-05 22:28:55 -05:00
Michael Kerrisk 6aa7db0a8f mmap.2: Loosen language around how 'addr' hint is interpreted
Mel Gorman reported that in Linux 2.6.27, 'addr' is rounded
down to a page boundary.

Before kernel 2.6.26, if 'addr' was taken as a hint, it was
rounded up to the next page boundary.  Since Linux 2.6.24,
it is rounded down.  Therefore, loosen the description of
this point to say that the address is rounded to "a nearby
page boundary".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Mel Gorman <mel@csn.ul.ie>
2008-12-05 22:28:55 -05:00
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