Skip to content

Draft: test: check for CAP_SYS_PTRACE before testing for an attached debugger

If we don't have the capability to ptrace, we are probably running inside a container, not the debugger. Check this first so we don't disable forking mode.

Fixes #1285 (closed)

Waiting for !751 (closed) and !748 (merged) to get merged first, otherwise I have to rebase too many different things...

Edited by Peter Hutterer

Merge request reports