| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Add Fedora_29_distcheck task with "make distcheck"
Add support for debug build with address sanitizer
Add missing free to tar/test/test_option_C_mtree.c
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Testing uses only listing because extraction uses the same code
paths. Indirectly this covers also the new API call.
Some corner cases get special attention:
- archive where a file in a directory is present without the
directory
- the error when asking to extract a directory which is not
present
|
|
|
|
| |
Fixes #999
|
|
|
|
|
|
|
| |
Treat targets ending with /. and /.. as directory symlinks
Explicitly test for file and directory symlinks
Improve debug output on test failure
Fix two memory allocations
|
|
|
|
| |
Enable tests on MinGW CI builds
|
|
|
|
| |
tests: extend assertMakeSymlink with targetIsDir
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Unit test fixes for windows
|
| | |
|
|/
|
|
| |
Fixes #952
|
|\
| |
| | |
Add support for Zstandard read and write filters
|
| | |
|
| | |
|
|/
|
|
| |
Sponsored by: Tarsnap Backup Inc.
|
|
|
|
| |
Detected with libasan on Linux.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mac OS X changes:
- add support for extended file attributes via sys/xattr.h
- when extracting an archive entry that has mac_metadata and
mac_metadata is requested to be extracted, extended attributes
are restored only from mac_metadata.
- by default, extended attributes are stored both in mac_metadata and
SCHILY.xattr/LIBARCHIVE.xattr. This is subject to review and change.
To match behavior on other platforms, store extended attributes on
FreeBSD with extattr_set_link() if no fd is provided.
Detection of extended attributes support in configure stage has been
rewritten.
Added xattr platform test to libarchive and xattrs option test to bsdtar.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Richacls are interpreted as NFSv4 ACLs and stored in archive_acl (Richacl
flags and masks are not stored). Analog to mac_metadata, NFSv4 ACLs do not
get extracted when the extraction of extended attributes is enabled and the
"trusted.richacl" extended attribute is present.
RichACL masks and are calculated from file mode on extraction.
mac_metadata acl check has been moved in the code to be together with the
richacl check.
|
|
|
|
| |
Remove ACL_FLAG_DEFER_INHERIT and ACL_FLAG_NO_INHERIT
|
|
|
|
|
| |
- Clear fflags on created directories
- FreeBSD ZFS workaround - ZFS sets uarch on all touched files
|
|
|
|
|
| |
Add sunacl_get() and setTestAcl() to common test code
Test for membership.h on Mac OS X and make it a requirement for ACLs
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Uid 17 is assigned on Solaris
|
|\
| |
| | |
Issue 696: ppc64le mache ckech failure
|
| |
| |
| |
| |
| |
| |
| | |
This issue is not ppc64le specific. I have experienced on my
4.4.22-gnu #1 SMP 1 i686 GNU/Linux. Might be dependant on kernel
version and/or machine load. POSIX says errors after posix_spawnp
returns can be signaled by child exitting with an 127 exit code.
|
| |
| |
| |
| |
| | |
Reported by: Coverity
CID: 1355330
|
| |
| |
| |
| |
| | |
Reported by: Coverity
CID: 1331627-1331630, 1355332, 1331634-1331645, 1331647, 1355331
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
assertion_file_contains_lines_any_order(..) early
Free memory consistently at the bottom of the function
Reported by: Coverity
CID: 1331678
|
| |
| |
| |
| |
| |
| |
| | |
fgets fails.
Reported by: Coverity
CID: 1331677
|
| |
| |
| |
| |
| |
| |
| |
| | |
If progname is sufficiently large enough, it would overflow the `tmpdir`
buffer, causing an illegal memory access
Reported by: Coverity
CID: 1331594
|
| |
| |
| |
| |
| |
| |
| |
| | |
subtract the buffer len by 1 to account for the needed space for a
NUL terminator, as readlink isn't guaranteed to provide one
Reported by: Coverity
CID: 1331293, 1332105
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Spelling: previos -> previous
Sponsored by: Tarsnap Backup Inc.
* Spelling: Preparre -> Prepare
Sponsored by: Tarsnap Backup Inc.
* Spelling: Invalide -> Invalid
Sponsored by: Tarsnap Backup Inc.
* Spelling: leagal -> legal
Sponsored by: Tarsnap Backup Inc.
* Spelling: lengthe -> length
Sponsored by: Tarsnap Backup Inc.
* Spelling: cotents -> contents
Sponsored by: Tarsnap Backup Inc.
* Spelling: travesal -> traversal
Sponsored by: Tarsnap Backup Inc.
* Spelling: functinos -> functions
Sponsored by: Tarsnap Backup Inc.
* Spelling: particluar -> particular
Sponsored by: Tarsnap Backup Inc.
* Spelling: uncapable -> incapable
Sponsored by: Tarsnap Backup Inc.
|
| |
| |
| |
| | |
Closes #821
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
| |
Thanks to Ed Maste for reporting this leak.
Found by: Coverity
|
|\
| |
| | |
tests: fix testsuite for umask issues
|
| |
| |
| |
| |
| |
| | |
Reproducible with umask 0077.
Resolves: #782
|