Date: 10 Feb 2002 00:13:04 +0100 From: Dag-Erling Smorgrav <des@ofug.org> To: Zhihui Zhang <zzhang@cs.binghamton.edu> Cc: freebsd-hackers@freebsd.org Subject: Re: Ptrace and SIGTRAP problem Message-ID: <xzpg04az1tr.fsf@flood.ping.uio.no> In-Reply-To: <Pine.SOL.4.21.0202091803260.3949-100000@opal> References: <Pine.SOL.4.21.0202091803260.3949-100000@opal>
next in thread | previous in thread | raw e-mail | index | archive | help
Zhihui Zhang <zzhang@cs.binghamton.edu> writes: > On 9 Feb 2002, Dag-Erling Smorgrav wrote: > > execve(2) in kern_exec.c posts SIGTRAP if the process has debugging > > turned on (which it does as a result of PT_TRACE_ME). > This is one time thing. It will be catched by the first wait() > call in the parent process. Yes. Subsequent SIGTRAPs normally indicate that syscall tracing is enabled (see /sys/i386/i386/trap.c) but I don't think that's the case here. I'll try to figure out what's happening when I find time. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpg04az1tr.fsf>