Ludovic Courtès, le Mon 09 Sep 2013 18:48:03 +0200, a écrit : > Samuel Thibault <samuel.thiba...@gnu.org> 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