[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, 21 Feb 2021 17:18:35 +0000 (17:18 +0000)
commitcd68d45adaa565f092dd7005e190e8ad31bbc36a
tree8f91fade2aa771a2ac3f913da64014ff6184fe1f
parent552cb05a41a614ad492d85140f80aa493d086802
[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