| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Monday, June 9, 2003, at 02:52 PM, Robert Sandilands wrote:---------------------------------------------------------------------
I have a struct proc * inside a sysent[xxx] call and from there want to get the current working directory of the process that initiated the action. I have looked through the kernel and the mailing list archives and not found any obvious pointers.
Does anybody have any ideas?
You can look at xnu/bsd/vfs/vfs_syscalls:chdir() to see how the various structures are stitched together. Is this what you are looking for?
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | Some people have a mental
| horizon of radius zero, and
| call it their point of view.
| -- David Hilbert
*-------------------------------------- *-------------------------------*
_______________________________________________
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.
| References: | |
| >Re: Current Directory of a Process (From: "Justin C. Walker" <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.