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
e6bbc40b
Unverified
Commit
e6bbc40b
authored
May 11, 2017
by
Christian Brauner
Committed by
Stéphane Graber
May 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
start: add crucial details about lxc_spawn()
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
9a135d2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
start.c
src/lxc/start.c
+7
-0
No files found.
src/lxc/start.c
View file @
e6bbc40b
...
...
@@ -1046,6 +1046,13 @@ void resolve_clone_flags(struct lxc_handler *handler)
INFO
(
"Inheriting a UTS namespace."
);
}
/* lxc_spawn() performs crucial setup tasks and clone()s the new process which
* exec()s the requested container binary.
* Note that lxc_spawn() runs in the parent namespaces. Any operations performed
* right here should be double checked if they'd pose a security risk. (For
* example, any {u}mount() operations performed here will be reflected on the
* host!)
*/
static
int
lxc_spawn
(
struct
lxc_handler
*
handler
)
{
int
failed_before_rename
=
0
;
...
...
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