Re: Getting vnode from filename?
Re: Getting vnode from filename?
- Subject: Re: Getting vnode from filename?
- From: Greg <email@hidden>
- Date: Sat, 23 Jun 2007 00:17:35 -0400
On Jun 22, 2007, at 12:44 PM, Michael Smith wrote:
I assume you are referring to the fileop scope? Many of the paths
that are passed to this scope are not necessarily viable candidates
for lookup; for example the 'from' name for rename is gone by the
time the kauth handler runs.
No I'm using the vnode scope.
'man cscope'
Thanks, I didn't know about this useful command. Unfortunately it
wasn't able to find example usage of vnode_lookup in the xnu source
but it did find the definition, and while that does tell me a bit
more about how to use it, I'm still not sure if it does what I think
it does, but I think it's a safe bet that it returns (via pointer
arg) the vnode corresponding to the path name.
- Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden