Skip to content
Snippets Groups Projects
Commit 080f5318 authored by scott snyder's avatar scott snyder
Browse files

AthenaConfiguration: Ensure that ptrace is allowed before starting a job.

On kernels with Yama enabled, ptrace may not work by default on processes
which are not decendants of the tracing process.  Among other things, that
causes the way we attach the debugger to fail.  However, we can disable this
on a per-process basis.  So do that when we initialize Athena.

See https://www.kernel.org/doc/Documentation/security/Yama.txt and prctl(2).
parent 29bb6ea9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment