subproc: debug log for unshare()
This commit is contained in:
parent
62879de5de
commit
737b300609
@ -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);
|
flags |= (nsjconf->clone_newtime ? CLONE_NEWTIME : 0);
|
||||||
|
|
||||||
if (nsjconf->mode == MODE_STANDALONE_EXECVE) {
|
if (nsjconf->mode == MODE_STANDALONE_EXECVE) {
|
||||||
|
LOG_D("unshare(flags: %s)", cloneFlagsToStr(flags).c_str());
|
||||||
if (unshare(flags) == -1) {
|
if (unshare(flags) == -1) {
|
||||||
PLOG_F("unshare(%s)", cloneFlagsToStr(flags).c_str());
|
PLOG_F("unshare(%s)", cloneFlagsToStr(flags).c_str());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user