Update siginfo codes
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 11 Mar 2014 01:57:02 +0000 (01:57 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 11 Mar 2014 01:57:02 +0000 (01:57 +0000)
* signal.c (siginfo_codes): Add SI_DETHREAD.

signal.c

index e17aa8be25a40c4663308c8d5db432f39a058b77..c85e1b56d45d00f9c8bc69ea73d857a47984f806 100644 (file)
--- a/signal.c
+++ b/signal.c
@@ -376,6 +376,7 @@ print_sigset_addr_len(struct tcb *tcp, long addr, long len)
 #define SI_ASYNCIO      -4      /* sent by AIO completion */
 #define SI_SIGIO       -5      /* sent by SIGIO */
 #define SI_TKILL       -6      /* sent by tkill */
+#define SI_DETHREAD    -7      /* sent by execve killing subsidiary threads */
 #define SI_ASYNCNL     -60     /* sent by asynch name lookup completion */
 #endif
 
@@ -408,6 +409,9 @@ static const struct xlat siginfo_codes[] = {
 #ifdef SI_TKILL
        XLAT(SI_TKILL),
 #endif
+#ifdef SI_DETHREAD
+       XLAT(SI_DETHREAD),
+#endif
 #ifdef SI_ASYNCNL
        XLAT(SI_ASYNCNL),
 #endif