Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 13:31:01 +0000 (GMT)
From:      diman <diman@asd-g.com>
To:        freebsd-hackers@freebsd.org
Subject:   ptrace(PTRACE_SYSCALL,...
Message-ID:  <Pine.BSF.4.21.0104231302260.223-100000@portal.none.ua>

next in thread | raw e-mail | index | archive | help

Hello, guys

I'm porting ltrace to FreeBSD and have one little question.
ltrace uses non-standard PTRACE_SYSCALL request, which tells
the kernel to stop traced process on every syscall entry
and notify the parent.

It makes us possible to trace child's syscalls and *catch
execve/xfork events* and many more. BTW, that request 
is non-standard and FreeBSD doesn't support it. 

So, guys, what is a right way for a parent to catch 
child making syscall under FreeBSD? I have dosen
k-mode solutions but how to do that from user-space?

Thanks you very much!



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?Pine.BSF.4.21.0104231302260.223-100000>