A mirror of Man pages
Go to file
Jann Horn f58e9ed092 mmap.2: Fix description of treatment of the hint
The current manpage reads to me as if the kernel will always pick
a free space close to the requested address, but that's not the
case:

mmap(0x600000000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x600000000000
mmap(0x600000000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x7f5042859000

You can also see this in the various implementations of
->get_unmapped_area() - if the specified address isn't available,
the kernel basically ignores the hint (apart from the 5level
paging hack).

Clarify how this works a bit.

Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2019-02-25 15:56:54 +01:00
man1 time.1: Update bug reporting address 2019-01-17 08:36:08 +13:00
man2 mmap.2: Fix description of treatment of the hint 2019-02-25 15:56:54 +01:00
man3 isatty.3: Most non-tty files nowadays result in the error ENOTTY 2019-02-25 15:39:59 +01:00
man4 clone.2, prctl.2, st.4, proc.5: Change references to '2.6.0-test*' series kernels to just '2.6.0' 2018-11-19 13:09:55 +01:00
man5 filesystems.5: Minor wording fixes 2019-02-25 11:22:43 +01:00
man6 intro.6: wfix 2017-08-25 21:41:03 +02:00
man7 address_families.7: tfix 2019-02-25 11:13:37 +01:00
man8 zic.8: Sync from tzdb upstream 2018-11-01 15:09:33 +01:00
scripts scripts: mark them executable 2018-05-31 21:34:32 +02:00
Changes Start of man-pages-4.17: updating Changes and Changes.old 2018-04-30 21:34:48 +02:00
Changes.old Changes.old: tfix 2019-01-10 13:38:42 +13:00
Makefile Makefile: Remove a redundant comment 2017-11-20 10:38:10 +01:00
README README: tfix 2017-05-13 20:14:15 +02:00
man-pages-4.17.Announce Start of man-pages-4.17: updating .Announce and .lsm files 2018-04-30 21:34:48 +02:00
man-pages-4.17.lsm Start of man-pages-4.17: updating .Announce and .lsm files 2018-04-30 21:34:48 +02:00

README

This package contains Linux man pages for sections 1 through 8.  Some
more information is given in the 'man-pages-x.y.Announce' file.

Installing and uninstalling
===========================
"make install" will copy these man pages to /usr/share/man/man[1-8].

To install to a path different from /usr, use
"make install prefix=/install/path".

"make remove" or "make uninstall" will remove any man page in this
distribution from its destination.  Use with caution, and remember to
use "prefix" if desired, as with the "install" target.

"make" or "make all" will perform "make uninstall" followed by "make
install".

Man page overlap and duplication
================================
Note that sometimes these pages are duplicates of pages also distributed
in other packages.  This has been reported about:

man page                also found in
-------------------------------------
resolver.3              bind-utils, bind9utils
resolv.conf.5           "
passwd.5                shadow, passwd
mailaddr.7              ?

Copyrights
==========
See the 'man-pages-x.y.Announce' file.

Homepage
========
For much more about the Linux man-pages project, see
http://www.kernel.org/doc/man-pages/index.html.