From 733a69e26b29a9663acf15eb1b780136b23f29f5 Mon Sep 17 00:00:00 2001 From: John Howard Date: Fri, 15 Feb 2019 15:26:56 -0800 Subject: [PATCH] Windows:Update dumpstack event name Signed-off-by: John Howard --- daemon/debugtrap_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/debugtrap_windows.go b/daemon/debugtrap_windows.go index b438d03812..606d3ce955 100644 --- a/daemon/debugtrap_windows.go +++ b/daemon/debugtrap_windows.go @@ -15,7 +15,7 @@ func (d *Daemon) setupDumpStackTrap(root string) { // 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\\docker-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 {