PR_SET_SECCOMP and _exit, documentation bug
This commit is contained in:
Ivana Hutarova Varekova 2010-11-18 15:19:46 +01:00
parent 6b2a8265c8
commit e1009b3d39
2 changed files with 29 additions and 1 deletions

View File

@ -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.

View File

@ -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@redhat.com> - 3.30-3
- resolves: #647269
PR_SET_SECCOMP and _exit, documentation bug
* Thu Nov 11 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 3.30-2
- Resolves: #650257
fix open.2 O_EXCL description