1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/chrootarchive
Brian Goff 5ede64d63f Use rslave instead of rprivate in chrootarchive
With `rprivate` there exists a race where a reference to a mount has
propagated to the new namespace, when `rprivate` is set the parent
namespace is not able to remove the mount due to that reference.
With `rslave` unmounts will propagate correctly into the namespace and
prevent the sort of transient errors that are possible with `rprivate`.

This is a similar fix to 117c92745b

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-10-16 13:49:31 -04:00
..
archive.go LCOW: Implemented support for docker cp + build 2017-09-14 12:07:52 -07:00
archive_test.go LCOW: Create layer folders with correct ACL 2017-06-20 19:50:12 -07:00
archive_unix.go Fix docker import tests 2016-05-23 15:34:40 -07:00
archive_windows.go Windows: Fix long path handling for docker build 2015-09-15 10:58:11 -07:00
chroot_linux.go Use rslave instead of rprivate in chrootarchive 2017-10-16 13:49:31 -04:00
chroot_unix.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
diff.go pkg/archive: remove unnecessary Archive and Reader type 2016-10-20 19:31:24 -07:00
diff_unix.go Refactoring ineffectual assignments 2017-01-13 00:27:01 -07:00
diff_windows.go Use wrong ApplyLayer in diff_windows.go 2016-12-19 17:21:18 +08:00
init_unix.go Remove flush(stdout) in pkg/chrootarchive/diff_unix.go and improve error reporting of flush() to fix #21103 2016-03-15 10:29:51 -07:00
init_windows.go Windows: Docker build starting to work 2015-06-17 10:41:28 -07:00