Re: [PATCH 2/3] utils/rpctrace: generalize tracing code

2013-12-15 Thread Samuel Thibault
Justus Winter, le Wed 11 Dec 2013 13:04:00 +0100, a écrit : > Currently, rpctrace dies if a tracee uses select(2) because it asserts > that reply_type is a MACH_MSG_TYPE_PORT_SEND_ONCE right. Generalize > the code surrounding the failing assertion. Ack. > * utils/rpctrace.c (trace_and_forward):

[PATCH 2/3] utils/rpctrace: generalize tracing code

2013-12-11 Thread Justus Winter
Currently, rpctrace dies if a tracee uses select(2) because it asserts that reply_type is a MACH_MSG_TYPE_PORT_SEND_ONCE right. Generalize the code surrounding the failing assertion. * utils/rpctrace.c (trace_and_forward): Generalize code by switching over reply_type. --- utils/rpctrace.c | 40