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 Directory of a Process



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: 
 >Current Directory of a Process (From: Robert Sandilands <email@hidden>)



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.