[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
acl: add support for OSF/1 5.1
From: |
Bruno Haible |
Subject: |
acl: add support for OSF/1 5.1 |
Date: |
Fri, 23 May 2008 04:06:27 +0200 |
User-agent: |
KMail/1.5.4 |
Jim,
This proposed patch fixes the copy-file testsuite failures on Tru64.
Three problems had to be handled:
- The ACL related functions are in libpacl.a, not in libacl as on Linux.
- The acl_get_fd and acl_set_fd functions conform to an older draft
(draft 13) of the abandoned POSIX spec. They take one more argument.
Furthermore they are defined as macros - which makes it harder to define
a replacement.
- The acl_free function is only applicable to an 'acl_t', not to a 'char *'.
A function acl_free_text exists for the latter.
OK to commit?
2008-05-22 Bruno Haible <address@hidden>
Add support for ACLs on OSF/1.
* lib/acl-internal.h (acl_get_fd, acl_set_fd): New inline function
replacements.
(acl_free_text): New macro fallback.
* lib/acl_entries.c (acl_entries): Use acl_free_text instead of
acl_free.
* m4/acl.m4 (gl_FUNC_ACL): Look also in libpacl library. Test for
acl_free_text function. Require AC_C_INLINE.
0002-Add-support-for-ACLs-on-OSF-1.patch
Description: Text Data
- acl: add support for OSF/1 5.1,
Bruno Haible <=