summaryrefslogtreecommitdiff
path: root/proc/proc.h
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-26 17:33:05 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-28 13:14:29 +0100
commit2c9422595f41635e2f4f7ef1afb7eece9001feae (patch)
tree11cfab857181be05d9bd6ecf002f1a0c5488ae22 /proc/proc.h
parent6d1f5176f257ab9a9b47ae65b528c9ab79db5b31 (diff)
proc: store the privileged host port in _hurd_host_priv
Store the privileged host port in _hurd_host_priv like it is done in the root filesystem. This fixes the thread priority adjustment in the proc server. Prior to this fix, a warning message "unable to adjust libports thread priority" sometimes appeared early in the boot process. * proc/host.c (S_proc_getprivports): Adapt accordingly. (S_proc_register_version): Likewise. * proc/mgt.c (add_tasks): Likewise. * proc/msg.c (tickle_init): Likewise. * proc/main.c (main): Store the privileged host port in _hurd_host_priv. * proc/proc.h: Remove unused variable master_host_port. fixup_store_priv_port
Diffstat (limited to 'proc/proc.h')
-rw-r--r--proc/proc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/proc/proc.h b/proc/proc.h
index d528a7dd..783aba9a 100644
--- a/proc/proc.h
+++ b/proc/proc.h
@@ -141,7 +141,6 @@ struct port_class *proc_class;
struct port_class *generic_port_class;
struct port_class *exc_class;
-mach_port_t master_host_port;
mach_port_t master_device_port;
mach_port_t generic_port; /* messages not related to a specific proc */