public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Fix sys/mount.h and kernel header tests
@ 2022-08-10 17:24 Adhemerval Zanella
  2022-08-10 17:24 ` [PATCH v2 1/5] glibcextract.py: Add compile_c_snippet Adhemerval Zanella
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Adhemerval Zanella @ 2022-08-10 17:24 UTC (permalink / raw)
  To: libc-alpha, Florian Weimer

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-08-12 12:45 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-10 17:24 [PATCH v2 0/5] Fix sys/mount.h and kernel header tests Adhemerval Zanella
2022-08-10 17:24 ` [PATCH v2 1/5] glibcextract.py: Add compile_c_snippet Adhemerval Zanella
2022-08-10 17:35   ` Florian Weimer
2022-08-10 19:00     ` Adhemerval Zanella Netto
2022-08-10 17:38   ` Florian Weimer
2022-08-10 17:24 ` [PATCH v2 2/5] linux: Use compile_c_snippet to check linux/pidfd.h availability Adhemerval Zanella
2022-08-10 17:38   ` Florian Weimer
2022-08-10 17:24 ` [PATCH v2 3/5] linux: Mimic kernel defition for BLOCK_SIZE Adhemerval Zanella
2022-08-10 17:36   ` Florian Weimer
2022-08-10 17:24 ` [PATCH v2 4/5] linux: Use compile_c_snippet to check linux/mount.h availability Adhemerval Zanella
2022-08-10 17:36   ` Florian Weimer
2022-08-10 17:24 ` [PATCH v2 5/5] linux: Fix sys/mount.h usage with kernel headers Adhemerval Zanella
2022-08-11 21:57   ` Florian Weimer
2022-08-12 12:45     ` Adhemerval Zanella Netto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).