[PATCH] Add chroot for tar packing operations
authorBrian Goff <cpuguy83@gmail.com>
Thu, 30 May 2019 21:55:52 +0000 (14:55 -0700)
committerFelix Geyer <fgeyer@debian.org>
Sun, 14 Jun 2020 20:12:29 +0000 (21:12 +0100)
commitabe6aea0f10f811f4df245034d69d2978fd4eda1
treea03878d6b76f28d8a56b6123346e3df396770440
parent84c58b795ee765ae1da330dff1c5a1ef8ffff47d
[PATCH] Add chroot for tar packing operations

Previously only unpack operations were supported with chroot.
This adds chroot support for packing operations.
This prevents potential breakouts when copying data from a container.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Origin: upstream, https://github.com/moby/moby/pull/39292

Gbp-Pq: Name cve-2018-15664-02-add-chroot-for-tar-packing-operations.patch
engine/daemon/archive.go
engine/daemon/export.go
engine/pkg/chrootarchive/archive.go
engine/pkg/chrootarchive/archive_unix.go
engine/pkg/chrootarchive/archive_windows.go
engine/pkg/chrootarchive/init_unix.go