Commit Graph

230 Commits

Author SHA1 Message Date
Jeremy Soller 3dc594c1ca Merge branch 'fix-0.2.2' into 'master'
Add missing imports, fixing 0.2.2.

See merge request redox-os/syscall!60
2021-01-11 13:40:56 +00:00
4lDO2 87158cd932 Bump cargo version to 0.2.3. 2021-01-11 14:39:08 +01:00
4lDO2 1f58eaf222 Add missing imports, fixing 0.2.2. 2021-01-11 14:35:32 +01:00
Jeremy Soller adfd9702bf 0.2.2 - fix compilation on aarch64 2021-01-10 10:51:07 -07:00
Jeremy Soller 45c7ca85b1 0.2.1 2020-08-27 09:35:55 -06:00
Jeremy Soller 405964e4fb Merge branch 'remove-brk' into 'master'
Remove brk

See merge request redox-os/syscall!59
2020-08-17 12:36:47 +00:00
jD91mZM2 5d53df836e Remove brk 2020-08-15 17:31:27 +02:00
Jeremy Soller 4115e0f435 Merge branch 'deprecate-stuff' into 'master'
Breaking Change: Goodbye, deprecated functions

See merge request redox-os/syscall!58
2020-08-14 15:21:08 +00:00
jD91mZM2 2bc9acc5c2 Breaking Change: Goodbye, deprecated functions 2020-08-14 15:18:44 +02:00
Jeremy Soller a7d066a3a2 Merge branch 'idiomatic-rust' into 'master'
Replace llvm_asm in x86_64 code with asm

See merge request redox-os/syscall!56
2020-08-03 13:36:35 +00:00
jD91mZM2 7f668b27cf Replace llvm_asm in x86_64 code with asm
Also removes the syscall1_clobber call, because `clone` now saves the
registers in the kernel anyway.
2020-08-01 16:52:16 +02:00
Jeremy Soller a0ea09ceb3 Merge branch 'memory' into 'master'
Add funmap2

See merge request redox-os/syscall!55
2020-07-30 12:58:12 +00:00
Jeremy Soller d183662648 Merge branch 'aj-0.2.0' into 'master'
Merge rename-to-llvm-asm into master; bump to 0.2.0

See merge request redox-os/syscall!54
2020-07-28 00:33:21 +00:00
Aaron Janse af890302eb bump version to 0.2.0 2020-07-27 17:11:41 -07:00
David L. Campbell 5cc40831ef Rename asm to llvm_asm. 2020-07-27 17:05:30 -07:00
jD91mZM2 bca011c7a0 Add funmap2 scheme call 2020-07-24 13:02:29 +02:00
jD91mZM2 7cc003d583 Add funmap2 2020-07-22 15:10:03 +02:00
Jeremy Soller c4ddf3fff4 Merge branch 'auxv' into 'master'
Implement auxiliary vector

See merge request redox-os/syscall!53
2020-07-21 14:16:24 +00:00
jD91mZM2 6346fd671e Add AT_PHDR 2020-07-10 12:48:22 +02:00
jD91mZM2 10994eaa96 Add auxiliery vector 2020-07-10 12:10:24 +02:00
Jeremy Soller 403c63adce Merge branch 'mmap2' into 'master'
Add mmap2

See merge request redox-os/syscall!52
2020-07-09 11:58:05 +00:00
4lDO2 27fcecb30f Add MAP_FIXED_NOREPLACE. 2020-07-08 18:17:11 +02:00
4lDO2 21b3cd34a8 Change the default fmap2 impl to use fmap. 2020-07-08 17:35:24 +02:00
4lDO2 6869e82a92 Add mmap2. 2020-07-08 15:36:59 +02:00
Jeremy Soller 122878874d Merge branch 'moar-gdb' into 'master'
Simplify EXEC catching + add signal handling

See merge request redox-os/syscall!51
2020-07-07 12:46:14 +00:00
jD91mZM2 a1af645cbf Remove bloated ptrace flags
I have had a think, and these flags are pointless. Since this is a
microkernel, there should always be exactly one way to do something, and
it should be the most flexible and simplest to implement. And you can
already just set breakpoints on the address provided by the signal
handler, and we'll give the entrypoint as an address to the fexec call.
2020-07-07 13:44:15 +02:00
jD91mZM2 69a8340f12 Add PTRACE_STOP_SIGNAL_HANDLER
Not entirely a useful thing, one *could* also put a breakpoint on the
handler address... I'll need to think about this some more.
2020-07-07 10:51:57 +02:00
Jeremy Soller fcebe8f225 Merge branch 'signed-seek' into 'master'
change seek sig to match posix - signed pos and result

See merge request redox-os/syscall!45
2020-06-27 11:48:09 +00:00
Jeremy Soller 7552c31f50 Merge branch 'ptrace-fexec' into 'master'
ptrace: stop on fexec

See merge request redox-os/syscall!50
2020-06-25 12:38:45 +00:00
jD91mZM2 c23d36e892 ptrace: stop on fexec 2020-06-21 17:53:29 +02:00
Graham MacDonald 940f3f1e30 move calc_seek_offset* to syscall 2020-06-19 23:53:05 +01:00
Graham MacDonald 1c394c447f change seek sig to match posix - signed pos and result 2020-06-19 23:31:20 +01:00
Jeremy Soller 9ecdc11d73 Merge branch 'physalloc3-fix' into 'master'
Add missing match item for `PartialAllocStrategy::Greedy`.

See merge request redox-os/syscall!48
2020-06-16 20:37:57 +00:00
4lDO2 eebf1c3856 Add missing match item for Greedy. 2020-06-16 21:50:56 +02:00
Jeremy Soller 783a03dc73 Merge branch 'complex-physalloc' into 'master'
Add a more complex physalloc syscall.

See merge request redox-os/syscall!46
2020-06-16 12:11:58 +00:00
4lDO2 3efc8d06be Add a more complex physalloc syscall. 2020-06-16 12:11:58 +00:00
Jeremy Soller 78bacde129 Merge branch 'ptrace-block' into 'master'
ptrace: Block on read, not on write

See merge request redox-os/syscall!47
2020-06-16 12:09:58 +00:00
jD91mZM2 1c637e72b2 ptrace: Block on read, not on write 2020-06-16 13:00:09 +02:00
Jeremy Soller 8d0015be86 Merge branch 'improved-mmio' into 'master'
Allow Mmio to work with const fn

See merge request redox-os/syscall!43
2020-02-10 14:40:29 +00:00
4lDO2 e380f6b3d4 Allow syscall::Result to accept other error types. 2020-02-10 15:32:30 +01:00
4lDO2 6cd82c63cd Enhance the Mmio API, and deprecate Mmio::new(). 2020-02-10 15:32:07 +01:00
Jeremy Soller 6beba08342 Merge branch 'dma-slices' into 'master'
Allow Dma<[T]>

See merge request redox-os/syscall!42
2020-02-03 01:22:56 +00: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
Jeremy Soller c969ac0699 Merge branch 'ptrace-end' into 'master'
Final few ptrace changes

See merge request redox-os/syscall!41
2020-01-20 17:59:22 +00:00
jD91mZM2 6ba71e7e06 Add ptrace exit breakpoint 2019-08-15 14:21:50 +02:00
Jeremy Soller 0e1e7d5d36 Merge branch 'ptrace-6' into 'master'
Ptrace overhaul & bitflags

See merge request redox-os/syscall!40
2019-07-31 20:29:42 +00: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