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
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
Jeremy Soller
dbfc8ab188
Merge branch 'no_mprotect_crashes' into 'master'
...
Don't panic on mprotect for unmapped pages
See merge request redox-os/kernel!134
2020-07-09 12:01:33 +00:00
bjorn3
7b76ab3356
Don't panic on mprotect for unmapped pages
2020-07-09 11:03:02 +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
Jeremy Soller
92cad589d9
Merge branch 'moar-gdb' into 'master'
...
Simplify EXEC catching + add signal handling
See merge request redox-os/kernel!132
2020-07-07 12:49:16 +00:00
jD91mZM2
184824234e
Update submodule
2020-07-07 14:47:21 +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
Jeremy Soller
7989aa0327
Merge branch 'signed-seek' into 'master'
...
change seek sig to match posix - signed pos and result
See merge request redox-os/kernel!123
2020-06-27 13:26:53 +00:00
Graham MacDonald
af63c9773c
Merge remote-tracking branch 'origin/master' into signed-seek
2020-06-27 14:20:51 +01:00
Graham MacDonald
2d8b2d94b9
hopefully update syscall submodule
2020-06-27 14:10:15 +01:00
Jeremy Soller
35ca4c221e
Merge branch 'proc-fexec' into 'master'
...
Changes required for GDB
See merge request redox-os/kernel!131
2020-06-25 13:06:45 +00:00
jD91mZM2
fed36d49e3
Bump submodule
2020-06-25 15:04:49 +02: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
Jeremy Soller
fcea6e06dd
Merge branch 'complex-physalloc' into 'master'
...
More complex physalloc
See merge request redox-os/kernel!127
2020-06-16 21:20:00 +00:00
4lDO2
003bd6a0d2
More complex physalloc
2020-06-16 21:20:00 +00:00
Jeremy Soller
654c0a7bbc
Merge branch 'ptrace-sane-block' into 'master'
...
Ptrace sane block
See merge request redox-os/kernel!129
2020-06-16 12:10:47 +00:00
Jeremy Soller
484f4c13fe
Merge branch 'moar-ptrace' into 'master'
...
Misc ptrace cleanup
See merge request redox-os/kernel!128
2020-06-16 12:09:26 +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
Jeremy Soller
b90233bc30
Merge branch 'paging-repr-packed' into 'master'
...
Use #[repr(packed)] with correct alignment for paging.
See merge request redox-os/kernel!124
2020-06-11 13:17:51 +00:00
4lDO2
e7d00d4735
Fix various kernel warnings.
2020-06-11 12:58:03 +02:00