aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/tools/linux-sandbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/tools/linux-sandbox.cc')
-rw-r--r--src/main/tools/linux-sandbox.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/tools/linux-sandbox.cc b/src/main/tools/linux-sandbox.cc
index 865bf86ea2..01e01fdc30 100644
--- a/src/main/tools/linux-sandbox.cc
+++ b/src/main/tools/linux-sandbox.cc
@@ -180,6 +180,8 @@ static void SpawnPid1() {
DIE("clone");
}
+ PRINT_DEBUG("linux-sandbox-pid1 has PID %d", global_child_pid);
+
// We close the write end of the sync pipe, read a byte and then close the
// pipe. This proves to the linux-sandbox-pid1 process that we still existed
// after it ran prctl(PR_SET_PDEATHSIG, SIGKILL), thus preventing a race