summaryrefslogtreecommitdiff
path: root/proc
diff options
context:
space:
mode:
Diffstat (limited to 'proc')
-rw-r--r--proc/proc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/proc/proc.h b/proc/proc.h
index 0d0dc210..02d82e96 100644
--- a/proc/proc.h
+++ b/proc/proc.h
@@ -139,6 +139,17 @@ struct exc
natural_t thread_state[0];
};
+struct zombie
+{
+ struct zombie *next;
+ pid_t pid, pgrp;
+ struct proc *parent;
+ int exit_status;
+ struct rusage ru;
+};
+
+struct zombie *zombie_list;
+
mach_port_t authserver;
struct proc *self_proc; /* process 0 (us) */
struct proc *startup_proc; /* process 1 (init) */