[Bug 3670] [ssh-agent] 100% CPU spin in cleanup_handler signal handler

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Mar 9 09:10:16 AEDT 2024


https://bugzilla.mindrot.org/show_bug.cgi?id=3670

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org,
                   |                            |dtucker at dtucker.net
           Assignee|unassigned-bugs at mindrot.org |djm at mindrot.org
   Attachment #3793|                            |ok?(dtucker at dtucker.net)
              Flags|                            |

--- Comment #2 from Damien Miller <djm at mindrot.org> ---
Created attachment 3793
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3793&action=edit
use ppoll and flag in signal handler

alternately, we could just use a flag in a signal handler and check it
via ppoll. We use this approach for most other mainloops that can be
interrupted

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list