man-pages/man-pages-3.30-prctl.patch

22 lines
695 B
Diff
Raw Normal View History

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.