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

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



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 to: