summaryrefslogtreecommitdiff
path: root/proc
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-24 23:30:08 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-28 13:13:32 +0100
commit31d394232eb8544154198ec3de7328ab1a6b82a6 (patch)
tree4f55a606fb6028a7800d27fb6bfaf9fd10d00f60 /proc
parent78636c03a561d3a9a1b7c008dc390fe854196309 (diff)
proc: update comments
* proc/main.c (main): Update comment. The proc server is no longer PID 0. * proc/proc.h: Likewise.
Diffstat (limited to 'proc')
-rw-r--r--proc/main.c2
-rw-r--r--proc/proc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/proc/main.c b/proc/main.c
index 73abbc077..6b18737ae 100644
--- a/proc/main.c
+++ b/proc/main.c
@@ -84,7 +84,7 @@ main (int argc, char **argv, char **envp)
/* Create the initial proc object for init (PID 1). */
startup_proc = create_startup_proc ();
- /* Create our own proc object (we are PID 0). */
+ /* Create our own proc object. */
self_proc = allocate_proc (mach_task_self ());
assert (self_proc);
diff --git a/proc/proc.h b/proc/proc.h
index dcfc0dbc2..d528a7dd8 100644
--- a/proc/proc.h
+++ b/proc/proc.h
@@ -133,7 +133,7 @@ struct exc
};
mach_port_t authserver;
-struct proc *self_proc; /* process 0 (us) */
+struct proc *self_proc; /* process HURD_PID_PROC (us) */
struct proc *startup_proc; /* process 1 (init) */
struct port_bucket *proc_bucket;