提交 4f9981db 编写于 作者: W WangFengTu 提交者: lifeng68

support extact xattrs

Signed-off-by: NWangFengTu <wangfengtu@huawei.com>
上级 51d8e835
......@@ -165,6 +165,7 @@ int archive_unpack_handler(const struct io_read_wrapper *content, const char *ds
flags |= ARCHIVE_EXTRACT_FFLAGS;
flags |= ARCHIVE_EXTRACT_SECURE_SYMLINKS;
flags |= ARCHIVE_EXTRACT_SECURE_NODOTDOT;
flags |= ARCHIVE_EXTRACT_XATTR;
a = archive_read_new();
archive_read_support_filter_all(a);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册