containerd/diff/apply
Akihiro Suda c224edc5c6 apply: use naive applier when running in UserNS
`OverlayConvertWhiteout` calls `mknod c 0 0` which is not allowed when
running in a user namespace, even in Ubuntu kernel.

Although there is an alternative hacky way to create whiteouts without
calling mknod as Moby `overlay2` actually does(see #3762), let's use
naive applier when running in UserNS and call it a day.

Close #3762

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-10-24 13:33:09 +09:00
..
apply_linux_test.go Support applying with parent directories 2019-08-16 15:49:47 -07:00
apply_linux.go apply: use naive applier when running in UserNS 2019-10-24 13:33:09 +09:00
apply_other.go Add direct unpack support for overlay and aufs 2019-08-15 12:09:32 -07:00
apply.go Read trailing data on apply 2019-08-21 11:41:56 -07:00