I'm sorry, the function I used was current_proc(), not currentProcess(). -Joey On Tuesday, June 10, 2003, at 01:50 PM, Kevin Van Vechten wrote: That doesn't follow BSD naming convention, and a search through /usr/include comes up empty. Can you be more specific? What do you expect the "current process" to be when you call currentProcess() in your kext? (i.e. what do you plan on doing with the information about the current process?). - Kevin On Tuesday, June 10, 2003, at 10:35 AM, Joseph Gabriel Echeverria wrote: currentProcess() is in the BSD api I believe. It returns a struct proc *. -Joey On Tue, 10 Jun 2003, Kevin Van Vechten wrote: Hi Joey, What API contains currentProcess()? What are you hoping for currentProcess() to return? - Kevin On Tuesday, June 10, 2003, at 09:53 AM, Joseph Gabriel Echeverria 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. Thanks, Joey Joseph G. Echeverria Department of Electrical and Computer Engineering Carnegie Mellon University _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored. _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Joey Echeverria