Skip to content

Commit

Permalink
Bump up maximum allowed ACL entries (#189)
Browse files Browse the repository at this point in the history
nfsd supports up to 1024 ACEs. Windows servers support a security
descriptor size of up to 64 KiB, which translates to around 1700
aces, but since we don't locally support that size we'll keep both
at 1024 max.
  • Loading branch information
anodos325 authored and usaleem-ix committed Oct 30, 2024
1 parent 04c07cf commit 1347f0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fs/nfs_common/nfs41acl_xdr.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
/*
* Macros for sanity checks related to XDR and ACL buffer sizes
*/
#define NFS41ACL_MAX_ENTRIES 128
#define NFS41ACL_MAX_ENTRIES 1024
#define ACE4SIZE (NACE41_LEN * sizeof(u32))
#define XDRBASE (2 * sizeof (u32))

Expand Down
2 changes: 1 addition & 1 deletion fs/smb/client/nfs41acl_xdr.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
/*
* Macros for sanity checks related to XDR and ACL buffer sizes
*/
#define NFS41ACL_MAX_ENTRIES 128
#define NFS41ACL_MAX_ENTRIES 1024
#define ACE4SIZE (NACE41_LEN * sizeof(u32))
#define XDRBASE (2 * sizeof (u32))

Expand Down

0 comments on commit 1347f0e

Please sign in to comment.