• 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
intercepting system calls?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

intercepting system calls?


  • Subject: intercepting system calls?
  • From: Erik Paulson <email@hidden>
  • Date: Thu, 19 Jan 2006 23:02:06 -0600

Hi -

I'd like to catch the system calls that an process is making, so I can
examine the system call and optionally handle it myself. Under Linux and
Solaris, I can use ptrace() with the PTRACE_SYSCALL command, which will
let the process run until it enters or exits a system call.

Is there an equivalent for Darwin? Using a KEXT to patch the system call
table is really not an option...

Thanks!

-Erik

 _______________________________________________
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: intercepting system calls?
      • From: email@hidden
    • Re: intercepting system calls?
      • From: Shawn Erickson <email@hidden>
  • Prev by Date: MoreBacktrace for i386?
  • Next by Date: Re: intercepting system calls?
  • Previous by thread: Re: MoreBacktrace for i386?
  • Next by thread: Re: intercepting system calls?
  • Index(es):
    • Date
    • Thread