Stephen Kell

Results 180 comments of Stephen Kell

I've now implemented a rough version of this in 1c80375. Will leave this issue open until I have more confidence that it works. Reinstating `dldelete()` seems necessary also.

Being optimistic for a second, non-Linux systems may have other interfaces for creating named temporary files that don't outlive the creating process....

I wrote a simple ```gettimeofday``` test case and was surprised to find that it works! So my understanding is out-of-whack here. First step is to check that it really is...

Indeed our stack-copying hack in do-syscall.h assumes we can copy all the way back from the current top-of-stack to the trap site's top-of-stack (marked by the saved stack pointer in...

Confirmed this is a problem for running ```bash```, no doubt among many other programs.

Once we cache our trap sites (#14), this will be easier. We'll have an in-memory record of where our trap sites are. So, we can test the trapping address against...

Actually the problem is not just SIGILL handling... it's handling any signal. What happens on any application-provided signal handler? It returns, passing control to the libc's restorer... which tries to...

One idea I had is to perform sigreturn in userspace. What does sigreturn do? It fixes up the executing context so that it will resume back at the point where...

On arches where RT signals are distinct from 'normal' signals, we have a problem because the kind of resuming we can do from our own frame is only the SIGILL...

Remember: it may be best to invest in jump-based trapping rather than solving this. But the quick hack of sigreturn-directly is worth trying.