Re: [PATCH 2/9] um: Move faultinfo extraction into userspace routine

2025-03-18 Thread Johannes Berg
On Mon, 2025-02-24 at 19:18 +0100, Benjamin Berg wrote: > > -static void handle_segv(int pid, struct uml_pt_regs *regs) > -{ > - get_skas_faultinfo(pid, ®s->faultinfo); > - segv(regs->faultinfo, 0, 1, NULL); > -} > This, and below, no longer applies due to the other segv() changes. Easy

[PATCH 2/9] um: Move faultinfo extraction into userspace routine

2025-02-24 Thread Benjamin Berg
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

[RFC PATCH 2/9] um: Move faultinfo extraction into userspace routine

2024-09-25 Thread Benjamin Berg
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