- remove mount page patch

- fix mmap patch
This commit is contained in:
Ivana Varekova 2007-05-31 13:14:20 +00:00
parent 202836be2c
commit 5eb4c0e5e2
4 changed files with 18 additions and 43 deletions

View File

@ -1,21 +0,0 @@
--- man-pages-2.43/man2/mount.2.pom 2006-12-01 11:14:24.000000000 +0100
+++ man-pages-2.43/man2/mount.2 2006-12-01 11:23:38.000000000 +0100
@@ -223,7 +223,8 @@
.BR umount (),
unmounts a target, but allows additional
.I flags
-controlling the behaviour of the operation:
+controlling the behaviour of the operation. Now there is only
+one possible flag:
.TP
.BR MNT_FORCE " (since Linux 2.1.116)"
Force unmount even if busy. This can cause data loss.
@@ -232,6 +233,8 @@
.\" the Solaris manual page it can cause data loss on Solaris.
.\" If the same holds on Linux, then this should be documented.
.TP
+In the previous version of kernel there were two more possible
+flags:
.BR MNT_DETACH " (since Linux 2.4.11)"
Perform a lazy unmount: make the mount point unavailable for
new accesses, and actually perform the unmount when the mount point

View File

@ -1,18 +0,0 @@
--- man-pages-2.48/man2/mmap.2.pom 2007-04-13 00:42:49.000000000 +0200
+++ man-pages-2.48/man2/mmap.2 2007-05-11 10:16:29.000000000 +0200
@@ -279,9 +279,14 @@
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.
+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.

12
man-pages-2.51-mmap.patch Normal file
View File

@ -0,0 +1,12 @@
--- man-pages-2.51/man2/mmap.2.pom 2007-05-12 01:07:02.000000000 +0200
+++ man-pages-2.51/man2/mmap.2 2007-05-31 14:33:32.000000000 +0200
@@ -197,6 +197,9 @@
as a hint: place the mapping at exactly that address.
.I start
must be a multiple of the page size.
+In all other cases
+.I start
+address is rounded up to the next page size boundary.
If the memory region specified by
.I start
and

View File

@ -1,7 +1,7 @@
Summary: Man (manual) pages from the Linux Documentation Project
Name: man-pages
Version: 2.51
Release: 1%{?dist}
Release: 2%{?dist}
License: distributable
Group: Documentation
URL: http://www.kernel.org/pub/linux/docs/manpages/
@ -21,8 +21,7 @@ Patch24: man-pages-2.51-malloc.patch
Patch28: man-pages-2.46-nscd.patch
Patch30: man-pages-2.51-libaio-includes.patch
Patch36: man-pages-2.39-unimplemented.patch
Patch37: man-pages-2.48-mmap.patch
Patch38: man-pages-2.43-mount.patch
Patch37: man-pages-2.51-mmap.patch
Patch39: man-pages-2.51-tgkill.patch
Patch40: man-pages-2.39-mmap2.patch
Patch41: man-pages-2.43-rt_spm.patch
@ -58,7 +57,6 @@ tar xzf %{SOURCE11}
#%patch30 -p1
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%patch40 -p1
%patch41 -p1
@ -212,6 +210,10 @@ rm -rf $RPM_BUILD_ROOT
%lang(en) %{_mandir}/en/man*
%changelog
* Thu May 31 2007 Ivana Varekova <varekova@redhat.com> 2.51-2
- remove mount page patch
- fix mmap patch
* Wed May 30 2007 Ivana Varekova <varekova@redhat.com> 2.51-1
- update to 2.51