buildah/copier
Kir Kolyshkin 3d93408a06 all: fix capabilities.NewPid deprecation warnings
Since commit 3eef1ed0bd (January 2019) using
capabilities.NewPid() is deprecated.

Replace with NewPid2().

Note that in chroot/run.go we used to load then clear all capabilities
bits. With NewPid2, this is no longer needed -- we do not load caps, so
there is no need to clear.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-01-18 12:56:35 -08:00
..
copier.go copier.Put: check for is-not-a-directory using lstat, not stat 2021-11-30 10:28:53 -05:00
copier_linux_test.go all: fix capabilities.NewPid deprecation warnings 2022-01-18 12:56:35 -08:00
copier_test.go copier.Put: check for is-not-a-directory using lstat, not stat 2021-11-30 10:28:53 -05:00
copier_unix_test.go copier: add Remove() 2021-04-20 14:09:50 -04:00
syscall_unix.go copier: add GetOptions.NoCrossDevice 2021-04-14 10:19:19 -04:00
syscall_windows.go copier: add GetOptions.NoCrossDevice 2021-04-14 10:19:19 -04:00
unwrap_112.go
unwrap_113.go
xattrs.go
xattrs_test.go
xattrs_unsupported.go