2003-07-04  Ulrich Drepper  <drepper@redhat.com>

	* init.c (sigcancel_handler): Change parameters to match handler
	for SA_SIGACTION.  Check signal number and code to recognize
	invalid invocations.
This commit is contained in:
Ulrich Drepper 2003-07-05 06:25:25 +00:00
parent a1ed6b4cab
commit 86a0c4fafb
2 changed files with 23 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2003-07-04 Ulrich Drepper <drepper@redhat.com>
* init.c (sigcancel_handler): Change parameters to match handler
for SA_SIGACTION. Check signal number and code to recognize
invalid invocations.
2003-07-03 Roland McGrath <roland@redhat.com> 2003-07-03 Roland McGrath <roland@redhat.com>
* sysdeps/ia64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): * sysdeps/ia64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr):

View File

@ -7,9 +7,11 @@ echo "$as_me: error: compiler support for __thread is required" >&2;}
fi fi
if test "x$libc_cv_asm_cfi_directives" != xyes; then if test "x$libc_cv_asm_cfi_directives" != xyes; then
{ { echo "$as_me:$LINENO: error: CFI directive support in assembler is required" >&5 if test "x$base_machine" = xi386 || test "x$base_machine" = "xx86_86"; then
{ { echo "$as_me:$LINENO: error: CFI directive support in assembler is required" >&5
echo "$as_me: error: CFI directive support in assembler is required" >&2;} echo "$as_me: error: CFI directive support in assembler is required" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi
fi fi
@ -20,7 +22,11 @@ if test "${libc_cv_forced_unwind+set}" = set; then
else else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure" #line $LINENO "configure"
#include "confdefs.h" /* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <unwind.h> #include <unwind.h>
int int
main () main ()
@ -48,7 +54,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
libc_cv_forced_unwind=yes libc_cv_forced_unwind=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
libc_cv_forced_unwind=no libc_cv_forced_unwind=no
fi fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
@ -69,7 +76,11 @@ if test "${libc_cv_c_cleanup+set}" = set; then
else else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure" #line $LINENO "configure"
#include "confdefs.h" /* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <stdio.h> #include <stdio.h>
void cl (void *a) { } void cl (void *a) { }
@ -99,7 +110,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
libc_cv_c_cleanup=yes libc_cv_c_cleanup=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
libc_cv_c_cleanup=no libc_cv_c_cleanup=no
fi fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext