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:
62879de
)
subproc: debug log for unshare()
author
Robert Swiecki
<robert@swiecki.net>
Fri, 16 Jul 2021 20:47:18 +0000
(22:47 +0200)
committer
Robert Swiecki
<robert@swiecki.net>
Fri, 16 Jul 2021 20:47:18 +0000
(22:47 +0200)
subproc.cc
patch
|
blob
|
history
diff --git
a/subproc.cc
b/subproc.cc
index e573472508bf0d0db4913beec3c87d10a858248f..bb25ec336d53c1715abe6ca8ba6a1a4805fafdf5 100644
(file)
--- a/
subproc.cc
+++ b/
subproc.cc
@@
-439,6
+439,7
@@
pid_t runChild(nsjconf_t* nsjconf, int netfd, int fd_in, int fd_out, int fd_err)
flags |= (nsjconf->clone_newtime ? CLONE_NEWTIME : 0);
if (nsjconf->mode == MODE_STANDALONE_EXECVE) {
+ LOG_D("unshare(flags: %s)", cloneFlagsToStr(flags).c_str());
if (unshare(flags) == -1) {
PLOG_F("unshare(%s)", cloneFlagsToStr(flags).c_str());
}