diff options
| author | Mark Wielaard <[email protected]> | 2019-03-04 20:10:35 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2019-03-04 20:10:37 +0100 |
| commit | 142a51944db63f64d4839c65e904df48474dcb12 (patch) | |
| tree | 3d2ae3b73c0dec05ee5fcbde17a1d8270b2e9c82 /tests | |
| parent | e56a09694af1b82e2cae7ecb5d57d76e5d6f973d (diff) | |
tests: Remove tgkill define from backtrace.c
tgkill is never used in the test and it might conflict with newer
glibc which might define tgkill themselves (just like gettid):
https://sourceware.org/bugzilla/show_bug.cgi?id=6399
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ChangeLog | 4 | ||||
| -rw-r--r-- | tests/backtrace.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index b76c44d9..71aa178d 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2019-03-04 Mark Wielaard <[email protected]> + + * backtrace.c (tgkill): Remove define. + 2019-01-24 Mark Wielaard <[email protected]> * Makefile.am (system_elf_libelf_test_CPPFLAGS): Guard by diff --git a/tests/backtrace.c b/tests/backtrace.c index 05e8ef82..ecf55830 100644 --- a/tests/backtrace.c +++ b/tests/backtrace.c @@ -296,7 +296,6 @@ prepare_thread (pid_t pid2 __attribute__ ((unused)), #include <asm/unistd.h> #include <unistd.h> -#define tgkill(pid, tid, sig) syscall (__NR_tgkill, (pid), (tid), (sig)) static void report_pid (Dwfl *dwfl, pid_t pid) |
