projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a263231
)
nsjail.h: missed initialization of keep_env
2.7
author
Robert Swiecki
<robert@swiecki.net>
Tue, 12 Jun 2018 14:57:19 +0000
(16:57 +0200)
committer
Robert Swiecki
<robert@swiecki.net>
Tue, 12 Jun 2018 14:57:19 +0000
(16:57 +0200)
cmdline.cc
patch
|
blob
|
history
diff --git
a/cmdline.cc
b/cmdline.cc
index 824187d8434c3a1596f80a31bbd343c86919aeab..c7e15d0b126c08e3fc3f658b036442fce2641ab6 100644
(file)
--- a/
cmdline.cc
+++ b/
cmdline.cc
@@
-374,6
+374,7
@@
std::unique_ptr<nsjconf_t> parseArgs(int argc, char* argv[]) {
nsjconf->daemonize = false;
nsjconf->tlimit = 0;
nsjconf->max_cpus = 0;
+ nsjconf->keep_env = false;
nsjconf->keep_caps = false;
nsjconf->disable_no_new_privs = false;
nsjconf->rl_as = 512 * (1024 * 1024);