diff options
author | Justus Winter <justus@gnupg.org> | 2016-10-13 23:39:33 +0200 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2016-11-01 11:04:04 +0100 |
commit | 87c1eba3e7c9402ca59340db8a43a4c9ef5b3bd5 (patch) | |
tree | 15d3ea78522947b68595b8726d90c56f72474dc0 /proc/mig-mutate.h | |
parent | 9ddc4f2a1717455e50eb6fd010cda4e5f4080c42 (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.h | 9 |
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"; |