[PATCH v1] Remove configure checks for few sys/ headers

Khem Raj raj.khem at gmail.com
Tue Nov 12 20:42:20 UTC 2019


sys/ipc.h, sys/sem.h, sys/shm.h, and sys/msg.h are actually wrappers
for kernel headers in libc if available, here strace is trying to match
traced process's APIs to syscalls kernel structures

Removing the checks makes it default to right kernel UAPI headers
under linux/

Suggested-by: Rich Felker <dalias at aerifal.cx>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 configure.ac | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index ac0d5662..e633d07f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -441,11 +441,7 @@ AC_CHECK_HEADERS(m4_normalize([
 	sys/conf.h
 	sys/eventfd.h
 	sys/fanotify.h
-	sys/ipc.h
-	sys/msg.h
 	sys/quota.h
-	sys/sem.h
-	sys/shm.h
 	sys/signalfd.h
 	sys/xattr.h
 	ustat.h
-- 
2.24.0



More information about the Strace-devel mailing list