Re: Determining volume for a vnode inside a kauth listener?
Re: Determining volume for a vnode inside a kauth listener?
- Subject: Re: Determining volume for a vnode inside a kauth listener?
- From: Michael Smith <email@hidden>
- Date: Tue, 31 Oct 2006 10:39:38 -0800
Rick,
Please do us all a favour and look at the headers/source. Really. 8)
On Oct 31, 2006, at 10:30 AM, Rick Mann wrote:
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.
vnode_mount() will give you the mount_t representing the mounted
filesystem that the vnode is a member of. This isn't directly useful
other than in grouping vnode_t's together.
= Mike
_______________________________________________
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