Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
dc691e34
Unverified
Commit
dc691e34
authored
Jan 27, 2019
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
>
parent
9d03d857
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
conf.c
src/lxc/conf.c
+2
-2
No files found.
src/lxc/conf.c
View file @
dc691e34
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment