• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Determining volume for a vnode inside a kauth listener?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Determining volume for a vnode inside a kauth listener?
      • From: Michael Smith <email@hidden>
  • Prev by Date: Re: Process name from PID inside kernel?
  • Next by Date: Re: Any way to get PID of kauth FILEOP auth requestor?
  • Previous by thread: Re: Process name from PID inside kernel?
  • Next by thread: Re: Determining volume for a vnode inside a kauth listener?
  • Index(es):
    • Date
    • Thread