[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/11] proc: update comments
From: |
Justus Winter |
Subject: |
[PATCH 03/11] proc: update comments |
Date: |
Wed, 27 Nov 2013 13:31:10 +0100 |
* proc/main.c (main): Update comment. The proc server is no longer PID 0.
* proc/proc.h: Likewise.
---
proc/main.c | 2 +-
proc/proc.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/proc/main.c b/proc/main.c
index 73abbc0..6b18737 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 dcfc0db..d528a7d 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;
--
1.7.10.4
- [PATCH 01/11] libshouldbeinlibc: fix minor port leak in maptime_map, Justus Winter, 2013/11/27
- [PATCH 03/11] proc: update comments,
Justus Winter <=
- [PATCH 04/11] libports: improve error handling in ports_reallocate_port, Justus Winter, 2013/11/27
- [PATCH 02/11] init: fix port leak, Justus Winter, 2013/11/27
- [PATCH 05/11] libports: improve error handling in ports_reallocate_from_external, Justus Winter, 2013/11/27
- [PATCH 06/11] libports: improve error handling in ports_transfer_right, Justus Winter, 2013/11/27
- [PATCH 07/11] libdiskfs: improve error reporting in diskfs_start_disk_pager, Justus Winter, 2013/11/27