bug-hurd
[Top][All Lists]
Advanced

[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




reply via email to

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