[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/7] hurd: add proc_mark_essential
From: |
Justus Winter |
Subject: |
[PATCH 2/7] hurd: add proc_mark_essential |
Date: |
Wed, 24 Jul 2013 08:30:54 +0200 |
This is a fragment of Guillem Jovers patch presented here:
http://lists.gnu.org/archive/html/bug-hurd/2006-02/msg00081.html
It has been refreshed and the copyright year is adjusted.
* hurd/process.defs (proc_mark_essential): New routine definition.
* hurd/process_request.defs (proc_mark_essential_request): New
simpleroutine definition.
---
hurd/process.defs | 6 +++++-
hurd/process_request.defs | 7 ++++++-
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/hurd/process.defs b/hurd/process.defs
index 43cc9f2..fca7f4c 100644
--- a/hurd/process.defs
+++ b/hurd/process.defs
@@ -1,5 +1,5 @@
/* Definitions for process server interface
- Copyright (C) 1992,93,94,95,96,97,2001 Free Software Foundation
+ Copyright (C) 1992,93,94,95,96,97,2001,2013 Free Software Foundation
This file is part of the GNU Hurd.
@@ -370,3 +370,7 @@ routine proc_getnports (
process: process_t;
which: pid_t;
out nports: mach_msg_type_number_t);
+
+/* Inform the process server that the process is essential. */
+routine proc_mark_essential (
+ process: process_t);
diff --git a/hurd/process_request.defs b/hurd/process_request.defs
index 80a2828..620da7b 100644
--- a/hurd/process_request.defs
+++ b/hurd/process_request.defs
@@ -1,6 +1,6 @@
/* Definitions for process server interface (request-only version)
- Copyright (C) 1992, 93, 94, 95, 96, 98 Free Software Foundation, Inc.
+ Copyright (C) 1992, 93, 94, 95, 96, 98, 2013 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -371,3 +371,8 @@ simpleroutine proc_getnports_request (
process: process_t;
ureplyport reply: reply_port_t;
which: pid_t);
+
+/* Inform the process server that the process is essential. */
+simpleroutine proc_mark_essential_request (
+ process: process_t;
+ ureplyport reply: reply_port_t);
--
1.7.10.4
- Re: /hurd/init and /hurd/proc, Samuel Thibault, 2013/07/15
- Re: /hurd/init and /hurd/proc, Roland McGrath, 2013/07/15
- kill (0, SIGSTOP) is freezing the system (was: /hurd/init and /hurd/proc), Justus Winter, 2013/07/24
- [PATCH 2/7] hurd: add proc_mark_essential,
Justus Winter <=
- [PATCH 1/7] proc: add proc_mark_essential server code, Justus Winter, 2013/07/24
- [PATCH 4/7] init: Build fixes, Justus Winter, 2013/07/24
- [PATCH 3/7] init: Mark auth, proc and fs servers as essential, Justus Winter, 2013/07/24
- [PATCH 6/7] proc: evil hack, mark all pids<100 essential, Justus Winter, 2013/07/24
- [PATCH 5/7] proc: Fix miscalculation of count, Justus Winter, 2013/07/24
- Re: kill (0, SIGSTOP) is freezing the system (was: /hurd/init and /hurd/proc), Samuel Thibault, 2013/07/24