Re: Passing per-process information between KAUTH calls
Re: Passing per-process information between KAUTH calls
- Subject: Re: Passing per-process information between KAUTH calls
- From: Stan Sieler <email@hidden>
- Date: Thu, 23 Jul 2015 14:27:37 -0700
Re:
> On Jul 23, 2015, at 7:16 AM, Slava Imameyev <email@hidden> wrote:
>
> as there is no notification on process termination
Annoying. I put that into MPE/iX back around 1982. Your process could say
“when process X terminates, let me know” or “when any process terminates, let me know”
(“let me know” meant “here’s the function you should call for me on my stack”).
At termination, the process-termination-notification list for the process would be traversed,
and all interested processes would be sent a form of interrupt saying “process Y terminated
due to reason X, cumulative CPU time it used was K” (i.e., the recipient would get some potentially useful
information). (Of course, if the interested party had terminated, no interrupt is sent to them.)
Naturally, we sent the PID and the extended-PID (a 64-bit unique value that completely solved
the problem other people *still* have forty years later with not realizing a PID has been reused :)
I just wish old ideas didn’t keep getting lost.
Stan
p.s.: yeah, this is a Mac darwin kernel list … so why mention ancient history?
In the hope *someone* will see it and get the idea into OS X!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden