From 727fd599fba8218274a4acc3c1014823875e0e05 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 2 Oct 2017 15:05:10 +0200 Subject: [PATCH] ctr: remove SIGUNUSED from signal map 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. This means the command ctr tasks kill SIGUNUSED ... will no longer work. However, the same effect can be achieved with ctr tasks kill SIGSYS ... as SIGSYS has the same value as SIGUNUSED used to have. Signed-off-by: Tobias Klauser --- cmd/ctr/signals_linux.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/ctr/signals_linux.go b/cmd/ctr/signals_linux.go index cb17133c2..0cc0a5022 100644 --- a/cmd/ctr/signals_linux.go +++ b/cmd/ctr/signals_linux.go @@ -34,7 +34,6 @@ var signalMap = map[string]syscall.Signal{ "TSTP": unix.SIGTSTP, "TTIN": unix.SIGTTIN, "TTOU": unix.SIGTTOU, - "UNUSED": unix.SIGUNUSED, "URG": unix.SIGURG, "USR1": unix.SIGUSR1, "USR2": unix.SIGUSR2,