summaryrefslogtreecommitdiff
path: root/proc
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-10-31 19:22:18 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-10-31 19:22:18 +0000
commit1f84649e6164c858529df98c7e4a427f03fa3c65 (patch)
treed9040ed88e100afa28ee1e6923c19f17c89507fa /proc
parentdcec51dcb6d87abcfb5f1a150ae46375f8945f5b (diff)
(struct zombie): New type.
(zombie_list): New variable.
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) */