[man-pages] - resolves: #647269 PR_SET_SECCOMP and _exit, documentation bug

Ivana Varekova varekova at fedoraproject.org
Thu Nov 18 13:17:33 UTC 2010


commit e1009b3d394172ad4d1c54da90c77c9fdcbb37b8
Author: Ivana Hutarova Varekova <varekova at redhat.com>
Date:   Thu Nov 18 15:19:46 2010 +0100

    - resolves: #647269
      PR_SET_SECCOMP and _exit, documentation bug

 man-pages-3.30-prctl.patch |   21 +++++++++++++++++++++
 man-pages.spec             |    9 ++++++++-
 2 files changed, 29 insertions(+), 1 deletions(-)
---
diff --git a/man-pages-3.30-prctl.patch b/man-pages-3.30-prctl.patch
new file mode 100644
index 0000000..bd247ac
--- /dev/null
+++ b/man-pages-3.30-prctl.patch
@@ -0,0 +1,21 @@
+diff -up man-pages-3.30/man2/prctl.2.pom man-pages-3.30/man2/prctl.2
+--- man-pages-3.30/man2/prctl.2.pom	2010-11-01 15:55:38.000000000 +0100
++++ man-pages-3.30/man2/prctl.2	2010-11-18 14:42:50.000000000 +0100
+@@ -236,9 +236,15 @@ After the secure computing mode has been
+ the only system calls that the thread is permitted to make are
+ .BR read (2),
+ .BR write (2),
+-.BR _exit (2),
++.BR sigreturn (2)
+ and
+-.BR sigreturn (2).
++.BR _exit (2).
++In glibc up to version 2.3, the
++.BR _exit()
++wrapper function invoked the kernel system call of the same name.
++Since glibc 2.3, the  wrapper  function
++invokes
++.BR exit_group(2).
+ Other system calls result in the delivery of a
+ .BR SIGKILL
+ signal.
diff --git a/man-pages.spec b/man-pages.spec
index 6d7e0b9..4cfa285 100644
--- a/man-pages.spec
+++ b/man-pages.spec
@@ -4,7 +4,7 @@
 Summary: Man (manual) pages from the Linux Documentation Project
 Name: man-pages
 Version: 3.30
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+ and GPL+ and BSD and MIT and Copyright only and IEEE
 Group: Documentation
 URL: http://www.kernel.org/pub/linux/docs/manpages/
@@ -34,6 +34,8 @@ Patch72: man-pages-posix-2003-man.patch
 Patch73: man-pages-posix-2003-printf.patch
 #Resolves: #650257
 Patch74: man-pages-3.30-open.patch
+#Resolves: #647269
+Patch75: man-pages-3.30-prctl.patch
 
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Autoreq: false
@@ -68,6 +70,7 @@ rmdir man-pages-posix-%{posix_version}-%{posix_release}
 %patch72 -p1
 %patch73 -p1
 %patch74 -p1
+%patch75 -p1
 
 ### And now remove those we are not going to use:
 
@@ -123,6 +126,10 @@ rm -rf $RPM_BUILD_ROOT
 %lang(en) %{_mandir}/en/man*/*
 
 %changelog
+* Thu Nov 18 2010 Ivana Hutarova Varekova <varekova at redhat.com> - 3.30-3
+- resolves: #647269
+  PR_SET_SECCOMP and _exit, documentation bug
+
 * Thu Nov 11 2010 Ivana Hutarova Varekova <varekova at redhat.com> - 3.30-2
 - Resolves: #650257
   fix open.2 O_EXCL description


More information about the scm-commits mailing list