about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/tst-mount-consts.py
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-06-24 16:59:17 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-07-05 10:08:48 -0300
commit78a408ee7ba041fc8d5dbd5f67065b4a982c11e5 (patch)
treefe301b5f3b5ef797c4cf418b16dfb6b285183277 /sysdeps/unix/sysv/linux/tst-mount-consts.py
parent60f574e140edddc1dab88ed85eb494ec359d6408 (diff)
downloadglibc-78a408ee7ba041fc8d5dbd5f67065b4a982c11e5.tar.gz
glibc-78a408ee7ba041fc8d5dbd5f67065b4a982c11e5.tar.xz
glibc-78a408ee7ba041fc8d5dbd5f67065b4a982c11e5.zip
linux: Add open_tree
It was added on Linux 5.2 (a07b20004793d8926f78d63eb5980559f7813404)
to return a O_PATH-opened file descriptor to an existing mountpoint.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/tst-mount-consts.py')
-rwxr-xr-xsysdeps/unix/sysv/linux/tst-mount-consts.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/tst-mount-consts.py b/sysdeps/unix/sysv/linux/tst-mount-consts.py
index dd4d50f202..82ab18d963 100755
--- a/sysdeps/unix/sysv/linux/tst-mount-consts.py
+++ b/sysdeps/unix/sysv/linux/tst-mount-consts.py
@@ -55,7 +55,8 @@ def main():
         check('FSOPEN_.*'),
         check('FSMOUNT_.*'),
         # MOVE_MOUNT__MASK may vary depending of the kernel version.
-        check('MOVE_MOUNT_.*', 'MOVE_MOUNT__MASK'))
+        check('MOVE_MOUNT_.*', 'MOVE_MOUNT__MASK'),
+        check('OPEN_TREE_*'))
     sys.exit(status)
 
 if __name__ == '__main__':