getrusage(2): zero out ru_nsignals field

The current value was both wrong (counting spawned kernel signals
rather than delivered user signals) and returned for the calling
process even if the request was for the process's children.
For now we are better off not populating this field at all.

Change-Id: I6c660be266b5746b7c3db57ae88fa7f872961ee2
This commit is contained in:
David van Moolenbroek
2015-09-27 15:00:19 +00:00
parent cd27b2627a
commit 0f8e20a12c
7 changed files with 0 additions and 14 deletions

View File

@@ -1983,8 +1983,3 @@ void ser_dump_proc()
print_proc_recursive(pp);
}
}
void increase_proc_signals(struct proc *p)
{
p->p_signal_received++;
}