- Nov 14, 2019
-
-
Jeremy Soller authored
-
- Nov 02, 2019
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Oct 08, 2019
-
-
Timothy DeHerrera authored
-
- Oct 06, 2019
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Aug 15, 2019
-
-
jD91mZM2 authored
I believe this could cause a deadlock if a blocking I/O operation was interrupted by a signal or otherwise, and decided to exit and close all files. It's unlikely to happen, but it can happen nontheless. This removes the mutex, but it's difficult to keep the code tidy. Hopefully this is good enough.
-
jD91mZM2 authored
This will let you stop at process exit and inspect it right before the process dies.
-
jD91mZM2 authored
-
jD91mZM2 authored
-
- Aug 13, 2019
-
-
Jeremy Soller authored
-
- Jul 31, 2019
-
-
jD91mZM2 authored
-
- Jul 30, 2019
- Jul 27, 2019
-
-
jD91mZM2 authored
-
- Jul 26, 2019
- Jul 24, 2019
-
-
jD91mZM2 authored
-
Jeremy Soller authored
-
- Jul 23, 2019
-
-
jD91mZM2 authored
-
- Jul 21, 2019
-
-
jD91mZM2 authored
Signals now cause an event, and there's a way to continue until the next signal. I can see this being used for detection of `int3` although I'm not entirely sure as it may prove being too late to stop abortion of process.
-
jD91mZM2 authored
-
jD91mZM2 authored
See [strace-redox#ea42589d](strace-redox@ea42589d)
-
- Jul 20, 2019
-
-
jD91mZM2 authored
This is a curious problem and it's really hard to solve it in a way that doesn't feel hacky. On one hand, of course you want to be able to modify and intercept what happens when you use a signal, right? On the other hand, changes made to the context (especially singlestepping) while a signal is handled (such as `SIGSTOP`) are not preserved since the stack is restored after the signal handler was invoked. I think what we have in this change makes sense anyway, as we don't really want users modifying registers and other data in the default signal behavior that occurs **in kernel mode**. Also trying to use `PTRACE_SINGLESTEP` will set the singlestep flag only if in a user-mode signal handler, else it will set it on the instruction after the signal handling, which I guess makes sense since it can't affect the kernel-mode code that runs the default handler. I don't know. Help. Pls.
-
jD91mZM2 authored
Rust does not allow a `fn`-pointer to be null. This fixes that, while luckily doing it in a way that leaves system calls backwards-compatible :)
-
jD91mZM2 authored
-
jD91mZM2 authored
-
jD91mZM2 authored
-
- Jul 19, 2019
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Jul 14, 2019
-
-
Jeremy Soller authored
-
- Jul 07, 2019
-
-
- Jul 02, 2019
-
-
Jeremy Soller authored
Since even a very basic ptrace can be nice to have, I thought I would split the, perhaps rather big, ptrace project up in multiple PRs to make as few changes as necessary in each. This PR contains the initial registry modifying bits and only a very basic security measure. Letting this out to the community should be good for spotting bugs and maybe getting some hype ;)
-
Jeremy Soller authored
This reverts merge request !103
-
- Jul 01, 2019
-
-
I'm guessing it's some issue after a rebase or something...
-
- Jun 27, 2019
-
-
Jeremy Soller authored
-