Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libedit] Register signal handler with SA_ONSTACK flag. #40

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Commits on Aug 8, 2024

  1. [libedit] Register signal handler with SA_ONSTACK flag.

    This allows the handler to use the alternate signal stack if one is
    available in the handling thread, but has no effect otherwise.
    
    This change makes the signal handler respect existing choices better.
    Specifically, this allows signal handlers to be set when the process
    includes a Go runtime, since Go enforces that _all_ signal handlers in
    the process use the SA_ONSTACK flag (e.g. see golang/go#20400).
    tkoeppe committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    8089f6f View commit details
    Browse the repository at this point in the history