Disabling ptrace
Ed Maste
emaste at freebsd.org
Tue Dec 30 18:26:26 UTC 2014
On 30 December 2014 at 10:38, Shawn Webb <lattera at gmail.com> wrote:
>
> I'm curious what the use case was that brought this up. And why the requester
> thinks it's actually useful.
I had one use case for this: LLDB's test suite includes a test for the
debugger handling failure from ptrace(PT_ATTACH, ...), and the test
used the Linux/OS X version of the change under discussion.
As it turns out that case can be easily tested by just having another
ptrace consumer already attached, and the author of the test in LLDB
switched to that approach instead.
More information about the freebsd-arch
mailing list