• 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
Re: Identifying local and network volumes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Identifying local and network volumes


  • Subject: Re: Identifying local and network volumes
  • From: Michael Smith <email@hidden>
  • Date: Fri, 16 Feb 2007 10:37:59 -0800


On Feb 15, 2007, at 9:46 PM, Sudarshan S wrote:

I am trying to implement a authorization plug-in and would like to apply my rules only if the file system exists on any physically attached device (hard disk, usb, cd/dvd, etc). Would like to bypass these rules for data store that is connected using network to optimize the authorization process(I am looking into file contents for authorization decisions). In that case, is it sufficient to check MNT_LOCAL ?
Is it a guideline for kauth plugin to check vfs_authopaque( ) and not do anything if the file system is mounted with auth_opaque flag ?

If your intent is only to participate in local authorisation operations, vfs_authopaque() is what you should use, yes.


 = 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
References: 
 >Re: Identifying local and network volumes (From: Sudarshan S <email@hidden>)

  • Prev by Date: Re: MT_HEADER mbufs and SO_NREAD interaction?
  • Next by Date: Re: How to compare IOMedia->getName() return string with user input string in start () routine of driver
  • Previous by thread: Re: Identifying local and network volumes
  • Next by thread: Darwin and Xen?
  • Index(es):
    • Date
    • Thread