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
3fe0b3cd
Unverified
Commit
3fe0b3cd
authored
Apr 10, 2019
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
start: backport monitor_pid handling
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
051ef273
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
start.c
src/lxc/start.c
+2
-0
start.h
src/lxc/start.h
+3
-0
No files found.
src/lxc/start.c
View file @
3fe0b3cd
...
...
@@ -769,6 +769,8 @@ int lxc_init(const char *name, struct lxc_handler *handler)
const
char
*
loglevel
;
struct
lxc_conf
*
conf
=
handler
->
conf
;
handler
->
monitor_pid
=
lxc_raw_getpid
();
lsm_init
();
TRACE
(
"Initialized LSM"
);
...
...
src/lxc/start.h
View file @
3fe0b3cd
...
...
@@ -102,6 +102,9 @@ struct lxc_handler {
/* The child's pid. */
pid_t
pid
;
/* The monitor's pid. */
pid_t
monitor_pid
;
/* Whether the child has already exited. */
bool
init_died
;
...
...
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