Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1351193
| From | Szabolcs Nagy <nsz@port70.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 0/2] make sigaltstack() compatible with swapcontext() |
| Date | 2016-03-06 21:30 +0100 |
| Message-ID | <r9Ntn-1uz-1@gated-at.bofh.it> (permalink) |
| References | <r7DHQ-8rB-15@gated-at.bofh.it> <r9Na2-1n4-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
* Szabolcs Nagy <nsz@port70.net> [2016-03-06 21:02:08 +0100]: > * Stas Sergeev <stsp@list.ru> [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 usable in signal > handlers. > > at least not on most target archs. > > so i don't understand how the tests can work portably. > i see the test does not use the kernel ucontext_t and only synchronous context switch is done sorry for the noise.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v4 0/2] make sigaltstack() compatible with swapcontext() Szabolcs Nagy <nsz@port70.net> - 2016-03-06 21:10 +0100 Re: [PATCH v4 0/2] make sigaltstack() compatible with swapcontext() Szabolcs Nagy <nsz@port70.net> - 2016-03-06 21:30 +0100 Re: [PATCH v4 0/2] make sigaltstack() compatible with swapcontext() Stas Sergeev <stsp@list.ru> - 2016-03-06 21:30 +0100
csiph-web