summaryrefslogtreecommitdiff
path: root/kernel/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/proc.h')
-rw-r--r--kernel/proc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/proc.h b/kernel/proc.h
index 655d79f..538b48a 100644
--- a/kernel/proc.h
+++ b/kernel/proc.h
@@ -91,6 +91,7 @@ struct proc {
struct proc *parent; // Parent process
void *chan; // If non-zero, sleeping on chan
int killed; // If non-zero, have been killed
+ int xstate; // Exit status to be returned to parent's wait
int pid; // Process ID
// these are private to the process, so p->lock need not be held.