summaryrefslogtreecommitdiff
path: root/src/kernel/proc.h
diff options
context:
space:
mode:
authordzwdz2021-08-18 18:50:18 +0200
committerdzwdz2021-08-18 18:50:18 +0200
commit6a824d3a2184c6f9929dabf55930bd48fcb54323 (patch)
tree6ecdea1b2d93bcdb87c30ee0a2fafa89058363b4 /src/kernel/proc.h
parentbaa4c5e085d81b2021b25adaba61d32e3f835a56 (diff)
fork(): store information about the parent too
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r--src/kernel/proc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h
index 05ab66a..f50ab33 100644
--- a/src/kernel/proc.h
+++ b/src/kernel/proc.h
@@ -14,6 +14,7 @@ struct process {
struct process *sibling;
struct process *child;
+ struct process *parent;
};
extern struct process *process_first;