conf: append 0 0 to nesting helpers mount entries

Otherwise musl's getmntent_r() parser will fail. Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 9d03d857
...@@ -2397,8 +2397,8 @@ static int setup_mount(const struct lxc_conf *conf, ...@@ -2397,8 +2397,8 @@ static int setup_mount(const struct lxc_conf *conf,
* access them as a side effect without explicitly allowing it. * access them as a side effect without explicitly allowing it.
*/ */
static const char nesting_helpers[] = static const char nesting_helpers[] =
"proc dev/.lxc/proc proc create=dir,optional\n" "proc dev/.lxc/proc proc create=dir,optional 0 0\n"
"sys dev/.lxc/sys sysfs create=dir,optional\n"; "sys dev/.lxc/sys sysfs create=dir,optional 0 0\n";
FILE *make_anonymous_mount_file(struct lxc_list *mount, FILE *make_anonymous_mount_file(struct lxc_list *mount,
bool include_nesting_helpers) bool include_nesting_helpers)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment