Re: about seg fault inside rseq critical section
From: Mathieu Desnoyers
Date: Wed Apr 07 2021 - 09:25:05 EST
(re-sent in plain-text for lkml)
----- On Apr 6, 2021, at 6:24 PM, Mingyi Liu mingyiliu@xxxxxxxxxx wrote:
> Hi Mathieu,
> I notice that the program will be terminated with segmentation fault when it is
> even seg faulted inside the rseq critical section. In Linux kernel rseq.c, I
> haven't found comment or code regarding this. Could you share any references on
> why it doesn't execute user defined abort handler but uses the OS handler
> instead?
> Thanks in advance!
Hi Mingyi,
Please let me add the other rseq maintainers and LKML in CC. I'm a bit stretched on time
here, so maybe they will have time to answer before I do.
Meanwhile, if you could provide details about your architecture, kernel .config, and a
small reproducer program, it would help bootstrapping the discussion.
Thanks,
Mathieu
> Best,
> Mingyi
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com