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:
a2dacef
)
nsjail: remove warning about CLONE_NEWUSER
author
Robert Swiecki
<robert@swiecki.net>
Fri, 29 Mar 2019 20:42:05 +0000
(21:42 +0100)
committer
Robert Swiecki
<robert@swiecki.net>
Fri, 29 Mar 2019 20:42:05 +0000
(21:42 +0100)
nsjail.cc
patch
|
blob
|
history
diff --git
a/nsjail.cc
b/nsjail.cc
index
720095f
..
fd44155
100644
(file)
--- a/
nsjail.cc
+++ b/
nsjail.cc
@@
-203,9
+203,6
@@
int main(int argc, char* argv[]) {
if (!nsjconf) {
LOG_F("Couldn't parse cmdline options");
}
- if (!nsjconf->clone_newuser && geteuid() != 0) {
- LOG_W("--disable_clone_newuser might require root() privs");
- }
if (nsjconf->daemonize && (daemon(0, 0) == -1)) {
PLOG_F("daemon");
}