From owner-freebsd-hackers Mon Apr 23 5:36:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from sivka.carrier.kiev.ua (sivka.carrier.kiev.ua [193.193.193.101]) by hub.freebsd.org (Postfix) with ESMTP id A341537B423 for ; Mon, 23 Apr 2001 05:36:40 -0700 (PDT) (envelope-from diman@asd-g.com) Received: from core.is.kiev.ua (p187.is.kiev.ua [62.244.5.187] (may be forged)) by sivka.carrier.kiev.ua (8/Kilkenny_is_better) with ESMTP id POA95057 for ; Mon, 23 Apr 2001 15:36:26 +0300 (EEST) (envelope-from diman@asd-g.com) Received: from [10.203.1.10] ([10.203.1.10]) by core.is.kiev.ua (8.11.1/ASDG-2.3-NR) with ESMTP id f3NCaBQ38008 for ; Mon, 23 Apr 2001 15:36:25 +0300 (EEST) (envelope-from diman@asd-g.com) Date: Mon, 23 Apr 2001 13:31:01 +0000 (GMT) From: diman X-Sender: diman@portal.none.ua To: freebsd-hackers@freebsd.org Subject: ptrace(PTRACE_SYSCALL,... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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