diff options
| author | Justus Winter <justus@gnupg.org> | 2016-10-13 23:39:33 +0200 |
|---|---|---|
| committer | Justus Winter <justus@gnupg.org> | 2016-10-27 11:52:00 +0200 |
| commit | 2392c8a566416f38f8ded4c7a239a9db05f0a368 (patch) | |
| tree | f7898d2d3221583a88ceb3a0398e7bd36b639fc6 /proc/mig-mutate.h | |
| parent | 341f43df4b3688702746b5d0365c05d99fdeeb4e (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"; |
