mirror of
https://github.com/containers/podman.git
synced 2025-06-03 12:17:13 +08:00
Merge pull request #5496 from baude/preemptive
eat signal 23 in signal proxy
This commit is contained in:
@ -20,7 +20,10 @@ func ProxySignals(ctr *libpod.Container) {
|
||||
for s := range sigBuffer {
|
||||
// Ignore SIGCHLD and SIGPIPE - these are mostly likely
|
||||
// intended for the podman command itself.
|
||||
if s == syscall.SIGCHLD || s == syscall.SIGPIPE {
|
||||
// SIGURG was added because of golang 1.14 and its preemptive changes
|
||||
// causing more signals to "show up".
|
||||
// https://github.com/containers/libpod/issues/5483
|
||||
if s == syscall.SIGCHLD || s == syscall.SIGPIPE || s == syscall.SIGURG {
|
||||
continue
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user