diff options
author | Martin Matuska <mm@FreeBSD.org> | 2016-11-29 21:53:16 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2016-11-29 21:53:16 +0000 |
commit | 35837ea989bc77db98fdb46127d63e0f9c857ec6 (patch) | |
tree | 668536742ab8e6fe5ab0cc658c700cb4febe30c1 /libarchive/archive_entry_acl.3 | |
parent | 930550a55e28eda815a869274e1f152d8a408d44 (diff) | |
download | src-35837ea989bc77db98fdb46127d63e0f9c857ec6.tar.gz src-35837ea989bc77db98fdb46127d63e0f9c857ec6.zip |
Update vendor/libarchive to git 256e52f073765a4ddad1e86fd4d0eda2a18147bf
Important vendor bugfixes (relevant to FreeBSD):
#821: tar -P cannot extract hardlinks through symlinks
#825: Add sanity check of tar "uid, "gid" and "mtime" fields
Notes
Notes:
svn path=/vendor/libarchive/dist/; revision=309299
Diffstat (limited to 'libarchive/archive_entry_acl.3')
-rw-r--r-- | libarchive/archive_entry_acl.3 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/libarchive/archive_entry_acl.3 b/libarchive/archive_entry_acl.3 index 5aff99682352..e85c4ded1627 100644 --- a/libarchive/archive_entry_acl.3 +++ b/libarchive/archive_entry_acl.3 @@ -33,7 +33,8 @@ .Nm archive_entry_acl_next , .Nm archive_entry_acl_next_w , .Nm archive_entry_acl_reset , -.Nm archive_entry_acl_text_w +.Nm archive_entry_acl_text_w , +.Nm archive_entry_acl_types .Nd functions for manipulating Access Control Lists in archive entry descriptions .Sh LIBRARY Streaming Archive Library (libarchive, -larchive) @@ -85,6 +86,8 @@ Streaming Archive Library (libarchive, -larchive) .Fn archive_entry_acl_reset "struct archive_entry *a" "int type" .Ft const wchar_t * .Fn archive_entry_acl_text_w "struct archive_entry *a" "int flags" +.Ft int +.Fn archive_entry_acl_types "struct archive_entry *a" .\" enum? .Sh DESCRIPTION An @@ -192,6 +195,11 @@ The returned long string is valid until the next call to .Fn archive_entry_acl_add_entry_w or .Fn archive_entry_acl_text_w . +.Pp +.Fn archive_entry_acl_types +get ACL entry types contained in an archive entry's ACL. As POSIX.1e and NFSv4 +ACL entries cannot be mixed, this function is a very efficient way to detect if +an ACL already contains POSIX.1e or NFSv4 ACL entries. .Sh RETURN VALUES .Fn archive_entry_acl_count and @@ -225,6 +233,9 @@ The returned long string is valid until the next call to .Fn archive_entry_acl_add_entry_w or .Fn archive_entry_acl_text_w . +.Pp +.Fn archive_entry_acl_types +returns a bitmask of ACL entry types or 0 if archive entry has no ACL entries. .Sh SEE ALSO .Xr archive_entry 3 .Xr libarchive 3 , |