[PATCH v2 0/5] Fix sys/mount.h and kernel header tests
Adhemerval Zanella
adhemerval.zanella@linaro.org
Wed Aug 10 17:24:42 GMT 2022
The patchset removes the testing against the installed Linux version,
instead check if the required header is present.
It also fixes the sys/mount.h to be able use along kernel linux/mount.h
and linux/fs.h headers.
Adhemerval Zanella (5):
glibcextract.py: Add compile_c_snippet
linux: Use compile_c_snippet to check linux/pidfd.h availability
linux: Mimic kernel defition for BLOCK_SIZE
linux: Use compile_c_snippet to check linux/mount.h availability
linux: Fix sys/mount.h usage with kernel headers
scripts/glibcextract.py | 20 ++++++
sysdeps/unix/sysv/linux/Makefile | 8 +++
sysdeps/unix/sysv/linux/sys/mount.h | 73 +++++++++++++++++---
sysdeps/unix/sysv/linux/tst-mount-compile.py | 66 ++++++++++++++++++
sysdeps/unix/sysv/linux/tst-mount-consts.py | 5 ++
sysdeps/unix/sysv/linux/tst-pidfd-consts.py | 8 ++-
6 files changed, 168 insertions(+), 12 deletions(-)
create mode 100755 sysdeps/unix/sysv/linux/tst-mount-compile.py
--
2.34.1
More information about the Libc-alpha
mailing list