From 98f7b6dc1b9e01e3f1d17d2bbe8d9fab325db435 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 1 Jul 1992 04:52:47 +0000 Subject: Formerly msg.defs.~2~ --- hurd/msg.defs | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/hurd/msg.defs b/hurd/msg.defs index a909a15c..1eac1ec2 100644 --- a/hurd/msg.defs +++ b/hurd/msg.defs @@ -64,3 +64,31 @@ routine del_auth ( task: task_t; uids: intarray_t; gids: intarray_t); + +/* These four calls fetch and store the ports and other information + that were passed to the process at exec time (see hurd_types.h). + The REFPORT can be the task port or the auth port. */ + +routine get_init_port ( + process: mach_port_t; + task: task_t; + which: int; + out port: mach_port_t); + +routine set_init_port ( + process: mach_port_t; + task: task_t; + which: int; + port: mach_port_t); + +routine get_init_int ( + process: mach_port_t; + task: task_t; + which: int; + out value: int); + +routine set_init_int ( + process: mach_port_t; + task: task_t; + which: int; + value: int); -- cgit v1.2.3