1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/system
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
..
chtimes.go
chtimes_test.go
chtimes_unix.go
chtimes_unix_test.go
chtimes_windows.go
chtimes_windows_test.go
errors.go
exitcode.go
filesys.go
filesys_windows.go
init.go
init_unix.go
init_windows.go
lcow.go
lcow_unix.go
lcow_windows.go
lstat_unix.go
lstat_unix_test.go
lstat_windows.go
meminfo.go
meminfo_linux.go
meminfo_solaris.go
meminfo_unix_test.go
meminfo_unsupported.go
meminfo_windows.go
mknod.go Use Mkdev, Major and Minor functions from golang.org/x/sys/unix 2017-10-19 08:28:38 +02:00
mknod_windows.go
path.go
path_windows_test.go
process_unix.go
rm.go
rm_test.go
stat_darwin.go
stat_freebsd.go
stat_linux.go
stat_openbsd.go
stat_solaris.go
stat_unix.go
stat_unix_test.go
stat_windows.go
syscall_unix.go
syscall_windows.go
syscall_windows_test.go
umask.go
umask_windows.go
utimes_freebsd.go
utimes_linux.go
utimes_unix_test.go
utimes_unsupported.go
xattrs_linux.go
xattrs_unsupported.go