• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: sysent and XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sysent and XCode


  • Subject: Re: sysent and XCode
  • From: Marco Bambini <email@hidden>
  • Date: Sat, 30 Apr 2005 17:09:59 +0200


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:
This email sent to email@hidden


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

  • Prev by Date: Re: Switching styles
  • Next by Date: Re: gcc4.0
  • Previous by thread: Re: sysent and XCode
  • Next by thread: Problems with Quicktime 7
  • Index(es):
    • Date
    • Thread