221 |
if (fakeboot) |
if (fakeboot) |
222 |
{ |
{ |
223 |
pid_t *pp; |
pid_t *pp; |
224 |
u_int npids = 0; |
size_t npids = 0; |
225 |
error_t err; |
error_t err; |
226 |
int ind; |
int ind; |
227 |
|
|
251 |
if (task != mach_task_self () && task != proctask) |
if (task != mach_task_self () && task != proctask) |
252 |
{ |
{ |
253 |
struct procinfo *pi = 0; |
struct procinfo *pi = 0; |
254 |
u_int pisize = 0; |
size_t pisize = 0; |
255 |
char *noise; |
char *noise; |
256 |
unsigned noise_len; |
size_t noise_len; |
257 |
int flags; |
int flags; |
258 |
err = proc_getprocinfo (procserver, pp[ind], &flags, |
err = proc_getprocinfo (procserver, pp[ind], &flags, |
259 |
(int **)&pi, &pisize, |
(int **)&pi, &pisize, |
1285 |
boots[i].name); |
boots[i].name); |
1286 |
crash_mach (); |
crash_mach (); |
1287 |
} |
} |
1288 |
error (0, 0, "BUG! Unexpected dead-name notification (name %#x)", name); |
error (0, 0, "BUG! Unexpected dead-name notification (name %#zx)", |
1289 |
|
name); |
1290 |
crash_mach (); |
crash_mach (); |
1291 |
} |
} |
1292 |
|
|
1548 |
|
|
1549 |
error_t |
error_t |
1550 |
S_msg_report_wait (mach_port_t process, thread_t thread, |
S_msg_report_wait (mach_port_t process, thread_t thread, |
1551 |
string_t desc, int *rpc) |
string_t desc, mach_msg_id_t *rpc) |
1552 |
{ |
{ |
1553 |
*desc = 0; |
*desc = 0; |
1554 |
*rpc = 0; |
*rpc = 0; |