Re: Notification of fork()
Re: Notification of fork()
- Subject: Re: Notification of fork()
- From: Terry Lambert <email@hidden>
- Date: Tue, 2 Jan 2007 14:36:10 -0800
On Jan 2, 2007, at 1:27 AM, Quinn wrote:
At 11:35 -0500 26/12/06, Josh Rodatus wrote:
Albeit somewhat brute-force, Jonathan Rentzsch's mach_override can
solve a lot of tough problems.
Just for the record, please don't do this is in any code that you
intend to ship to end users. There's no way that Apple can maintain
binary compatibility for KEXTs that do this.
At 21:19 -0500 26/12/06, Curtis Jones wrote:
I was looking at kevent. In userspace, the NOTE_FORK event seems to
be
pretty close to what I'm looking for. Any idea if it (or similar) can
be accessed from the kext?
Alas, kqueues are not accessible from kernel code; they rely on
descriptors, and the KPIs know nothing about descriptors. Worse
yet, NOTE_FORK is horribly broken on all shipping systems <rdar://problem/3439519
>.
That's incorrect. This was fixed for Tiger.
From my reading of things, you should be fine using NOTE_FORK for all
10.4.x, as long as you don't use NOTE_TRACK (which would result in
ENOTSUP anyway).
-- Terry
_______________________________________________
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