Re: [PATCH v4 0/2] make sigaltstack() compatible with swapcontext()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Szabolcs Nagy <nsz@xxxxxxxxxx> [2016-03-06 21:02:08 +0100]:
> * Stas Sergeev <stsp@xxxxxxx> [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.
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux