Subject: Re: Intercepting system calls
To: None <tech-kern@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 04/22/2002 23:12:34
> Is there any way for a parent process to intercept a childs system
> call in NetBSD?

Sort of.

Some time ago (years), inspired by SunOS, I implemented PT_SYSCALL for
NetBSD/sparc and /sun3.  When I tried to get it into the tree, one of
the people I ran it past slapped it down.  (Well, okay, that's probably
a bit of an exaggeration.  But to be fair, it really wasn't in shape to
go in.  Maybe for Linux it would have been good enough, but NetBSD does
have a strong tendency to do things right or not at all.)

I've still got the patches.  Anyone who wants to pick them up, roll
them forward, and rework them to do it right is welcome to.  I may do
it myself someday, but given how little I've progressed on it in the
last few years, it seems unlikely I'll do much with it in the
foreseeable future.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B