aboutsummaryrefslogtreecommitdiff
path: root/proc/info.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc/info.c')
-rw-r--r--proc/info.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/proc/info.c b/proc/info.c
index 2d85662d..e5b0f472 100644
--- a/proc/info.c
+++ b/proc/info.c
@@ -1093,3 +1093,11 @@ S_proc_get_exe (struct proc *callerp,
return 0;
}
+kern_return_t
+S_proc_getchildren_rusage (struct proc *p, struct rusage *ru)
+{
+ if (!p)
+ return EOPNOTSUPP;
+ *ru = p->p_child_rusage;
+ return 0;
+}