|
06d3319b
|
2011-09-06T10:38:52
|
|
acl: Fix a test failure on IRIX 6.5 with NFS.
* lib/acl-internal.h (MODE_INSIDE_ACL): Define to 0 on IRIX.
* lib/set-mode-acl.c (qset_acl): Test !HAVE_ACL_TYPE_EXTENDED instead
of MODE_INSIDE_ACL. If !MODE_INSIDE_ACL, do a chmod_or_fchmod always.
* lib/copy-acl.c (qcopy_acl): Likewise.
|
|
1b73d498
|
2011-09-06T00:26:07
|
|
acl: Clean up Solaris code.
* lib/acl-internal.h: Remove no-op #if.
* lib/file-has-acl.c: Likewise.
* lib/set-mode-acl.c (qset_acl): Remove unused Solaris code.
* lib/copy-acl.c (qcopy_acl): Likewise.
|
|
ceb5e179
|
2011-09-05T23:45:11
|
|
acl: Improve support of NFSv4 ACLs on Solaris 10 (newer version).
* lib/acl-internal.h (acl_nontrivial): Declare also on newer Solaris
10.
* lib/file-has-acl.c (acl_nontrivial): Define also on newer Solaris 10.
(acl_ace_nontrivial): Likewise. Recognize the trivial ACLs with 6 ACEs.
* lib/copy-acl.c (qcopy_acl): On newer Solaris 10, use acl or facl
instead of acl_get, facl_get, acl_set, facl_set.
|
|
227b08bb
|
2011-06-13T02:11:03
|
|
acl: Add support for HP-UX >= 11.11 JFS ACLs.
* doc/acl-resources.txt: Add info about the ACL APIs on HP-UX.
* m4/acl.m4 (gl_FUNC_ACL): Also test for HP-UX 11.11 API.
* lib/acl-internal.h [HP-UX 11.11]: Include <aclv.h>.
(acl, aclsort): New declarations.
(aclv_nontrivial): New declaration.
* lib/file-has-acl.c (aclv_nontrivial) [HP-UX 11.11]: New function.
(file_has_acl): Read also the second kind of HP-UX ACLs.
* lib/set-mode-acl.c (qset_acl) [HP-UX 11.11]: Try to set the second
kind of HP-UX ACLs if the first kind fails.
* lib/copy-acl.c (qcopy_acl) [HP-UX 11.11]: Read and set also the
second kind of HP-UX ACLs.
* tests/test-sameacls.c [HP-UX 11.11]: Include <aclv.h>.
(main) [HP-UX 11.11]: Test also whether the second kind of HP-UX ACLs
agree.
* tests/test-file-has-acl.sh (acl_flavor) [HP-UX 11.11]: Set to
hpuxjfs.
Handle hpuxjfs.
* tests/test-set-mode-acl.sh (acl_flavor) [HP-UX 11.11]: Set to
hpuxjfs.
Handle hpuxjfs.
* tests/test-copy-acl.sh (acl_flavor) [HP-UX 11.11]: Set to hpuxjfs.
(func_test_same_acls): Use both lsacl and getacl.
Handle hpuxjfs.
* tests/test-copy-file.sh (acl_flavor) [HP-UX 11.11]: Set to hpuxjfs.
(func_test_same_acls): Use both lsacl and getacl.
Handle hpuxjfs.
|
|
9cbf59b7
|
2011-06-13T01:17:20
|
|
acl: Complete the 2010-08-10 fix.
* lib/file-has-acl.c (file_has_acl) [HP-UX]: Also test against ENOTSUP.
* lib/set-mode-acl.c (qset_acl) [HP-UX]: Likewise.
* lib/copy-acl.c (qcopy_acl) [HP-UX]: Test for the errno values
explicitly.
* tests/test-sameacls.c (main) [HP-UX]: Also test against ENOTSUP.
Reported in <http://debbugs.gnu.org/db/60/6053.html>.
|
|
d60f3b0c
|
2011-01-01T20:17:23
|
|
maint: update almost all copyright ranges to include 2011
Run the new "make update-copyright" rule.
|
|
ef6309e7
|
2010-12-18T22:22:43
|
|
acl: port to Solaris 8 when copying from tmpfs to ufs
* lib/copy-acl.c (qcopy_acl): Also allow EINVAL as an ignorable
error number. Problem observed on Solaris 8 with latest
coreutils, with "mv A B", where A is on a tmpfs file system and B
is on a ufs file system. This caused coreutils' mv/part-symlink
test to fail.
|
|
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>
|
|
ca156dd8
|
2010-02-12T08:32:00
|
|
copy-acl: enhance Solaris ACL error handling
Gracefully handle EOPNOTSUPP in qcopy_acl and qset_acl. These
functions, as used in coreutils, were causing the test suite to fail
on Solaris 8 i386 with ZFS-backed NFSv3 mounts. The failures included
errors such as:
FAIL: cp/backup-dir
cp: preserving permissions for `y/x': Operation not supported on
transport endpoint
* lib/copy-acl.c (qcopy_acl): Also ignore EOPNOTSUPP.
* lib/set-mode-acl.c (qset_acl): Likewise.
Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
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
|
|
3030c5b5
|
2009-12-28T10:50:36
|
|
update nearly all FSF copyright year lists to include 2009
The files named by the following are exempted:
grep -v '^#' config/srclist.txt|grep -v '^$' \
| while read src dst; do
test -f "$dst" && { echo "$dst"; continue; }
test -d "$dst" || continue
echo "$dst"/$(basename "$src")
done > exempt
git ls-files tests/unictype >> exempt
In the remaining files, convert to all-interval notation if
- there is already at least one year interval like 2000-2003
- the file is maintained by me
- the file is in lib/uni*/, where that style already prevails
Otherwise, use update-copyright's default.
|
|
441aa304
|
2009-12-10T20:28:30
|
|
Use spaces for indentation, not tabs.
|
|
8eaac7a5
|
2008-10-11T03:26:03
|
|
Fix test failure on Cygwin.
|
|
24a8cd3b
|
2008-06-11T02:33:46
|
|
Include gettext.h only in those files that need it.
|
|
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).
|
|
c9c845c2
|
2008-06-08T05:06:19
|
|
Add support for MacOS X ACLs.
|
|
ebbcc86e
|
2008-06-08T04:34:52
|
|
Trivial code simplifications.
|
|
07beaf87
|
2008-06-07T20:11:23
|
|
Trivial stylistic improvements.
|
|
6a2540a7
|
2008-06-06T08:34:18
|
|
Avoid gcc warning on cygwin.
* lib/copy-acl.c (qcopy_acl) [!HAVE_ACL_GET_FILE &&
!ACL_NO_TRIVIAL]: Avoid unused variable.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
803e1619
|
2008-06-05T00:56:52
|
|
Fix small mistake from 2008-06-01.
|
|
465b7e91
|
2008-06-04T22:48:48
|
|
New function for testing triviality of ACL with POSIX-draft like API.
|
|
fb3917ca
|
2008-06-04T00:00:28
|
|
Simplify #ifs. Put Solaris code after POSIX-like code.
|
|
96da577c
|
2008-06-03T12:57:18
|
|
Make acl_entries work reliably.
|
|
3299e556
|
2008-06-02T13:03:21
|
|
Separate the error handling into a different function.
|
|
f9561cd0
|
2008-05-23T01:13:51
|
|
Make copy_acl work on MacOS X 10.5.
|
|
d2e44433
|
2008-05-23T00:13:07
|
|
Split off copy_acl function to separate file.
|