From 8d039f7bd84ce8cbbbe9ba5677f5a353d6224b66 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Fri, 3 Feb 2017 14:26:15 -0600 Subject: libtar: support backing up and restoring new Android user.* xattr Support for backing up and restoring user.default, user.inode_cache, and user.inode_code_cache xattrs introduced in Android 7.x Change-Id: I6e0aa7fc9cd30ed004ef28ebb58d60a82e518123 --- libtar/android_utils.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 libtar/android_utils.h (limited to 'libtar/android_utils.h') diff --git a/libtar/android_utils.h b/libtar/android_utils.h new file mode 100644 index 000000000..72cb9285b --- /dev/null +++ b/libtar/android_utils.h @@ -0,0 +1,22 @@ +/* +** Copyright 2008, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ + +#ifndef LIBTAR_ANDROID_UTILS_H +#define LIBTAR_ANDROID_UTILS_H + +int write_path_inode(const char* parent, const char* name, const char* inode_xattr); + +#endif -- cgit v1.2.3