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

Fixes and updates to signal handling #2159

Merged
merged 1 commit into from Nov 11, 2014
Merged

Conversation

cheald
Copy link
Contributor

@cheald cheald commented Nov 9, 2014

  • Signal.trap now always returns the previous handler for the trapped
    signal, or the string DEFAULT or SYSTEM_DEFAULT as appropriate. This
    is the same behavior as MRI.
  • Signal 0 (SYSEXIT) in MRI is now implemented. If a SYSEXIT trap is
    set, it will be executed as the JRuby runtime is torn down.
  • Added Signal.sigame(0) support.
  • Added taint checking for trap handlers, for MRI parity
  • Added reserved signal checking for MRI parity
  • Fixed a bug that previously prevented IGNORE from being sent as a trap
  • Un-excluded a number of Signal tests

* Signal.trap now always returns the previous handler for the trapped
  signal, or the string DEFAULT or SYSTEM_DEFAULT as appropriate. This
  is the same behavior as MRI.
* Signal 0 (SYSEXIT) in MRI is now implemented. If a SYSEXIT trap is
  set, it will be executed as the JRuby runtime is torn down.
* Added taint checking for trap handlers, for MRI parity
* Added reserved signal checking for MRI parity
* Fixed a bug that previously prevented IGNORE from being sent as a trap
* Un-excluded a number of Signal tests
headius added a commit that referenced this pull request Nov 11, 2014
Fixes and updates to signal handling
@headius headius merged commit 480c520 into jruby:master Nov 11, 2014
@cheald cheald deleted the signal_fixes branch November 12, 2014 18:57
@headius headius modified the milestone: Invalid or Duplicate May 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants