06.03.2016 23:02, Szabolcs Nagy пишет:
* Stas Sergeev [2016-03-01 00:29:03 +0300]:
The following patches make it possible to use swapcontext()
in a sighandler that works on sigaltstack.
i don't think that's possible, the (obsolete) userspace
*context functions cannot operate on kernel provided
* Szabolcs Nagy [2016-03-06 21:02:08 +0100]:
> * Stas Sergeev [2016-03-01 00:29:03 +0300]:
> > The following patches make it possible to use swapcontext()
> > in a sighandler that works on sigaltstack.
>
> i don't think that's possible, the (obsolete) userspace
> *context functions cannot operat
* Stas Sergeev [2016-03-01 00:29:03 +0300]:
> The following patches make it possible to use swapcontext()
> in a sighandler that works on sigaltstack.
i don't think that's possible, the (obsolete) userspace
*context functions cannot operate on kernel provided
ucontext_t structs, so they are not u
The following patches make it possible to use swapcontext()
in a sighandler that works on sigaltstack.
The approach is inspired by Andy Lutomirski's suggestion that
sigaltstack should disarm itself after saving into uc_stack:
https://lkml.org/lkml/2016/2/1/594
I add the SS_AUTODISARM flag that doe
4 matches
Mail list logo