Anyway to call syscall in kernel extension?
Anyway to call syscall in kernel extension?
- Subject: Anyway to call syscall in kernel extension?
- From: Lex Dejavu <email@hidden>
- Date: Fri, 10 Feb 2006 02:33:18 -0800 (PST)
Hello guys,
I want to change signal mask of a kernel thread (in kext) but find no way, though it's easy to do in user space by syscall pthread_sigmask(). If we can't call syscall in kernel, is there any other way to change signal mask for a kernel thread?
Another question, I found that sock_ioctl(...SIOCGIFCONF,...) doesn't work in kernel because it always try to copy result to user space.
Also, why zalloc & kalloc are exported but zalloc_noblock & kalloc_noblock are not?
Relax. Yahoo! Mail
virus scanning helps detect nasty viruses!
_______________________________________________
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