bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hacking gnumach to track parental relationship of tasks


From: Samuel Thibault
Subject: Re: Hacking gnumach to track parental relationship of tasks
Date: Mon, 9 Sep 2013 19:40:23 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Ludovic Courtès, le Mon 09 Sep 2013 18:48:03 +0200, a écrit :
> Samuel Thibault <address@hidden> skribis:
> > Ludovic Courtès, le Sat 07 Sep 2013 22:04:06 +0200, a écrit :
> >> However, wouldn’t it be preferable to fix it by interposing on
> >> ‘task_create’ calls, à la clans & chiefs?  (IIUC, this can be done with
> >> by setting the TASK_KERNEL_PORT of a task.)
> >
> > Apparently task_create is a kernel trap.
> 
> Isn’t rpctrace able to interpose on it?

I don't think there is any way to interpose a trap.

It probably happens that libc nicely uses the RPC, but nothing prevents
a process from raising a trap.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]