When engine run "commit",
the file content will be copied from specified layer to new layer.
But copied file have not attribute.
So, Add copylistxattr and copyxattr functions.
This patch can only be used in overlay2 and aufs.
docker-ce commit :
705853e4acd77efa175d65d2b05c07d8020d66c0
Signed-off-by: sy1124.kim <sy1124.kim@samsung.com>
Change-Id: I27b085a1905eb3ca79ef3817b20b3b09b70c98b9