On Mon, Dec 26, 2016 at 01:54:16PM +0300, Dmitry V. Levin wrote:
> Are they really mutually exclusive?  What if the signal is handled?
> Why can't we inject both a signal and a fault into the same syscall?

You're right, strictly speaking they aren't mutually exclusive. But if 
we only want to fault the syscall, injecting an error value suffices. 
Sending a signal _and_ setting an error value seems like an overkill to 
me. That said, if one really wants to bypass signal masking, one can 
fault the call to signal.

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to