1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/archive
Tobias Klauser 86f080cff0 Use Mkdev, Major and Minor functions from golang.org/x/sys/unix
Update golang.org/x/sys to 8dbc5d05d6edcc104950cc299a1ce6641235bc86 in
order to get the Major, Minor and Mkdev functions for every unix-like
OS. Use them instead of the locally defined versions which currently use
the Linux specific device major/minor encoding.

This means that the device number should now be properly encoded on e.g.
Darwin, FreeBSD or Solaris.

Also, the SIGUNUSED constant was removed from golang.org/x/sys/unix in
https://go-review.googlesource.com/61771 as it is also removed from the
respective glibc headers.

Remove it from signal.SignalMap as well after the golang.org/x/sys
re-vendoring.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2017-10-19 08:28:38 +02:00
..
testdata
archive.go pkg/package: remove promise package 2017-09-21 17:56:45 -07:00
archive_linux.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
archive_linux_test.go use testify to check error for test unit test of archive package 2017-08-09 10:27:01 +08:00
archive_other.go Update archive package to support overlay whiteouts 2016-06-08 00:10:16 -07:00
archive_test.go Add ineffassign linter 2017-09-08 18:23:21 -04:00
archive_unix.go Use Mkdev, Major and Minor functions from golang.org/x/sys/unix 2017-10-19 08:28:38 +02:00
archive_unix_test.go Replacing os.Lstat with os.Stat to determine directory status in CopyInfoDestinationPath 2017-08-15 23:19:42 +00:00
archive_windows.go Remove ToHost and replace it with IDMappings.ToHost 2017-06-07 11:44:34 -04:00
archive_windows_test.go Remove unused functions from archive. 2017-06-07 11:44:33 -04:00
changes.go archive: add ChownOpts support to TarWithOptions 2017-08-23 20:52:29 +02:00
changes_linux.go Use Mkdev, Major and Minor functions from golang.org/x/sys/unix 2017-10-19 08:28:38 +02:00
changes_other.go Windows: Docker build starting to work 2015-06-17 10:41:28 -07:00
changes_posix_test.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
changes_test.go Merge pull request #31993 from dccurtis/issue-31816 2017-09-19 10:54:53 -07:00
changes_unix.go Add unconvert linter 2017-08-24 15:08:31 -04:00
changes_windows.go Tidy pkg\system *stat* functions 2017-04-05 16:01:53 -07:00
copy.go Merge pull request #31993 from dccurtis/issue-31816 2017-09-19 10:54:53 -07:00
copy_unix.go Windows - make docker cp functional 2015-08-06 11:22:38 -07:00
copy_unix_test.go use testify to check error for test unit test of archive package 2017-08-09 10:27:01 +08:00
copy_windows.go Windows - make docker cp functional 2015-08-06 11:22:38 -07:00
diff.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
diff_test.go Windows CI: test-unit on pkg\archive part 2 2016-02-12 15:40:41 -08:00
example_changes.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
README.md
time_linux.go
time_unsupported.go
utils_test.go pkg/archive: remove unnecessary Archive and Reader type 2016-10-20 19:31:24 -07:00
whiteouts.go Fix typos found across repository 2015-12-13 18:04:12 +02:00
wrap.go pkg/archive: remove unnecessary Archive and Reader type 2016-10-20 19:31:24 -07:00
wrap_test.go use testify to check error for test unit test of archive package 2017-08-09 10:27:01 +08:00

This code provides helper functions for dealing with archive files.