Justus Winter, le Mon 08 Dec 2014 13:55:18 +0100, a écrit :
> I thought the message carries a reference that we can keep?
Ah, right, sorry. I somehow never got used to that asymmetry of references.
Then ack!
Samuel
Quoting Samuel Thibault (2014-11-21 01:50:15)
> Justus Winter, le Wed 12 Nov 2014 16:49:08 +0100, a écrit :
> > +kern_return_t
> > +register_new_task_notification(
> > + const host_t host,
> > + ipc_port_t notification)
> > +{
> > + if (host == HOST_NULL)
> > + return KERN_I
Justus Winter, le Wed 12 Nov 2014 16:49:08 +0100, a écrit :
> +kern_return_t
> +register_new_task_notification(
> + const host_t host,
> + ipc_port_t notification)
> +{
> + if (host == HOST_NULL)
> + return KERN_INVALID_HOST;
> +
> + if (new_task_notification != NULL)
>
These notifications are sent to the port registered via
`register_new_task_notification' and provide a robust parental
relation between tasks to a userspace server.
* Makefrag.am: Add task_notify.defs.
* include/mach/gnumach.defs: Add register_new_task_notification.
* include/mach/task_notify.defs