mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Add MOVE_MOUNT_BENEATH from Linux 6.5 to sys/mount.h
This patch adds the MOVE_MOUNT_BENEATH constant from Linux 6.5 to glibc's sys/mount.h and updates tst-mount-consts.py to reflect these constants being up to date with that Linux kernel version. Tested with build-many-glibcs.py.
This commit is contained in:
@@ -39,10 +39,10 @@ def main():
|
||||
sys.exit (77)
|
||||
|
||||
linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc)
|
||||
# Constants in glibc were updated to match Linux v6.4. When glibc
|
||||
# Constants in glibc were updated to match Linux v6.5. When glibc
|
||||
# constants are updated this value should be updated to match the
|
||||
# released kernel version from which the constants were taken.
|
||||
linux_version_glibc = (6, 4)
|
||||
linux_version_glibc = (6, 5)
|
||||
def check(cte, exclude=None):
|
||||
return glibcextract.compare_macro_consts(
|
||||
'#include <sys/mount.h>\n',
|
||||
|
||||
Reference in New Issue
Block a user