diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-01-31 10:04:57 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-06-24 16:03:38 -0300 |
commit | 5b41b2659d35b72636ab50a28d6815cad9c22a66 (patch) | |
tree | f205af8d360c19eac950a5fd6a94d262a9697cac /sysdeps/unix/sysv/linux/tst-mount-consts.py | |
parent | b4deb7beb8c977f79642a6a839c0475e1ce3a209 (diff) | |
download | glibc-5b41b2659d35b72636ab50a28d6815cad9c22a66.tar glibc-5b41b2659d35b72636ab50a28d6815cad9c22a66.tar.gz glibc-5b41b2659d35b72636ab50a28d6815cad9c22a66.tar.bz2 glibc-5b41b2659d35b72636ab50a28d6815cad9c22a66.zip |
linux: Add move_mount
It was added on Linux 5.2 (2db154b3ea8e14b04fee23e3fdfd5e9d17fbc6ae)
as way t move a mount from one place to another and, in the next
commit, allow to attach an unattached mount tree.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/tst-mount-consts.py')
-rwxr-xr-x | sysdeps/unix/sysv/linux/tst-mount-consts.py | 4 |
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 9fa0947308..aa9c02796e 100755 --- a/sysdeps/unix/sysv/linux/tst-mount-consts.py +++ b/sysdeps/unix/sysv/linux/tst-mount-consts.py @@ -51,7 +51,9 @@ def main(): status = max( check('FSOPEN_.*'), - check('FSMOUNT_.*')) + check('FSMOUNT_.*'), + # MOVE_MOUNT__MASK may vary depending of the kernel version. + check('MOVE_MOUNT_.*', 'MOVE_MOUNT__MASK')) sys.exit(status) if __name__ == '__main__': |