Re: [PATCH 1/1] ptrace: Get tracer PID without reliance on the proc FS
From: Oleg Nesterov
Date: Mon Sep 09 2024 - 13:07:14 EST
On 09/09, Eric W. Biederman wrote:
>
> I suspect the best way to support breakpoint_if_debugging (in the
> general case) is to make them nop functions,
or may be make it call a single function which can be used as a
breakpoint placeholder.
Either way, at least the program with breakpoint_if_debugging() will
survive under /usr/bin/strace.
Oleg.