jD91mZM2
2d63009ba4
Add debug entry for fmap2
2020-07-18 13:40:12 +02:00
jD91mZM2
310a425c65
Merge branch 'master' into auxv
2020-07-18 12:19:11 +02:00
jD91mZM2
615e516585
Add extra assembler metadata
2020-07-16 17:13:30 +02:00
jD91mZM2
11f26140f5
Fix most MR concerns
2020-07-16 16:59:58 +02:00
jD91mZM2
895a4a5656
Deprecate int 0x80
...
Mainly because I think the code could be cleaner if we can remove
support entirely :)
2020-07-16 16:33:25 +02:00
jD91mZM2
4fbe86a9ce
Fix random userspace page faults
...
I was an idiot and forgot rbx wasn't always backed up. As a result, we
should never ever write to it
2020-07-16 16:32:48 +02:00
jD91mZM2
acebd1a8d1
Merge remote-tracking branch 'origin/master' into global-asm
2020-07-16 15:35:42 +02:00
jD91mZM2
b00456dbb9
WIP: Continue trying to fix clone_ret
2020-07-16 13:46:53 +02:00
Jeremy Soller
c78b69969f
Include trampoline in kernel to fix multi_core on EFI
2020-07-15 21:46:15 -06:00
Jeremy Soller
1e44f157d0
Fix graphical_debug feature
2020-07-15 16:10:51 -06:00
jD91mZM2
145c1898be
Merge branch 'master' into global-asm
2020-07-15 12:05:34 +02:00
jD91mZM2
3bb234009a
WIP: Ensure clone_ret correctness
2020-07-15 11:43:17 +02:00
Jeremy Soller
93303af931
Merge branch 'catch-kernel-signal' into 'master'
...
Catch kernel signal
See merge request redox-os/kernel!135
2020-07-14 12:53:46 +00:00
Jeremy Soller
6b2302f92e
Merge branch 'paging-packed-use-unsafe' into 'master'
...
Wrap borrows of page table entries in unsafe
See merge request redox-os/kernel!126
2020-07-14 12:53:21 +00:00
jD91mZM2
ca3ddcdeca
Add TODOs for mapping PTI properly
...
I think we need to reimplement these functions in assembly :(
2020-07-14 09:14:16 +02:00
jD91mZM2
701c31cee0
Fix PTI compilation
...
It's broken on master anyway
2020-07-13 15:49:37 +02:00
jD91mZM2
5927743ff8
fixup! WIP: Rewrite interrupts as global assembly
2020-07-13 15:25:15 +02:00
jD91mZM2
aa3279455d
Merge branch 'master' into auxv
2020-07-13 12:48:48 +02:00
jD91mZM2
ec2c42dc66
WIP: Work around fmap quirks
2020-07-13 12:48:29 +02:00
jD91mZM2
fbdfcd2ba0
WIP: Rewrite interrupts as global assembly
...
Because the way we were using inline assembly was technically incorrect
and breaking the laws of rust
This *finally* compiles. That doesn't mean it works!
2020-07-11 16:15:25 +02:00
jD91mZM2
4b8d2e45c6
Add AT_PHDR
2020-07-10 12:56:08 +02:00
jD91mZM2
3430eadc9a
Add auxiliery vector
2020-07-10 12:34:32 +02:00
bjorn3
7b76ab3356
Don't panic on mprotect for unmapped pages
2020-07-09 11:03:02 +02:00
4lDO2
01041a5d8a
Implement (mostly) fmap2 for memory:
2020-07-08 20:49:16 +02:00
jD91mZM2
56f55a3b97
Always save proccess registers
...
Not sure if this is going to be required, and I'm not sure if this will
hurt performance, y'know, *always* doing this.
2020-07-08 11:47:12 +02:00
jD91mZM2
103ed1b17f
Make interrupt stack readable on kernel signals
2020-07-08 11:44:04 +02:00
jD91mZM2
039f7f5c83
Simplify EXEC catching
...
Instead of having a separate flag, let's reuse STOP_SINGLESTEP :)
I wasn't thinking enough when making this flag!
2020-07-07 14:16:42 +02:00
jD91mZM2
cdcb34486b
Keep singlestep across signals
2020-07-07 13:32:10 +02:00
Jeremy Soller
77f3a17c14
Fix warnings in live:
2020-06-30 09:36:19 -06:00
Jeremy Soller
d82eb57e9c
Update live: to new seek function
2020-06-30 09:08:55 -06:00
Graham MacDonald
af63c9773c
Merge remote-tracking branch 'origin/master' into signed-seek
2020-06-27 14:20:51 +01:00
jD91mZM2
4701838118
Fix RIP register on int3
2020-06-23 19:47:44 +02:00
jD91mZM2
7fc49eed74
ptrace: Allow stopping on fexec
2020-06-22 13:11:32 +02:00
Graham MacDonald
aa1b11cc8a
move calc_seek_offset* to syscall
2020-06-19 23:53:30 +01:00
Graham MacDonald
01f95b644d
change seek sig to match posix - signed pos and result
2020-06-19 23:31:55 +01:00
jD91mZM2
e18a877995
Implement proc:<pid>/exe for getting exe name
2020-06-17 19:06:48 +02:00
4lDO2
003bd6a0d2
More complex physalloc
2020-06-16 21:20:00 +00:00
jD91mZM2
edcc39929d
Fix unused import
...
I added that assert, because I managed to get an error I couldn't reproduce
2020-06-16 13:58:36 +02:00
jD91mZM2
9c891384ea
Fix ptrace returning ENODEV when process exists
2020-06-16 13:42:04 +02:00
jD91mZM2
cbb17327aa
ptrace: Block on read, not on write
2020-06-16 13:00:27 +02:00
jD91mZM2
12f632837a
Misc proc code cleanup
2020-06-16 10:08:49 +02:00
jD91mZM2
4effb97c04
fixup! Fix acid test-bench issues
2020-06-16 09:28:42 +02:00
jD91mZM2
727217ad42
Fix acid test-bench issues
2020-06-15 17:14:52 +02:00
jD91mZM2
3420339c04
proc scheme: Rewrite try_stop_context
2020-06-15 15:08:59 +02:00
jD91mZM2
75872cc5f8
ptrace: Fix WaitCondition mutex
2020-06-13 16:05:57 +02:00
4lDO2
1c0e6c253f
Fix test.
2020-06-11 16:11:46 +02:00
4lDO2
8117119d8e
Wrap borrows of page table entries in unsafe.
...
This is safe because `Entry` is `#[repr(8)]` which is the minimum
alignment for qwords. Since the size of a qword is equal to that
alignment (8), they can also be borrowed from the array.
2020-06-11 16:05:00 +02:00
Jeremy Soller
5d53c65f0b
Merge branch 'resolve-kernel-warnings' into 'master'
...
Fix various kernel warnings.
See merge request redox-os/kernel!125
2020-06-11 13:18:58 +00:00
4lDO2
e7d00d4735
Fix various kernel warnings.
2020-06-11 12:58:03 +02:00
4lDO2
c7b207f4dc
Use #[repr(packed)] with correct align for paging.
2020-06-11 11:58:58 +02:00