summaryrefslogtreecommitdiff
path: root/proc/mig-mutate.h
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2016-10-13 23:39:33 +0200
committerJustus Winter <justus@gnupg.org>2016-11-01 11:04:04 +0100
commit87c1eba3e7c9402ca59340db8a43a4c9ef5b3bd5 (patch)
tree15d3ea78522947b68595b8726d90c56f72474dc0 /proc/mig-mutate.h
parent9ddc4f2a1717455e50eb6fd010cda4e5f4080c42 (diff)
proc: Fix new task notifications.
* proc/mgt.c (S_mach_notify_new_task): Fix receiver handling, fix port leak. * proc/mig-mutate.h: Mutate the task notification protocol.
Diffstat (limited to 'proc/mig-mutate.h')
-rw-r--r--proc/mig-mutate.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/proc/mig-mutate.h b/proc/mig-mutate.h
index 62dc2a59..35b02418 100644
--- a/proc/mig-mutate.h
+++ b/proc/mig-mutate.h
@@ -35,3 +35,12 @@
end_using_port_info (port_info_t)
#define NOTIFY_IMPORTS \
import "libports/mig-decls.h";
+
+#define TASK_NOTIFY_INTRAN \
+ port_info_t begin_using_port_info_port (mach_port_t)
+#define TASK_NOTIFY_INTRAN_PAYLOAD \
+ port_info_t begin_using_port_info_payload
+#define TASK_NOTIFY_DESTRUCTOR \
+ end_using_port_info (port_info_t)
+#define TASK_NOTIFY_IMPORTS \
+ import "libports/mig-decls.h";