mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Windows:Update dumpstack event name
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
fcb286895b
commit
733a69e26b
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ func (d *Daemon) setupDumpStackTrap(root string) {
|
||||||
// Windows does not support signals like *nix systems. So instead of
|
// 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
|
// trapping on SIGUSR1 to dump stacks, we wait on a Win32 event to be
|
||||||
// signaled. ACL'd to builtin administrators and local system
|
// 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)
|
ev, _ := windows.UTF16PtrFromString(event)
|
||||||
sd, err := winio.SddlToSecurityDescriptor("D:P(A;;GA;;;BA)(A;;GA;;;SY)")
|
sd, err := winio.SddlToSecurityDescriptor("D:P(A;;GA;;;BA)(A;;GA;;;SY)")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue