diff options
author | rwatson <rwatson@FreeBSD.org> | 2000-01-19 06:13:59 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2000-01-19 06:13:59 +0000 |
commit | bfcdbb750811389b1a6daf4c2fd36f4648abd3c6 (patch) | |
tree | 6d41d209d7772ccb2423ce46aacfe7a6a2e3bc64 /lib/libc/posix1e/acl_get.c | |
parent | 81ac67ad74e0879cc0eb86f9abc74aca905c027b (diff) | |
download | FreeBSD-src-bfcdbb750811389b1a6daf4c2fd36f4648abd3c6.zip FreeBSD-src-bfcdbb750811389b1a6daf4c2fd36f4648abd3c6.tar.gz |
Fix bde'isms in acl/extattr syscall interface, renaming syscalls to
prettier (?) names, adding some const's around here, et al.
This is commit 4 out of 3, updating the userland library to reflect kernel
interface changes.
Reviewed by: bde
Diffstat (limited to 'lib/libc/posix1e/acl_get.c')
-rw-r--r-- | lib/libc/posix1e/acl_get.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/posix1e/acl_get.c b/lib/libc/posix1e/acl_get.c index 3871229..1293f0b 100644 --- a/lib/libc/posix1e/acl_get.c +++ b/lib/libc/posix1e/acl_get.c @@ -40,12 +40,12 @@ acl_get_file(const char *path_p, acl_type_t type) struct acl *aclp; int error; - aclp = acl_init(MAX_ACL_ENTRIES); + aclp = acl_init(ACL_MAX_ENTRIES); if (!aclp) { return (0); } - error = acl_syscall_get_file(path_p, type, aclp); + error = __acl_get_file(path_p, type, aclp); if (error) { acl_free(aclp); return (0); @@ -61,12 +61,12 @@ acl_get_fd(int fd, acl_type_t type) struct acl *aclp; int error; - aclp = acl_init(MAX_ACL_ENTRIES); + aclp = acl_init(ACL_MAX_ENTRIES); if (!aclp) { return (0); } - error = acl_syscall_get_fd(fd, type, aclp); + error = __acl_get_fd(fd, type, aclp); if (error) { acl_free(aclp); return (0); |