NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/52117: ptrace(2) PTRACE_FORK fails on some platforms



The following reply was made to PR kern/52117; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/52117: ptrace(2) PTRACE_FORK fails on some platforms
Date: Tue, 28 Mar 2017 16:47:55 +0200

 On Tue, Mar 28, 2017 at 02:45:02PM +0000, Kamil Rytarowski wrote:
 >  Answering why do we need to stop early, in debuggers we want to stop as early as
 >  possible, before constructors will fire and with ability to set there a trap.
 
 My suggested patch does not make the signal later.
 
 We would have to clone it for emulations that do not go via fork1() - if
 there are any, but it still is better than having to clone it for all
 architectures.
 
 Martin
 


Home | Main Index | Thread Index | Old Index