From a0cd9bc3392f56ca488bea61269d7468ae6c5dce Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 7 Mar 2014 15:41:25 -0800 Subject: [PATCH] Add si_timerid to . The kernel uses the very misleading name "si_tid", but glibc uses the more intention-revealing "si_timerid". We should let people use that. (Added because I wanted to improve SI_TIMER siginfo_t dumping in strace.) Change-Id: Ib626cdd3b57a6afb276a15753a237b4e81ec45e3 --- libc/include/signal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libc/include/signal.h b/libc/include/signal.h index 29bef573c..267f3e6be 100644 --- a/libc/include/signal.h +++ b/libc/include/signal.h @@ -66,6 +66,8 @@ extern const char* const sys_signame[]; /* BSD compatibility. */ typedef __sighandler_t sig_t; /* BSD compatibility. */ typedef __sighandler_t sighandler_t; /* glibc compatibility. */ +#define si_timerid si_tid /* glibc compatibility. */ + #if defined(__LP64__) struct sigaction {