>From Daniel Gryniewicz <d...@redhat.com>:

Daniel Gryniewicz has uploaded a new change for review. ( 
https://review.gerrithub.io/349135


Change subject: Allow FSAL to determine if a user is superuser
......................................................................

Allow FSAL to determine if a user is superuser

Some systems have an alternative superuser, not just UID 0.  Allow this
by adding a is_superuser() method to the FSAL export that is passed
credentials and determines if the user is superuser.   By default, check
the UID against 0.

Change-Id: Id236ad29e044504bb277b7a114fbca3217093896
Signed-off-by: Daniel Gryniewicz <d...@redhat.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_export.c
M src/FSAL/Stackable_FSALs/FSAL_NULL/export.c
M src/FSAL/access_check.c
M src/FSAL/default_methods.c
M src/FSAL/fsal_helper.c
M src/include/fsal_api.h
M src/support/nfs_creds.c
7 files changed, 86 insertions(+), 9 deletions(-)



  git pull ssh://review.gerrithub.io:29419/ffilz/nfs-ganesha 
refs/changes/35/349135/1
-- 
To view, visit https://review.gerrithub.io/349135
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id236ad29e044504bb277b7a114fbca3217093896
Gerrit-Change-Number: 349135
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Owner: Daniel Gryniewicz <d...@redhat.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to