diff options
author | Justus Winter <justus@gnupg.org> | 2017-03-06 00:18:21 +0100 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2017-03-09 23:55:41 +0100 |
commit | 40c752c4e5e3c8c20cee345790954511e9f3825b (patch) | |
tree | f0f36672a9a53ff1c45e7642ebd6460b89856b88 /proc/proc.h | |
parent | 83457a27885a177908718839e8a4f356b649f72f (diff) | |
download | hurd-40c752c4e5e3c8c20cee345790954511e9f3825b.tar.gz hurd-40c752c4e5e3c8c20cee345790954511e9f3825b.tar.bz2 hurd-40c752c4e5e3c8c20cee345790954511e9f3825b.zip |
proc: Receive new-task notifications on kernel's process port.
* proc/main.c (main): Initialize 'kernel_proc' and use it to register
for new-task notifications.
* proc/mgt.c (S_mach_notify_new_task): Adapt receiver check.
* proc/proc.h (kernel_proc): New variable.
Diffstat (limited to 'proc/proc.h')
-rw-r--r-- | proc/proc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proc/proc.h b/proc/proc.h index 2c08fd13..ffb54bf0 100644 --- a/proc/proc.h +++ b/proc/proc.h @@ -148,6 +148,7 @@ struct port_class *generic_port_class; struct port_class *exc_class; mach_port_t generic_port; /* messages not related to a specific proc */ +struct proc *kernel_proc; pthread_mutex_t global_lock; |