• 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
sysent and KEXT
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sysent and KEXT


  • Subject: sysent and KEXT
  • From: Marco Bambini <email@hidden>
  • Date: Mon, 2 May 2005 15:47:20 +0200

Hi All,

I need to patch a system call using the sysent routine in a KEXT.
As far as I know, for a kext, I should only use headers from Kernel.framework
and sys/syscall.h is a userland header...


So, if I write something like this in my KEXT:
#include <sys/syscall.h>

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

How can I solve this problem?
Or better,  is there another way to patch a system call inside a kext?

Thanks a lot for your help.
Regards,
Marco Bambini

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: sysent and KEXT
      • From: Justin Walker <email@hidden>
    • Re: sysent and KEXT
      • From: Chris Ridd <email@hidden>
  • Prev by Date: Re: Tiger and libreadline
  • Next by Date: Re: sysent and KEXT
  • Previous by thread: Re: DiskArbitration API
  • Next by thread: Re: sysent and KEXT
  • Index(es):
    • Date
    • Thread