- fix rt_sigprocmask.2 (#219074)

- remove pciconfig_{read,write,iobase}.2 (#219827)
- fix swapon.2 (#222493)
This commit is contained in:
Ivana Varekova 2007-01-29 13:29:13 +00:00
parent c3982a356f
commit d7fdae7b8a
3 changed files with 54 additions and 1 deletions

View File

@ -0,0 +1,20 @@
--- man-pages-2.43/man2/rt_sigprocmask.2.pom 2007-01-29 10:50:05.000000000 +0100
+++ man-pages-2.43/man2/rt_sigprocmask.2 2007-01-29 11:46:45.000000000 +0100
@@ -29,7 +29,7 @@
.ad l
.hy 0
.HP 25
-long\ \fBsys_rt_sigprocmask\fR\ (sigset_t\ \fI*set\fR, sigset_t\ \fI*oset\fR, size_t\ \fIsigsetsize\fR);
+long\ \fBsys_rt_sigprocmask\fR\ (int\ \fIhow\fR, sigset_t\ \fI*set\fR, sigset_t\ \fI*oset\fR, size_t\ \fIsigsetsize\fR);
.ad
.hy
@@ -60,7 +60,7 @@
.TP
-EINVAL
-\fIsigsetsize\fR was not equivalent to the size of a \fIsigset_t\fR type.
+\fIsigsetsize\fR was not equivalent to the size of a \fIsigset_t\fR type or the value specified in \fIhow\fR was invalid.
.TP
-EFAULT

View File

@ -0,0 +1,21 @@
--- man-pages-2.43/man2/swapon.2.pom 2007-01-29 13:58:32.000000000 +0100
+++ man-pages-2.43/man2/swapon.2 2007-01-29 14:22:04.000000000 +0100
@@ -134,9 +134,15 @@
.B EPERM
The caller does not have the
.B CAP_SYS_ADMIN
-capability, or all
-.B MAX_SWAPFILES
-(earlier 8; 32 since Linux 2.4.10) are in use.
+capability.
+If all swapfiles are in use.
+(If
+.B CONFIG_MIGRATION
+is enabled then the maximal number of swap files is
+.B MAX_SWAPFILES-2
+(30 since linux 2.4.10), otherwise
+.B MAX_SWAPFILES
+(32 since Linux 2.4.10, 8 earlier) swap files could be used)
.SH "CONFORMING TO"
These functions are Linux specific and should not be used in programs
intended to be portable.

View File

@ -1,7 +1,7 @@
Summary: Man (manual) pages from the Linux Documentation Project
Name: man-pages
Version: 2.43
Release: 3%{?dist}
Release: 4%{?dist}
License: distributable
Group: Documentation
URL: http://www.kernel.org/pub/linux/docs/manpages/
@ -40,6 +40,8 @@ Patch37: man-pages-2.41-mmap.patch
Patch38: man-pages-2.43-mount.patch
Patch39: man-pages-2.39-tgkill.patch
Patch40: man-pages-2.39-mmap2.patch
Patch41: man-pages-2.43-rt_spm.patch
Patch42: man-pages-2.43-swapon.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root
Autoreq: false
@ -86,6 +88,8 @@ tar xzf %{SOURCE11}
%patch38 -p1
%patch39 -p1
%patch40 -p1
%patch41 -p1
%patch42 -p1
%build
@ -151,6 +155,9 @@ rm -f man2/{mbind,set_mempolicy}.2
# Problem with db x db4 - man pages
rm -f man3/{btree,dbopen,hash,mpool,recno}.3
# Deprecated
rm -f man2/pciconfig_{write,read,iobase}.2
find . -name "*sudo*" -exec rm {} \;
for l1 in man[1-9]*/*
@ -186,6 +193,11 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/en/man*
%changelog
* Mon Jan 29 2007 Ivana Varekova <varekova@redhat.com> 2.43-4
- fix rt_sigprocmask.2 (#219074)
- remove pciconfig_{read,write,iobase}.2 (#219827)
- fix swapon.2 (#222493)
* Fri Jan 12 2007 Ivana Varekova <varekova@redhat.com> 2.43-3
- fix mmap2 man page
- spec file cleanup