Fix old buggy assumptions about various buffer sizes.
Properly define maximum sizes for principal names, ACE sizes, and ACL size.
Previously, both the size of a given ACE and the number of ACEs allowed in an
ACL were artificially constrained and caused a variety of bugs.
Special thanks to Brian De Wolf for help both on and off the linux-nfs
mailing list in reporting and debugging these issues.
Signed-off-by:
David M. Richter <richterd@citi.umich.edu>
Showing
- GUI/nfs4-acl-editor/nfs4acleditor.cpp 22 additions, 22 deletionsGUI/nfs4-acl-editor/nfs4acleditor.cpp
- GUI/nfs4-acl-editor/nfs4acleditor.h 3 additions, 3 deletionsGUI/nfs4-acl-editor/nfs4acleditor.h
- include/libacl_nfs4.h 24 additions, 16 deletionsinclude/libacl_nfs4.h
- include/nfs4.h 17 additions, 5 deletionsinclude/nfs4.h
- libnfs4acl/acl_nfs4_set_who.c 1 addition, 1 deletionlibnfs4acl/acl_nfs4_set_who.c
- libnfs4acl/nfs4_acl_spec_from_file.c 13 additions, 5 deletionslibnfs4acl/nfs4_acl_spec_from_file.c
- libnfs4acl/nfs4_acl_utils.c 4 additions, 4 deletionslibnfs4acl/nfs4_acl_utils.c
- libnfs4acl/nfs4_remove_file_aces.c 3 additions, 3 deletionslibnfs4acl/nfs4_remove_file_aces.c
Loading
Please register or sign in to comment