|
7c2e3688
|
2010-10-03T18:03:48
|
|
acl: Add support for ACLs on NonStop Kernel.
* m4/acl.m4 (gl_FUNC_ACL): For Solaris, test for facl(), not for acl().
Check whether the function aclsort() exists.
* lib/acl-internal.h: For Solaris, test HAVE_FACL, not HAVE_ACL.
(acl_nontrivial) [HAVE_ACLSORT]: New declaration.
* lib/file-has-acl.c: For Solaris, test HAVE_FACL, not HAVE_ACL.
(acl_nontrivial [HAVE_ACLSORT]: New function.
(file_has_acl): Implement for NonStop Kernel.
* lib/set-mode-acl.c: For Solaris, test HAVE_FACL, not HAVE_ACL.
(qset_acl): Implement for NonStop Kernel.
* lib/copy-acl.c (qcopy_acl): Implement for NonStop Kernel.
* tests/test-sameacls.c: For Solaris, test HAVE_FACL, not HAVE_ACL.
(main): Implement for NonStop Kernel.
* tests/test-file-has-acl.sh (acl_flavor): Set to 'nsk' on NonStop
Kernel. Handle this flavor.
* tests/test-set-mode-acl.sh: Likewise.
* tests/test-copy-acl.sh: Likewise.
* tests/test-copy-file.sh: Likewise.
|
|
91fd3b18
|
2010-06-10T15:12:48
|
|
copy-acl: ignore ENOTSUP on HP-UX
Fixes Coreutils bug 6053.
* lib/acl-internal.h (ACL_NOT_WELL_SUPPORTED): Move definition up,
so that it is available for HP-UX.
* lib/copy-acl.c (qcopy_acl): Use it.
Reported by Patrick M. Callahan.
Signed-off-by: Eric Blake <eblake@redhat.com>
|
|
b2e2010c
|
2010-01-01T10:31:12
|
|
update nearly all FSF copyright year lists to include 2010
Use the same procedure as for 2009, outlined in
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
|
|
cfe42120
|
2009-05-04T02:36:07
|
|
Clarify acl_entries.
|
|
24a8cd3b
|
2008-06-11T02:33:46
|
|
Include gettext.h only in those files that need it.
|
|
765ede78
|
2008-06-10T02:40:28
|
|
Work around the Solaris 10 ACE ACLs ABI change.
|
|
45b218a2
|
2008-06-08T23:55:37
|
|
Add me as co-author.
|
|
3f5a6401
|
2008-06-08T20:33:08
|
|
Add support for AIX ACLs.
|
|
7e766e7f
|
2008-06-08T19:08:22
|
|
Add support for HP-UX ACLs.
|
|
c3dcd03b
|
2008-06-08T16:52:23
|
|
Add support for Cygwin ACLs.
|
|
5aeafebd
|
2008-06-08T16:04:08
|
|
Add support for Solaris 7..10 ACLs.
|
|
feea4bcd
|
2008-06-08T13:58:26
|
|
New function acl_extended_nontrivial (MacOS X only).
|
|
465b7e91
|
2008-06-04T22:48:48
|
|
New function for testing triviality of ACL with POSIX-draft like API.
|
|
af2a4457
|
2008-06-03T12:58:54
|
|
Improve Tru64 support.
|
|
952be23b
|
2008-06-03T01:34:20
|
|
Enclose definitions in #if for POSIX-draft like API.
|
|
ff84d0d5
|
2008-05-23T03:48:39
|
|
Add support for ACLs on OSF/1.
|
|
f9561cd0
|
2008-05-23T01:13:51
|
|
Make copy_acl work on MacOS X 10.5.
|
|
a962fe3f
|
2008-05-23T00:14:21
|
|
Move some declarations from acl.h to acl-internal.h.
|
|
57fdfd3f
|
2007-10-07T19:14:58
|
|
Change copyright notice from GPLv2+ to GPLv3+.
|
|
8597e379
|
2007-03-29T22:50:45
|
|
* lib/acl-internal.h (acl_get_fd, acl_set_fd): undef before defining,
to work around a problem on OSF/1 5.1 reported by Bruno Haible.
2007-03-29 Eric Blake <ebb9@byu.net>
* lib/acl-internal.h: Remove redundant include.
(ACL_NOT_WELL_SUPPORTED): Also filter on EBUSY, returned by
Cygwin when a file is locked.
|
|
0e3b78bc
|
2007-03-20T05:46:39
|
|
Suggestions by Bruno Haible:
* lib/acl-internal.h: Include "gettext.h" rather than rolling
our own.
(ACL_NOT_WELL_SUPPORTED): Parenthesize arg when used.
* modules/acl (Depends-on): Add gettext.
|
|
e37fe028
|
2007-03-19T21:58:57
|
|
Add limited support for Solaris 10 ZFS-style ACLs: just enough to
handle file_has_acl.
* lib/acl-internal.h, lib/acl_entries.c, lib/file-has-acl.c: New files.
* lib/acl.c: Move header inclusions and related macro defns into
lib/acl-internal.h.
(S_ISLNK): Remove defn, since that's now done for us.
(file_has_acl): Move to lib/file-has-acl.c.
Call acl_trivial if available. This is the crucial part of the fix.
(acl_entries): Move to lib/acl_entries.c. Now extern, since it's
shared within the library. Rewrite a bit, partly to make it compatible
with the GNU coding style.
* m4/acl.m4 (AC_FUNC_ACL): Add AC_LIBOBJ([file-has-acl]).
Remove unnecessary double-quotes.
Don't test for acl_to_text; the build will catch that.
Replace acl_entries if it doesn't exist and it is needed.
Check for -lsec and acl_trivial (as used on Solaris 10).
* modules/acl (Files): Add lib/acl-internal.h, lib/acl_entries.c,
lib/file-has-acl.c.
(Depends-on): Add sys_stat, for S_ISLNK.
|