strace/linux
Dmitry V. Levin 15003d43d0 Fix build on systems where libc relies on <linux/signal.h>
Commit v4.23~10 has broken the build with Android's libc because it
relies on the UAPI headers (such as <linux/signal.h>) to define various
types, rather than copying them into the libc headers (such as <signal.h>)
like most other Linux C libraries.

* linux/linux/signal.h: Rename to linux/signal.h.in.
* Makefile.am (strace_SOURCES): Remove linux/linux/signal.h.
(EXTRA_DIST): Add linux/signal.h.in.
(DISTCLEANFILES): Add linux/linux/signal.h.
* configure.ac (AC_CACHE_CHECK): Check whether <linux/signal.h>
can be used along with <signal.h>, install linux/linux/signal.h
workaround if they cannot be used together.

Reported-by: Elliott Hughes <enh@google.com>
Closes: https://github.com/strace/strace/issues/72
2018-06-18 22:59:38 +00:00
..
32 Implement io_pgetevents syscall decoding 2018-06-13 16:18:38 +00:00
64 Implement io_pgetevents syscall decoding 2018-06-13 16:18:38 +00:00
aarch64 Remove redundant range initializers in syscallent files 2018-06-17 23:02:51 +00:00
alpha linux: set error flags in arch_set_error on POWER and Alpha 2018-06-11 14:02:06 +00:00
arc Introduce raw syscall invocation wrappers 2018-03-23 13:43:13 +00:00
arm Wire up rseq syscall 2018-06-13 23:51:31 +00:00
avr32 Introduce raw syscall invocation wrappers 2018-03-23 13:43:13 +00:00
bfin Introduce raw syscall invocation wrappers 2018-03-23 13:43:13 +00:00
hppa Introduce raw syscall invocation wrappers 2018-03-23 13:43:13 +00:00
i386 Wire up rseq syscall 2018-06-13 23:51:31 +00:00
ia64 ia64: remove legacy i386 entries from the syscall entry table 2018-06-13 15:05:09 +00:00
m68k Introduce raw syscall invocation wrappers 2018-03-23 13:43:13 +00:00
metag Introduce raw syscall invocation wrappers 2018-03-23 13:43:13 +00:00
microblaze Introduce raw syscall invocation wrappers 2018-03-23 13:43:13 +00:00
mips mips: add missing pure flag to syscall entries 2018-06-11 14:02:06 +00:00
nios2 Introduce raw syscall invocation wrappers 2018-03-23 13:43:13 +00:00
or1k Introduce raw syscall invocation wrappers 2018-03-23 13:43:13 +00:00
powerpc Wire up rseq syscall 2018-06-13 23:51:31 +00:00
powerpc64 Wire up rseq syscall 2018-06-13 23:51:31 +00:00
riscv Simplify errnoent and signalent 2018-05-22 01:08:31 +00:00
s390 s390: wire up kexec_file_load syscall 2018-06-01 13:37:12 +00:00
s390x s390: wire up kexec_file_load syscall 2018-06-01 13:37:12 +00:00
sh Introduce raw syscall invocation wrappers 2018-03-23 13:43:13 +00:00
sh64 Introduce raw syscall invocation wrappers 2018-03-23 13:43:13 +00:00
sparc Introduce print_big_u64_addr 2018-04-04 12:24:19 +00:00
sparc64 Simplify errnoent and signalent 2018-05-22 01:08:31 +00:00
tile Simplify errnoent and signalent 2018-05-22 01:08:31 +00:00
x32 Remove redundant range initializers in syscallent files 2018-06-17 23:02:51 +00:00
x86_64 Wire up rseq syscall 2018-06-13 23:51:31 +00:00
xtensa Introduce raw syscall invocation wrappers 2018-03-23 13:43:13 +00:00
arch_defs_.h Introduce print_big_u64_addr 2018-04-04 12:24:19 +00:00
arch_kvm.c kvm: decode the argument of KVM_{SET, GET}_SREGS ioctl command 2017-12-04 18:29:38 +00:00
arch_regs.h Move regs-related macros and declarations from defs.h to regs.h 2015-02-13 18:28:08 +00:00
arch_sigreturn.c Move sigreturn parser to libstrace 2017-03-13 15:22:50 +00:00
asm_stat.h Include "kernel_types.h" in defs.h and tests/tests.h 2016-12-16 12:01:44 +00:00
dummy.h Update copyright headers 2018-06-14 11:00:00 +00:00
errnoent.h errnoent.h: add ERECALLCONFLICT 2018-03-06 23:52:08 +00:00
getregs_old.h syscall.c: refactor getregs_old fallback in get_regs 2016-11-13 11:16:15 +00:00
inet_diag.h Update the list of INET_DIAG_BC_* operators 2018-02-27 13:14:38 +00:00
netlink_diag.h netlink: decode AF_NETLINK netlink_diag_msg attributes 2017-07-01 00:05:39 +00:00
nr_prefix.c Handle very special __ARM_NR_-prefixed syscalls 2018-02-10 00:01:01 +00:00
packet_diag.h netlink: decode AF_PACKET packet_diag_msg attributes 2017-07-09 00:21:02 +00:00
raw_syscall.h Introduce raw syscall invocation wrappers 2018-03-23 13:43:13 +00:00
rt_sigframe.h Introduce struct_rt_sigframe type 2017-03-13 15:22:50 +00:00
shuffle_scno.c Make shuffle_scno globally available 2018-02-10 00:01:01 +00:00
signal.h.in Fix build on systems where libc relies on <linux/signal.h> 2018-06-18 22:59:38 +00:00
signalent.h Regenerated 2001-08-03 21:51:48 +00:00
smc_diag.h netlink: decode AF_SMC smc_diag_msg attributes 2017-07-10 01:15:57 +00:00
sock_diag.h netlink: decode AF_INET inet_diag_msg attributes 2017-06-30 21:38:49 +00:00
subcall.h Add copyright headers 2017-05-22 17:33:51 +00:00
syscall.h Update copyright headers 2018-02-13 22:00:00 +00:00
unix_diag.h netlink: decode AF_UNIX unix_diag_msg attributes 2017-07-01 00:05:39 +00:00
userent0.h process.c: split struct_user_offsets into architecture-specific include files 2014-12-11 19:25:02 +00:00
userent.h process.c: split struct_user_offsets into architecture-specific include files 2014-12-11 19:25:02 +00:00