Re: Getting vnode from filename?
site_archiver@lists.apple.com Delivered-To: Darwin-kernel@lists.apple.com On Jun 22, 2007, at 12:44 PM, Michael Smith wrote: No I'm using the vnode scope. - Greg _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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. '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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Greg