- 21 Jul, 2019 1 commit
-
-
jD91mZM2 authored
See [strace-redox#ea42589d](strace-redox@ea42589d)
-
- 20 Jul, 2019 5 commits
-
-
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
-
- 19 Jul, 2019 6 commits
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- 14 Jul, 2019 2 commits
-
-
-
Jeremy Soller authored
-
- 07 Jul, 2019 2 commits
-
-
Jeremy Soller authored
Ptrace memory reading and floating point registers support See merge request !104
-
jD91mZM2 authored
-
- 02 Jul, 2019 2 commits
-
-
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
-
- 01 Jul, 2019 2 commits
-
-
Jeremy Soller authored
Bare-bones ptracing functionality See merge request !103
-
jD91mZM2 authored
I'm guessing it's some issue after a rebase or something...
-
- 27 Jun, 2019 1 commit
-
-
Jeremy Soller authored
-
- 24 Jun, 2019 1 commit
-
-
Jeremy Soller authored
-
- 21 Jun, 2019 2 commits
-
-
Jeremy Soller authored
Switch to 2018 edition See merge request !102
-
jD91mZM2 authored
Most of this was generated by the absolutely extraordinary `cargo fix` subcommand. There were still 2 errors and a few warnings to patch up, but compared to the normal 600+ errors, I'd say the fixer did a damn good job! I'm also amazed that I could still start the VM after this, I half expected some kinds of runtime failure...
-
- 03 Jun, 2019 1 commit
-
-
Jeremy Soller authored
-
- 28 Apr, 2019 1 commit
-
-
Jeremy Soller authored
-
- 27 Apr, 2019 2 commits
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- 16 Apr, 2019 5 commits
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- 15 Apr, 2019 4 commits
-
-
Jeremy Soller authored
-
Jeremy Soller authored
Fix dropping grants without unmapping if they have no file descriptor (such as those from anonymous maps)
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- 14 Apr, 2019 3 commits
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-