Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 85c2de3902df6ccad2c9e0585fb76cd7916a3443 https://github.com/lxc/lxc/commit/85c2de3902df6ccad2c9e0585fb76cd7916a3443 Author: Maximilian Blenk <maximilian.bl...@bmw.de> Date: 2019-12-06 (Fri, 06 Dec 2019)
Changed paths: M src/lxc/conf.c Log Message: ----------- config: Fix parsing of mount options When parsing mount options e.g. from lxc.mount.entry the specified options are mapped to the flags constants. To do so, the strings are compared to the options contained in mount_opt. However, when comparing the strings, the length of the string is not checked. That entails that the option "rootcontext=selinux-context" is mapped to the mount option read-only (ro). This commit fixes this issue by checking if a '=' is contained in the specified option and additionally comparing the length of the strings. Signed-off-by: Maximilian Blenk <maximilian.bl...@bmw.de> Commit: 6b3dccea88b17272928195c5f2e63f81736f6c5b https://github.com/lxc/lxc/commit/6b3dccea88b17272928195c5f2e63f81736f6c5b Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2019-12-06 (Fri, 06 Dec 2019) Changed paths: M src/lxc/conf.c Log Message: ----------- Merge pull request #3213 from blenk92/fix-mount-parsing config: Fix parsing of mount options Compare: https://github.com/lxc/lxc/compare/750012991fb1...6b3dccea88b1 _______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel