From 88f19a90a8d69be3a728a95cd8717e183df558b5 Mon Sep 17 00:00:00 2001 From: John Howard Date: Fri, 15 Feb 2019 15:33:29 -0800 Subject: [PATCH] Windows: Update stackdump event name Signed-off-by: John Howard --- cmd/containerd/command/main_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/containerd/command/main_windows.go b/cmd/containerd/command/main_windows.go index 071958a02..68f5b933b 100644 --- a/cmd/containerd/command/main_windows.go +++ b/cmd/containerd/command/main_windows.go @@ -65,7 +65,7 @@ func setupDumpStacks() { // Windows does not support signals like *nix systems. So instead of // trapping on SIGUSR1 to dump stacks, we wait on a Win32 event to be // signaled. ACL'd to builtin administrators and local system - event := "Global\\containerd-daemon-" + fmt.Sprint(os.Getpid()) + event := "Global\\stackdump-" + fmt.Sprint(os.Getpid()) ev, _ := windows.UTF16PtrFromString(event) sd, err := winio.SddlToSecurityDescriptor("D:P(A;;GA;;;BA)(A;;GA;;;SY)") if err != nil {