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

Fix uninstalling signal handlers #976

Merged
merged 1 commit into from
Feb 5, 2021

Commits on Jan 22, 2021

  1. Fix uninstalling signal handlers

    When uninstalling signal handlers disable them instead of uninstalling.
    Do it this way because:
    
    1. Signal handlers installed after ours can take our signal handling
    function address and chain to it. In this case the function must always
    work.
    2. If multiple signal handlers for same signal are installed after ours
    we can't remove ours without removing all but the last installed one.
    
    Because we don't uninstall our signal handlers we now directly call
    previously installed signal handlers.
    blaztomazicO7 committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    9956057 View commit details
    Browse the repository at this point in the history