Determining volume for a vnode inside a kauth listener?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com TIA, -- Rick _______________________________________________ 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... Is there a way to quickly determine the volume for a given vnode inside a kauth listener? I'm about to look at the source, but maybe someone can point me in the right direction (or confirm what I find). I'm hoping to find some kind of integer ID value, representing the volume for a particular vnode, that I can squirrel away whenever a FILEOP kauth request comes in. In order to keep my kauth listener as fast as possible, I'd like to avoid string operations, including comparisons, as much as possible. All I need to do is determine which volume holds a vnode, and then store off a little data in a private data structure for it. This email sent to site_archiver@lists.apple.com
participants (1)
-
Rick Mann