Re: "No such file or directory"
Re: "No such file or directory"
- Subject: Re: "No such file or directory"
- From: Justin Walker <email@hidden>
- Date: Thu, 10 Mar 2005 16:03:56 -0800
On Mar 10, 2005, at 15:55, Carl Smith wrote:
Ouch, does that mean that I cannot use functions like calloc or
getifaddrs in my kernel extension code????
Yup; please reply on the list so that the thread is completed and the
info is retained.
To expand on this: you are developing code that runs in the kernel.
The kernel is a limited programming environment, and usually has much
more stringent resource requirements than a user-mode program has to
deal with.
If you want to develop code to run in the kernel, leave libc and all
the other "fun" libraries behind. You can't, by and large, use them;
this is because the rules of engagement are different for kernel and
user code, and the assumptions for one are not valid in the other.
If you think you need user-land "helper" code in your extension, then
go back to the drawing board and make a decision: if you *really* need
user-mode functionality, build a user-mode program to handle it.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | It's not whether you win or
lose...
| It's whether *I* win or lose.
*--------------------------------------*-------------------------------*
_______________________________________________
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