Brad Bishop | 1d80a2e | 2019-11-15 16:35:03 -0500 | [diff] [blame^] | 1 | Remove configure checks for few sys/ headers |
| 2 | |
| 3 | sys/ipc.h, sys/sem.h, sys/shm.h, and sys/msg.h are actually wrappers |
| 4 | for kernel headers in libc if available, here strace is trying to match |
| 5 | traced process's APIs to syscalls kernel structures |
| 6 | |
| 7 | Removing the checks makes it default to right kernel UAPI headers under linux/ |
| 8 | |
| 9 | Upstream-Status: Submitted [https://lists.strace.io/pipermail/strace-devel/2019-November/009222.html] |
| 10 | Suggested-by: Rich Felker <dalias@aerifal.cx> |
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 12 | --- a/configure.ac |
| 13 | +++ b/configure.ac |
| 14 | @@ -439,11 +439,7 @@ AC_CHECK_HEADERS(m4_normalize([ |
| 15 | sys/conf.h |
| 16 | sys/eventfd.h |
| 17 | sys/fanotify.h |
| 18 | - sys/ipc.h |
| 19 | - sys/msg.h |
| 20 | sys/quota.h |
| 21 | - sys/sem.h |
| 22 | - sys/shm.h |
| 23 | sys/signalfd.h |
| 24 | sys/xattr.h |
| 25 | ustat.h |