diff options
author | trasz <trasz@FreeBSD.org> | 2009-05-22 15:56:43 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2009-05-22 15:56:43 +0000 |
commit | fb57d2691e61eb7ee2ab8df2ee9f41842c5f1a26 (patch) | |
tree | c4c23f9c8441dec7c3000e786fd64356cf1e6e07 /lib/libc/posix1e/acl_init.c | |
parent | 22a2faaf8a380ef584515e66ff4136bf512c6e21 (diff) | |
download | FreeBSD-src-fb57d2691e61eb7ee2ab8df2ee9f41842c5f1a26.zip FreeBSD-src-fb57d2691e61eb7ee2ab8df2ee9f41842c5f1a26.tar.gz |
Make 'struct acl' larger, as required to support NFSv4 ACLs. Provide
compatibility interfaces in both kernel and libc.
Reviewed by: rwatson
Diffstat (limited to 'lib/libc/posix1e/acl_init.c')
-rw-r--r-- | lib/libc/posix1e/acl_init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/posix1e/acl_init.c b/lib/libc/posix1e/acl_init.c index 6ce40de..905df60 100644 --- a/lib/libc/posix1e/acl_init.c +++ b/lib/libc/posix1e/acl_init.c @@ -54,8 +54,10 @@ acl_init(int count) } acl = malloc(sizeof(struct acl_t_struct)); - if (acl != NULL) + if (acl != NULL) { bzero(acl, sizeof(struct acl_t_struct)); + acl->ats_acl.acl_maxcnt = ACL_MAX_ENTRIES; + } return (acl); } |