Re: Identifying local and network volumes
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