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
f4ffd9f8
Unverified
Commit
f4ffd9f8
authored
Mar 26, 2018
by
Stéphane Graber
Committed by
GitHub
Mar 26, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2237 from brauner/2018-03-26/always_make_dumpable
start: always make us dumpable
parents
065d5d0d
d7883725
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
start.c
src/lxc/start.c
+3
-5
No files found.
src/lxc/start.c
View file @
f4ffd9f8
...
@@ -1105,11 +1105,9 @@ static int do_start(void *data)
...
@@ -1105,11 +1105,9 @@ static int do_start(void *data)
if
(
ret
<
0
&&
(
handler
->
am_root
||
errno
!=
EPERM
))
if
(
ret
<
0
&&
(
handler
->
am_root
||
errno
!=
EPERM
))
goto
out_warn_father
;
goto
out_warn_father
;
if
(
!
handler
->
am_root
)
{
ret
=
prctl
(
PR_SET_DUMPABLE
,
1
,
0
,
0
,
0
);
ret
=
prctl
(
PR_SET_DUMPABLE
,
1
,
0
,
0
,
0
);
if
(
ret
<
0
)
if
(
ret
<
0
)
goto
out_warn_father
;
goto
out_warn_father
;
}
/* set{g,u}id() clears deathsignal */
/* set{g,u}id() clears deathsignal */
ret
=
lxc_set_death_signal
(
SIGKILL
);
ret
=
lxc_set_death_signal
(
SIGKILL
);
...
...
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