Skip to content

Commit 06ff5ef

Browse files
authored
Merge pull request #3024 from jhowardmsft/jjh/signalname
Windows: Update stackdump event name
2 parents a378dbc + 88f19a9 commit 06ff5ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/containerd/command/main_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func setupDumpStacks() {
6565
// Windows does not support signals like *nix systems. So instead of
6666
// trapping on SIGUSR1 to dump stacks, we wait on a Win32 event to be
6767
// signaled. ACL'd to builtin administrators and local system
68-
event := "Global\\containerd-daemon-" + fmt.Sprint(os.Getpid())
68+
event := "Global\\stackdump-" + fmt.Sprint(os.Getpid())
6969
ev, _ := windows.UTF16PtrFromString(event)
7070
sd, err := winio.SddlToSecurityDescriptor("D:P(A;;GA;;;BA)(A;;GA;;;SY)")
7171
if err != nil {

0 commit comments

Comments
 (0)