summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-04-03 23:14:52 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-04-03 23:14:52 +0900
commitf928e60d41314a9aad2d9629114bb3ae57f51096 (patch)
treeac575311fb153385fa3f8ad470c648dd044cbb40 /test/ruby
parent4960a598d6bc42adcfd488c7f455b2defcdc8161 (diff)
Check if a fatal signal is from kernel
On Linux, `siginfo_t` uses a union for each `si_code`, and the field corresponding to `si_pid` does not belong to the `_sigfault` field for SIGSEGV. It actually overlaps the `si_addr` field, which is usually non-zero on stack overflow. https://github.com/ruby/ruby/pull/10201#issuecomment-2034723244
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions