Determining volume for a vnode inside a kauth listener?
Determining volume for a vnode inside a kauth listener?
- Subject: Determining volume for a vnode inside a kauth listener?
- From: Rick Mann <email@hidden>
- Date: Tue, 31 Oct 2006 10:30:04 -0800
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.
TIA,
--
Rick
_______________________________________________
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