Commit Graph

32 Commits

Author SHA1 Message Date
Jeremy Soller adfd9702bf 0.2.2 - fix compilation on aarch64 2021-01-10 10:51:07 -07:00
jD91mZM2 2bc9acc5c2 Breaking Change: Goodbye, deprecated functions 2020-08-14 15:18:44 +02:00
4lDO2 6869e82a92 Add mmap2. 2020-07-08 15:36:59 +02:00
jD91mZM2 6ba71e7e06 Add ptrace exit breakpoint 2019-08-15 14:21:50 +02:00
jD91mZM2 a0581db1fa Merge ProtFlags and MapFlags 2019-07-28 17:36:10 +02:00
jD91mZM2 9a7bd554d5 Suggestion: Switch to bitflags 2019-07-26 12:23:03 +02:00
jD91mZM2 52441c28b1 First step for ptrace overhaul 2019-07-24 21:41:57 +02:00
jD91mZM2 85a45f382c WIP(ptrace): Better support for signals
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.
2019-07-23 20:15:33 +02:00
jD91mZM2 35b30e6fa9 Fix sigaction Undefind Behavior
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 :)
2019-07-23 20:15:32 +02:00
jD91mZM2 dcacbaed80 Add PtraceEvent for catching tracee forks 2019-07-23 20:14:52 +02:00
Jeremy Soller cceeae6ffe Add more tests 2019-07-07 09:11:45 -06:00
jD91mZM2 49dd22260b Fix floating-point struct 2019-07-04 15:51:55 +02:00
Jeremy Soller 43c562a921 0.1.55:
- deprecate chmod
- add tests
- CI using redoxer
2019-07-03 21:29:08 -06:00
jD91mZM2 4e3518b187 WIP(ptrace): Make the register structs x86_64-specific 2019-07-01 18:31:26 +02:00
jD91mZM2 a7aff4b60d WIP(ptrace): Add an alternative to Linux' user_regs_struct 2019-06-25 10:07:58 +02:00
Jeremy Soller 6909fb1c32 0.1.49 - mark ITimerSpec fields public 2018-12-28 21:44:49 -07:00
Jeremy Soller 65d1ea7900 0.1.48 - add itimerspec 2018-12-28 21:29:26 -07:00
Jeremy Soller 114fc92d62 Add flags to fmap by using a struct for fmap arguments. 2018-12-28 15:04:23 -07:00
Jeremy Soller c9858c9f73 Correct repr of event 2018-12-11 21:02:57 -07:00
Jeremy Soller 561557e774 Merge code cleanup from Rust fork, add clone_thread 2017-08-27 10:49:35 -06:00
Jeremy Soller b41142430c 0.1.26: Restorer as part of syscall crate, add sigreturn 2017-07-10 20:12:20 -06:00
Jeremy Soller 969a59666e Fix handler type 2017-07-09 20:37:43 -06:00
Jeremy Soller 9053a668e0 Convert to sigaction from signal 2017-07-09 20:31:34 -06:00
Ian Douglas Scott d3c0c2b892 Use repr(C) for structs in data.rs 2017-06-02 19:17:15 -07:00
Jeremy Soller 1193791d64 Add deref for timespec 2016-12-29 21:35:16 -07:00
Jeremy Soller d84ebc61b1 Add fstatvfs, check sizes on fstat 2016-11-18 08:06:27 -07:00
Jeremy Soller 77c43866db Update stat 2016-11-03 13:49:50 -06:00
Jeremy Soller 5a687dfeb5 Smp (#23)
* Fire up multiple processors

* Use IPIs to wake up secondary processors

* Much better exception information

* Modifications to show more information on fault

* WIP: Use real libstd

* Add TLS (not complete)

* Add random function, export getpid, cleanup

* Do not spin APs until new context

* Update rust

* Update rust

* Use rd/wrfsbase

* Implement TLS

* Implement compiler builtins and update rust

* Update rust

* Back to Redox libstd

* Update rust
2016-10-31 10:49:00 -06:00
Jeremy Soller 0e7fec4adf Add permissions to the filesystem, preliminary permissions to the syscalls 2016-10-05 14:24:08 -06:00
Jeremy Soller 837430e604 64-bit stat size, read entire executable in one go 2016-09-28 20:42:03 -06:00
Jeremy Soller a57b45e86b WIP: Kevent 2016-09-23 15:47:53 -06:00
Jeremy Soller da8e5db5c8 Implement more system calls 2016-09-20 16:57:45 -06:00