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-01-31 09:46:24 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-06-24 16:03:31 -0300
commitb4deb7beb8c977f79642a6a839c0475e1ce3a209 (patch)
tree13200fa7415f11a269750fc039437a31d9e05cd5 /sysdeps/unix/sysv/linux/tst-mount-consts.py
parent6c0eedd97e49aae3b22abcdd892efb7c3f57b9f4 (diff)
downloadglibc-b4deb7beb8c977f79642a6a839c0475e1ce3a209.tar.gz
glibc-b4deb7beb8c977f79642a6a839c0475e1ce3a209.tar.xz
glibc-b4deb7beb8c977f79642a6a839c0475e1ce3a209.zip
linux: Add fsmount
It was added on 5.2 (93766fbd2696c2c4453dd8e1070977e9cd4e6b6d) to
provide a way by which a filesystem opened with fsopen and configured
by a series of fsconfig calls can have a detached mount object
created for it.

Tested-by: Carlos O'Donell <carlos@redhat.com>
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.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/tst-mount-consts.py b/sysdeps/unix/sysv/linux/tst-mount-consts.py
index 33c668943d..9fa0947308 100755
--- a/sysdeps/unix/sysv/linux/tst-mount-consts.py
+++ b/sysdeps/unix/sysv/linux/tst-mount-consts.py
@@ -49,7 +49,9 @@ def main():
                 linux_version_glibc > linux_version_headers,
                 linux_version_headers > linux_version_glibc)
 
-    status = check('FSOPEN_.*')
+    status = max(
+        check('FSOPEN_.*'),
+        check('FSMOUNT_.*'))
     sys.exit(status)
 
 if __name__ == '__main__':