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
8aaef888
Commit
8aaef888
authored
Apr 06, 2015
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Android build because of getmntent_r
Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
504687d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
lxccontainer.c
src/lxc/lxccontainer.c
+6
-1
No files found.
src/lxc/lxccontainer.c
View file @
8aaef888
...
@@ -67,6 +67,12 @@
...
@@ -67,6 +67,12 @@
#include <../include/ifaddrs.h>
#include <../include/ifaddrs.h>
#endif
#endif
#if IS_BIONIC
#include <../include/lxcmntent.h>
#else
#include <mntent.h>
#endif
#define MAX_BUFFER 4096
#define MAX_BUFFER 4096
#define NOT_SUPPORTED_ERROR "the requested function %s is not currently supported with unprivileged containers"
#define NOT_SUPPORTED_ERROR "the requested function %s is not currently supported with unprivileged containers"
...
@@ -84,7 +90,6 @@ return -1;
...
@@ -84,7 +90,6 @@ return -1;
}
}
#endif
#endif
lxc_log_define
(
lxc_container
,
lxc
);
lxc_log_define
(
lxc_container
,
lxc
);
static
bool
do_lxcapi_destroy
(
struct
lxc_container
*
c
);
static
bool
do_lxcapi_destroy
(
struct
lxc_container
*
c
);
...
...
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