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
35b6e9e7
Unverified
Commit
35b6e9e7
authored
May 26, 2018
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conf: make close_all_fds a boolean
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
443a29a8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
conf.h
src/lxc/conf.h
+1
-1
arguments.h
src/lxc/tools/arguments.h
+1
-1
lxc_start.c
src/lxc/tools/lxc_start.c
+1
-1
No files found.
src/lxc/conf.h
View file @
35b6e9e7
...
@@ -254,7 +254,7 @@ struct lxc_conf {
...
@@ -254,7 +254,7 @@ struct lxc_conf {
struct
lxc_terminal
console
;
struct
lxc_terminal
console
;
struct
lxc_rootfs
rootfs
;
struct
lxc_rootfs
rootfs
;
char
*
ttydir
;
char
*
ttydir
;
int
close_all_fds
;
bool
close_all_fds
;
struct
{
struct
{
unsigned
int
hooks_version
;
unsigned
int
hooks_version
;
...
...
src/lxc/tools/arguments.h
View file @
35b6e9e7
...
@@ -83,7 +83,7 @@ struct lxc_arguments {
...
@@ -83,7 +83,7 @@ struct lxc_arguments {
int
force
;
int
force
;
/* close fds from parent? */
/* close fds from parent? */
int
close_all_fds
;
bool
close_all_fds
;
/* lxc-create */
/* lxc-create */
char
*
bdevtype
,
*
configfile
,
*
template
;
char
*
bdevtype
,
*
configfile
,
*
template
;
...
...
src/lxc/tools/lxc_start.c
View file @
35b6e9e7
...
@@ -96,7 +96,7 @@ static int my_parser(struct lxc_arguments *args, int c, char *arg)
...
@@ -96,7 +96,7 @@ static int my_parser(struct lxc_arguments *args, int c, char *arg)
args
->
rcfile
=
arg
;
args
->
rcfile
=
arg
;
break
;
break
;
case
'C'
:
case
'C'
:
args
->
close_all_fds
=
1
;
args
->
close_all_fds
=
true
;
break
;
break
;
case
's'
:
case
's'
:
return
lxc_config_define_add
(
&
defines
,
arg
);
return
lxc_config_define_add
(
&
defines
,
arg
);
...
...
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