Mailing Lists: Apple Mailing Lists

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

Re: Current Process



Hi Joey,

The kernel header file sys/proc.h might have what you need:

extern struct proc *initproc, *kernproc;

try passing kernproc to the open call.

Sam

On Wednesday, Jun 11, 2003, at 15:00 Australia/Melbourne, email@hidden wrote:

How can I get the current process from inside a kernel extension? I've
tried calling currentProcess(), but when that is included, the KEXT won't
load becuase of unresolved symbols.
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.



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.