Mailing Lists: Apple Mailing Lists

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

intercepting system calls?



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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to 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.