Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/ResultProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ pid_t ResultProcessor::forkProcessResultProcessor(ResultProcessorSHMPointer_t SH
if (_ForkResult > 0) {
DBG(120, "Parent ResultProcessor Process PID:" << getpid());
DBG(120, "Parent ResultProcessor Atomic Address:" << StaticFSLock);

//- allow child process to ptrace parent (required for pidfd_getfd)
prctl(PR_SET_PTRACER, _ForkResult, 0, 0, 0);

return _ForkResult; // return child PID to parent
}

Expand Down