Skip to content
Snippets Groups Projects
  1. Aug 16, 2011
  2. Aug 05, 2011
  3. Sep 15, 2009
    • Brian De Wolf's avatar
      allow parsing ACEs with empty masks · 75053cc0
      Brian De Wolf authored
      
      After upgrading from 0.3.2 to 0.3.3 to fix some segfaulting issues we
      had, 0.3.3 now rejects ACEs that have empty mask fields.  This is
      because the function parse_alloc_fields checks whether the three strings
      are zero length.  Having a zero length "type" or "who" definitely
      doesn't make sense, but having an empty mask is entirely possible.  It's
      allowed in the old versions and the ZFS back-end in our setup allows
      them too.  Even nfs4_getfacl prints them out, producing the frustrating
      situation where nfs4_getfacl can produce ACLs that you can't apply with
      nfs4_setfacl.
      
      This patch modifies the function to not check if the mask is an empty
      string.
      
      Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      75053cc0
  4. Dec 03, 2008
  5. Aug 22, 2008
Loading