Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sysent and XCode




On Apr 29, 2005, at 3:43 PM, Sean McBride wrote:

On 2005-04-29 13:13, Marco Bambini said:

I am writing a Kernel Extension with XCode 1.5 on Panther and I need to
use the sysent system call.


The problem is that if I write something like:
#include <sys/syscall.h>

then I have a compilation error:
"sys/syscall.h: No such file or directory"

sys/syscall.h is a userland header. You cannot use it for kernelland code. For a kext, you should only use headers from Kernel.framework.

So, is there another way to patch a system call inside a kext?

Thanks a lot,
Marco

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >sysent and XCode (From: Marco Bambini <email@hidden>)
 >Re: sysent and XCode (From: "Sean McBride" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.