moby--moby/pkg/chrootarchive
Brian Goff 85988b33d2 Use pivot_root instead of chroot for chrootarchive
This fixes one issue with Docker running under a grsec kernel, which
denies chmod and mknod under chroot.

Note, if pivot_root fails it will still fallback to chroot.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-05-04 19:55:34 -04:00
..
archive.go
archive_test.go
archive_unix.go Use pivot_root instead of chroot for chrootarchive 2016-05-04 19:55:34 -04:00
archive_windows.go
chroot_linux.go Use pivot_root instead of chroot for chrootarchive 2016-05-04 19:55:34 -04:00
chroot_unix.go Use pivot_root instead of chroot for chrootarchive 2016-05-04 19:55:34 -04:00
diff.go
diff_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
diff_windows.go
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