diff options
author | Justus Winter <justus@gnupg.org> | 2016-11-01 18:02:34 +0100 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2016-11-01 18:04:29 +0100 |
commit | 0bc74163d5406e305b84f8f51dbce097bb46fa90 (patch) | |
tree | 4d93779fdec2adbf65ec61e4656945296d422039 /proc | |
parent | 61f89952020ff1ff34e391ae78acd2da51476c41 (diff) |
Adjust to the fixed new task notifications.
* boot/boot.c (S_mach_notify_new_task): The send rights are now indeed
moved to the target task, adjust accordingly.
* proc/mgt.c (S_mach_notify_new_task): Likewise.
Diffstat (limited to 'proc')
-rw-r--r-- | proc/mgt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1082,8 +1082,8 @@ S_mach_notify_new_task (struct port_info *notify, err = S_proc_child (parentp, task); assert_perror (err); - /* Relay the notification. */ - mach_notify_new_task (childp->p_task_namespace, task, parent); + /* Relay the notification. This consumes task and parent. */ + return mach_notify_new_task (childp->p_task_namespace, task, parent); } mach_port_deallocate (mach_task_self (), task); |