Re: Question on KPI / NKE : sys/select.h : struct selinfo ?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com In message <36FDEF53-009B-4106-8570-0C1F7913EDC4@apple.com>,Jim Magee writes:
Now that we have discovered a couple of drivers that could otherwise be KPI-conforming if not for this, we will be creating a KPI to allocate a selinfo structure dynamically. In the meantime, you can just allocate memory large to be safe. Future versions of selinfo will be smaller than the current one. But to be safe. at least doubling the size of the current selinfo struct should suffice (to say 64 bytes). You should have no reason to look inside the structure.
how about access to kernel_flock? i suspect one will need to get the kernel funnel if you are going to issue a selwakeup(). any plans for making a kpi version of net_add_domain and net_add_proto? _______________________________________________ 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: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
chas williams - CONTRACTOR