From bfcdbb750811389b1a6daf4c2fd36f4648abd3c6 Mon Sep 17 00:00:00 2001 From: rwatson Date: Wed, 19 Jan 2000 06:13:59 +0000 Subject: 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 --- lib/libposix1e/acl_get.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libposix1e/acl_get.c') diff --git a/lib/libposix1e/acl_get.c b/lib/libposix1e/acl_get.c index 3871229..1293f0b 100644 --- a/lib/libposix1e/acl_get.c +++ b/lib/libposix1e/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); -- cgit v1.1