1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/signal
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
..
testfiles Add test coverage to signal/trap.go 2017-08-09 15:13:38 +05:00
README.md
signal.go
signal_darwin.go
signal_freebsd.go
signal_linux.go Use Mkdev, Major and Minor functions from golang.org/x/sys/unix 2017-10-19 08:28:38 +02:00
signal_linux_test.go Add gosimple linter 2017-09-12 12:09:59 -04:00
signal_solaris.go Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
signal_test.go Add test coverage to pkg/signal 2017-06-01 14:53:15 +05:00
signal_unix.go Replace api/client imports with cli/command in experimental files. 2016-09-08 15:46:48 -04:00
signal_unsupported.go Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
signal_windows.go Replace api/client imports with cli/command in experimental files. 2016-09-08 15:46:48 -04:00
trap.go Remove the logrus from pkg/signal 2017-08-02 18:15:25 +08:00
trap_linux_test.go Add test coverage to signal/trap.go 2017-08-09 15:13:38 +05:00

This package provides helper functions for dealing with signals across various operating systems