bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/2] include: make /hurd/proc PID 3


From: Justus Winter
Subject: [PATCH 2/2] include: make /hurd/proc PID 3
Date: Mon, 16 Sep 2013 12:20:26 +0200

Using PID 0 is problematic for various reasons. Make /hurd/proc run as
PID 3 instead.

* include/pids.h: Make /hurd/proc PID 3.
---
 include/pids.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/pids.h b/include/pids.h
index 485916b..22415f4 100644
--- a/include/pids.h
+++ b/include/pids.h
@@ -22,8 +22,8 @@
 #ifndef _HURD_PROCESSES_H
 #define _HURD_PROCESSES_H
 
-#define HURD_PID_PROC          0
 #define HURD_PID_STARTUP       1
 #define HURD_PID_KERNEL                2
+#define HURD_PID_PROC          3
 
 #endif  /* _HURD_PROCESSES_H */
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]