Re: Current Directory of a Process
Re: Current Directory of a Process
- Subject: Re: Current Directory of a Process
- From: "Justin C. Walker" <email@hidden>
- Date: Mon, 9 Jun 2003 15:33:11 -0700
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.