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:
ff63b2e
)
nsjail: more debug messages
author
Robert Swiecki
<robert@swiecki.net>
Mon, 28 May 2018 00:04:03 +0000
(
02:04
+0200)
committer
Robert Swiecki
<robert@swiecki.net>
Mon, 28 May 2018 00:04:03 +0000
(
02:04
+0200)
nsjail.cc
patch
|
blob
|
history
diff --git
a/nsjail.cc
b/nsjail.cc
index 1e59b89c61d2de44dc85c6f23a037bb0a1600601..dc35ef9b4c401a5cbafe448311d9477dd6de6a67 100644
(file)
--- a/
nsjail.cc
+++ b/
nsjail.cc
@@
-31,6
+31,8
@@
#include <termios.h>
#include <unistd.h>
+#include <memory>
+
#include "cmdline.h"
#include "logs.h"
#include "macros.h"
@@
-224,5
+226,6
@@
int main(int argc, char* argv[]) {
/* Try to restore the underlying console's params in case some program has changed it */
nsjail::setTC(STDIN_FILENO, trm.get());
+ LOG_D("Returning with %d", ret);
return ret;
}