mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-30 15:25:45 +00:00
conf: append 0 0 to nesting helpers mount entries
Otherwise musl's getmntent_r() parser will fail. Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
9d03d85733
commit
dc691e340e
@ -2397,8 +2397,8 @@ static int setup_mount(const struct lxc_conf *conf,
|
||||
* access them as a side effect without explicitly allowing it.
|
||||
*/
|
||||
static const char nesting_helpers[] =
|
||||
"proc dev/.lxc/proc proc create=dir,optional\n"
|
||||
"sys dev/.lxc/sys sysfs create=dir,optional\n";
|
||||
"proc dev/.lxc/proc proc create=dir,optional 0 0\n"
|
||||
"sys dev/.lxc/sys sysfs create=dir,optional 0 0\n";
|
||||
|
||||
FILE *make_anonymous_mount_file(struct lxc_list *mount,
|
||||
bool include_nesting_helpers)
|
||||
|
Loading…
Reference in New Issue
Block a user