]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: support "recursive" argument for VFS attributes
authorKarel Zak <kzak@redhat.com>
Wed, 15 Feb 2023 13:30:58 +0000 (14:30 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 15 Feb 2023 13:30:58 +0000 (14:30 +0100)
commite84f01c1a6ec76ccaac35a1cd253ff6f535626e5
tree8a27d922325ce9c78d070f09b0ef1b6d22c27cf7
parentb8acbba6f7ef3ea367fbf92997931c442f29fafe
libmount: support "recursive" argument for VFS attributes

 mount  -o bind,ro=recursive,nosuid /foo /bar

sets all sub-mount to read-only, but only /bar will be nosuid.

Addresses: https://github.com/util-linux/util-linux/issues/1501
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/hook_mount.c
libmount/src/mountP.h
libmount/src/optlist.c
sys-utils/mount.8.adoc