"Brent W. Baccala" <cos...@freesoft.org> writes:

> On Fri, Sep 30, 2016 at 9:17 AM, Kalle Olavi Niemitalo <k...@iki.fi> wrote:
>
>> A future version of rpctrace might want to move receive rights
>> if it were able to attach to a preexisting task.
>
> That's an important and interesting application that I hadn't thought of.

strace using system call tracing would not have to move most
rights when attaching, would not have to requeue messages when
detaching, and would not interfere with mach_port_set_qlimit.

Alas, GNU Mach does not support system call tracing.  (GNU Mach
supports task_set_emulation_vector but that's useless for strace.)
OSF Mk6.1 supports it as EXC_MACH_SYSCALL, and the license looks
compatible, but merging the code might not be trivial.
ftp://ftp.funet.fi/pub/mach/osfmach3/

Reply via email to