- fix mmap(2) man page

This commit is contained in:
Ivana Varekova 2006-10-20 11:18:38 +00:00
parent 566517c7e2
commit 32ca1436c0
2 changed files with 26 additions and 1 deletions

20
man-pages-2.41-mmap.patch Normal file
View File

@ -0,0 +1,20 @@
--- man-pages-2.41/man2/mmap.2.pom 2006-10-20 10:43:21.000000000 +0200
+++ man-pages-2.41/man2/mmap.2 2006-10-20 13:03:25.000000000 +0200
@@ -249,9 +249,15 @@
when the process is terminated. On the other hand, closing the file
descriptor does not unmap the region.
.LP
-The address
+If
+.B MAP_FIXED
+is specified,
.I start
-must be a multiple of the page size. All pages containing a part
+must be a multiple of the page size.
+In all other cases
+.I start
+address is rounded up to the next page size boundary.
+All pages containing a part
of the indicated range are unmapped, and subsequent references
to these pages will generate SIGSEGV. It is not an error if the
indicated range does not contain any mapped pages.

View File

@ -1,7 +1,7 @@
Summary: Man (manual) pages from the Linux Documentation Project.
Name: man-pages
Version: 2.41
Release: 1%{?dist}
Release: 2%{?dist}
License: distributable
Group: Documentation
Source0: http://www.kernel.org/pub/linux/docs/manpages/man-pages-%{version}.tar.bz2
@ -38,6 +38,7 @@ Patch33: man-pages-2.39-typo.patch
Patch34: man-pages-2.39-puned.patch
Patch35: man-pages-2.39-clone.patch
Patch36: man-pages-2.39-unimplemented.patch
Patch37: man-pages-2.41-mmap.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root
Autoreq: false
@ -83,6 +84,7 @@ tar xzf %{SOURCE11}
%patch34 -p1
%patch35 -p1
%patch36 -p1
%patch37 -p1
%build
@ -182,6 +184,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/en/man*
%changelog
* Fri Oct 20 2006 Ivana Varekova <varekova@redhat.com> 2.41-2
- fix mmap(2) man page
* Fri Oct 20 2006 Ivana Varekova <varekova@redhat.com> 2.41-1
- update to 2.41