| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Wednesday, March 20, 2002, at 04:59 PM, Stefan Arentz wrote:
Patching BSD syscalls? Evil! But possible :-)
int32_t saved_open = sysent[SYS_open].sy_call;
sysent[10].sy_call = (int32_t) &my_open;
------------------
I implemented this code via a KEXT and my routine is called when a file is
opened.
A question if I may:
Where do I find the definition of the argument list for SYS_open
.sy_narg tells me how many but what are they and how are they passed?
Thanks,
db
| References: | |
| >.sy_narg definition (From: David Blanton <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.