]> git.ipfire.org Git - thirdparty/systemd.git/commit
remount-fs: refuse to remount based on fstab when fstab=no kernel command line option... 28728/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Aug 2023 17:02:23 +0000 (02:02 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 9 Aug 2023 08:59:41 +0000 (17:59 +0900)
commita38de31c8b0dc5a5b1b534e766cb12988a2db5d9
tree272805402932af77e2182c2131278c92311eef57
parent1be6f21320de1992abf45d893bc23dc187b112df
remount-fs: refuse to remount based on fstab when fstab=no kernel command line option specified

Otherwise, if for some reasons remount-fs is invoked even when fstab=no is
specified, mounts may get unexpected options from fstab.

For safety, let's parse the kernel command line option.
src/remount-fs/remount-fs.c