diff options
author | Benjamin Berg <benjamin@sipsolutions.net> | 2025-06-02 15:00:46 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2025-06-02 15:17:19 +0200 |
commit | 247ed9e4a6869f3bf07bffd277a341a6833abdbc (patch) | |
tree | ca52d898fa724fe905ba743a914bf1feb4e85aa5 /scripts/generate_rust_analyzer.py | |
parent | b76d18b53a3f52880452a58cc982910abcccd111 (diff) |
um: Move faultinfo extraction into userspace routine
The segv handler is called slightly differently depending on whether
PTRACE_FULL_FAULTINFO is set or not (32bit vs. 64bit). The only
difference is that we don't try to pass the registers and instruction
pointer to the segv handler.
It would be good to either document or remove the difference, but I do
not know why this difference exists. And, passing NULL can even result
in a crash.
Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net>
Link: https://patch.msgid.link/20250602130052.545733-2-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions