1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/archive
Alexander Larsson 3b9953903b archive: Handle capabilities in tar files
If a file has a security.capability set, we push this to the tar file.
This is important to handle in e.g. layer files or when copying files
to containers, as some distros (e.g. Fedora) use capability bits as
a more finegrained version of setuid bits, and thus if the capabilites
are stripped (and setuid is not set) the binaries will fail to work.

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
2014-02-20 09:23:34 +01:00
..
archive.go archive: Handle capabilities in tar files 2014-02-20 09:23:34 +01:00
archive_test.go Add vendored archive/tar that includes xattrs patch 2014-02-17 08:20:21 -07:00
changes.go archive: Detect file changes to capability bits 2014-02-20 09:23:34 +01:00
changes_test.go small batch of edits/corrections to comments 2013-12-24 16:40:14 -08:00
diff.go archive: Handle aufs plink hardlinks in ApplyLayer 2014-02-17 20:46:32 +01:00
MAINTAINERS Move archive.go to sub package 2013-10-31 16:57:45 -07:00
stat_linux.go Archive: Add Add Lgetxattr and Lsetxattr implementations 2014-02-20 09:23:34 +01:00
stat_unsupported.go Archive: Add Add Lgetxattr and Lsetxattr implementations 2014-02-20 09:23:34 +01:00
wrap.go Add vendored archive/tar that includes xattrs patch 2014-02-17 08:20:21 -07:00