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

Re: sysent and KEXT


  • Subject: Re: sysent and KEXT
  • From: Chris Ridd <email@hidden>
  • Date: Mon, 02 May 2005 16:24:47 +0100

On 2/5/05 2:47 pm, Marco Bambini <email@hidden> wrote:

> 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?

There's an example of doing this at:

<http://landonf.bikemonkey.org/code/macosx/ptrace_deny_attach.20041010201303
.11809.mojo.html>

Hope it helps!

Cheers,

Chris


 _______________________________________________
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

References: 
 >sysent and KEXT (From: Marco Bambini <email@hidden>)

  • Prev by Date: sysent and KEXT
  • Next by Date: Re: sysent and KEXT
  • Previous by thread: sysent and KEXT
  • Next by thread: Re: sysent and KEXT
  • Index(es):
    • Date
    • Thread