4lDO2
6cd82c63cd
Enhance the Mmio API, and deprecate Mmio::new().
2020-02-10 15:32:07 +01:00
4lDO2
08a3800e87
Also allow ?Sized types to get the physaddr.
2020-02-02 11:44:55 +01:00
4lDO2
a2938fc7a3
Allow Dma to use ?Sized types, mostly for slices.
2020-02-02 11:44:55 +01:00
jD91mZM2
6ba71e7e06
Add ptrace exit breakpoint
2019-08-15 14:21:50 +02:00
jD91mZM2
bf5e138def
Allow catching int3
2019-07-31 16:43:28 +02:00
jD91mZM2
75a1e6f970
Add way to ignore signals
2019-07-30 15:54:07 +02:00
jD91mZM2
51f0ef2826
Implement Deref for PtraceFlags
2019-07-29 08:31:21 +02:00
jD91mZM2
a0581db1fa
Merge ProtFlags and MapFlags
2019-07-28 17:36:10 +02:00
jD91mZM2
c0dad4475a
Fix tests
2019-07-27 16:23:25 +02:00
jD91mZM2
9a7bd554d5
Suggestion: Switch to bitflags
2019-07-26 12:23:03 +02:00
jD91mZM2
edf3c008dc
u64s are bigger than I thought!
2019-07-26 10:28:42 +02:00
jD91mZM2
52441c28b1
First step for ptrace overhaul
2019-07-24 21:41:57 +02:00
jD91mZM2
df993cc26e
Switch to 2018 edition
2019-07-24 21:41:53 +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
1ee9229c6a
fixup! Fix sigaction Undefind Behavior
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
c89c2cb2f4
Add tests
2019-07-20 10:11:01 -06: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
e3fd644ba9
Compile on non-redox platforms but return ENOSYS for all system calls
2019-07-04 07:44:09 -06:00
Jeremy Soller
43c562a921
0.1.55:
...
- deprecate chmod
- add tests
- CI using redoxer
2019-07-03 21:29:08 -06:00
Jeremy Soller
ea1f9e098b
Compile empty on non-redox platforms
2019-07-03 20:12:32 -06:00
jD91mZM2
4e3518b187
WIP(ptrace): Make the register structs x86_64-specific
2019-07-01 18:31:26 +02:00
jD91mZM2
e5bbe5b7e0
WIP(ptrace): Add PTRACE_WAIT
2019-07-01 16:16:34 +02:00
jD91mZM2
a7aff4b60d
WIP(ptrace): Add an alternative to Linux' user_regs_struct
2019-06-25 10:07:58 +02:00
Jeremy Soller
5cdc240d13
0.1.54 - add method to disable caching when using physmap
2019-04-08 17:49:25 -06:00
Jeremy Soller
a5c19c54de
Do not require transpose_result, it is now stable
2019-04-07 10:51:41 -06:00
Jeremy Soller
b07c481b4a
0.1.53 - add funmap to Scheme traits
2019-04-06 18:58:09 -06:00
Jeremy Soller
9eff3aeeef
Add CLONE_STACK flag
2019-03-31 08:41:43 -06:00
Jeremy Soller
a715b8cf97
Switch over to using syscall instruction and linux abi on x86_64
2019-01-19 21:41:14 -07:00
Jeremy Soller
54c06ce754
Add mprotect
2018-12-31 20:32:04 -07: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
d84a66b609
0.1.47 - fix signature of sigprocmask
2018-12-28 21:19:36 -07:00
Jeremy Soller
697dbd3001
0.1.46 - add sigprocmask
2018-12-28 21:13:33 -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
0c30603ec0
Add aarch64
2018-11-26 11:38:53 -07:00
Jeremy Soller
ab782ebfc0
Mark umask as safe
2018-11-16 19:48:06 -07:00
Jeremy Soller
cbb39163d4
Add umask
2018-11-16 19:43:24 -07:00
Jeremy Soller
85598a1c33
Merge branch 'relibc'
2018-10-14 16:43:40 -06:00
Tommy Hudson
cb6efcb479
Document more possible syscall errors
2018-10-14 01:42:25 +00:00
Jeremy Soller
739aef47b8
Remove unused type parameter
2018-08-11 16:47:37 -06:00
Jeremy Soller
66e34aea2e
Remove execve, replace with fexec
2018-08-11 11:14:16 -06:00
Michael Murphy
d230cc98b4
Give Error::text() a static lifetime
2018-06-24 11:52:25 -06:00
Jeremy Soller
0ab552da9a
Transpose result in SchemeBlock
2018-05-30 09:39:30 -06:00
Jeremy Soller
229edcf704
Add new scheme traits, add generator script
2018-05-30 09:16:45 -06:00
Jeremy Soller
3971bb414f
Remove fevent
2018-05-20 16:26:13 -06:00
Ian Douglas Scott
3fc22e2e4c
Remove core_intrinsics feature
...
Stable versions of these functions now exist under core::ptr, so use
those.
2018-01-06 22:38:37 -08:00