Re: Kevent Kernel Panic by Unprivileged User
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=b053N8tq0L1nenddWUZL7WGPF6IQ3dmpkNvIQynOwvf5qGjOHUhVEv84ZUxh51IgScFRBUoSP5iWbGgG7BxTDH5hJKm0f/9S4TFoIjbfXgTOwSi61SP3YrBh+E2I07YqgkfF/XOqkM7X5sI+VnUr4e5Bp/+m/jr20oQg5OiYIN4= I also ran into this. And looking at the current Darwin source code shows that the problem has still not been fixed. It's simply impossible to use kqueue/kevent for what you want under Tiger. So you'll need to find an alternative mechanism. Thankfully, the kqueue/kevent thing was not a complete waste. I can know what process called fork() fairly expediently. Now I just need to figure out what pid this new child process is. Is there a mechanism by which I can get a list of child processes for a given pid? That would make things too easy, suspect.... I looked all around for any function that might accomplish such a thing, but I haven't found any. -- Curtis Jones curtis.jones@gmail.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On 1/6/07, leenoori <leenoori@quepica.com> wrote: This email sent to site_archiver@lists.apple.com
participants (1)
-
Curtis Jones