about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/pthread_kill.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/pthread_kill.c')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/pthread_kill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/pthread_kill.c b/nptl/sysdeps/unix/sysv/linux/pthread_kill.c
index a35a3f025b..8da195aa0a 100644
--- a/nptl/sysdeps/unix/sysv/linux/pthread_kill.c
+++ b/nptl/sysdeps/unix/sysv/linux/pthread_kill.c
@@ -37,7 +37,7 @@ __pthread_kill (threadid, signo)
     return ESRCH;
 
   /* Disallow sending the signal we use for cancellation.  */
-  if (signo == SIGCANCEL)
+  if (signo == SIGCANCEL || signo == SIGTIMER)
     return EINVAL;
 
   /* We have a special syscall to do the work.  */