]> git.ipfire.org Git - thirdparty/systemd.git/commit
mount-util: beef up bind_remount_recursive() to be able to toggle more than MS_RDONLY
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Mar 2019 16:04:38 +0000 (17:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Mar 2019 18:33:55 +0000 (19:33 +0100)
commit64e82c1976ebab0c7788149da42e5193e9ca2dfb
tree1907a6227d0fc5c33c79425d908ff3de07d64333
parentf0a95a2c6d64436611bca31de1f7662a4066695c
mount-util: beef up bind_remount_recursive() to be able to toggle more than MS_RDONLY

The function is otherwise generic enough to toggle other bind mount
flags beyond MS_RDONLY (for example: MS_NOSUID or MS_NODEV), hence let's
beef it up slightly to support that too.
src/core/namespace.c
src/nspawn/nspawn-mount.c
src/nspawn/nspawn.c
src/shared/mount-util.c
src/shared/mount-util.h
src/volatile-root/volatile-root.c