Re: Passing per-process information between KAUTH calls
Re:
On Jul 23, 2015, at 7:16 AM, Slava Imameyev <slava.imameev@gmail.com> 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stan Sieler