Jeremy Soller
|
6e165e2ef0
|
Fix build on i686
|
2025-04-14 09:16:27 -06:00 |
|
bjorn3
|
17172720a7
|
Always pass offset to read_all and rename to pread_all
|
2025-04-12 21:49:42 +02:00 |
|
bjorn3
|
050edcdcc6
|
Pass PROT_READ to mmap when the segment has PF_R
This will allow the kernel to not add an implicit PROT_READ for every
mmap in the future.
|
2025-04-12 20:13:39 +02:00 |
|
bjorn3
|
095646517d
|
Use a single mmap + read for each segment
|
2025-04-12 20:10:28 +02:00 |
|
bjorn3
|
d85fe6bdd5
|
Revert "Add a workaround for UB on arm64"
The kernel bug that caused this has been fixed.
This reverts commit 4d82cd90f8.
|
2025-04-12 17:14:01 +02:00 |
|
bjorn3
|
4d82cd90f8
|
Add a workaround for UB on arm64
|
2025-04-12 13:54:30 +02:00 |
|
bjorn3
|
52c429c207
|
Add a couple of PROT_READ
Even though they are only used for writing, it is still UB to create a
mutable reference to memory that can't be read.
|
2025-04-12 13:52:42 +02:00 |
|
bjorn3
|
20d77672e7
|
Add back asm_const feature
It isn't stable yet on the nightly used by redox
|
2025-03-30 21:04:58 +02:00 |
|
bjorn3
|
cf0fdb42ea
|
Prevent initialize_freestanding from accidentally closing fd 0
|
2025-03-30 21:00:51 +02:00 |
|
bjorn3
|
facc643e18
|
Couple of misc improvements
Fix a bunch of warnings and clarify that execve will never return Ok by
using Infallible
|
2025-03-30 20:18:01 +02:00 |
|
Andrey Turkin
|
a4122753e6
|
Initial RISC-V64 support
|
2024-10-11 06:44:54 +03:00 |
|
4lDO2
|
ec216e56e2
|
Preserve umask across execv.
|
2024-09-25 20:28:50 +02:00 |
|
4lDO2
|
7fa5b679cc
|
Move umask to a regular global variable.
The umask value is per-process, so because all POSIX open-like functions
now occur via relibc, this is valid.
|
2024-09-25 19:39:41 +02:00 |
|
4lDO2
|
79e1550215
|
Use only sig & 63 when checking SA_ONSTACK.
|
2024-09-24 19:34:53 +02:00 |
|
4lDO2
|
fed49a29af
|
Properly deallocate thread stack on pthread_exit.
|
2024-09-24 19:34:53 +02:00 |
|
4lDO2
|
2b7a1ea94b
|
Fix sigsuspend and add it to the sigqueue test.
|
2024-09-24 19:34:53 +02:00 |
|
4lDO2
|
9701e9c544
|
Add sigtimedwait to test, and various fixes.
|
2024-09-24 19:34:53 +02:00 |
|
4lDO2
|
5c78356290
|
Implement sigtimedwait on Redox.
|
2024-09-24 19:34:52 +02:00 |
|
4lDO2
|
8e5ddbd654
|
Implement sigsuspend.
|
2024-09-24 19:34:52 +02:00 |
|
4lDO2
|
33f0df3b27
|
Deduplicate and simplify sigprocmask code.
|
2024-09-24 19:34:52 +02:00 |
|
4lDO2
|
21d23092cd
|
Mostly fix i686.
|
2024-09-24 19:34:52 +02:00 |
|
4lDO2
|
e82ced6e4e
|
Fix non-edge-case signal handling on aarch64.
|
2024-09-24 19:34:52 +02:00 |
|
4lDO2
|
d6396cb4e8
|
Probably complete aarch64 asm.
It contains all signal logic x86_64 already has, although statistically
it will certainly have a few errors.
|
2024-09-24 19:34:52 +02:00 |
|
4lDO2
|
9a7cfaeaf1
|
Simplify aarch64 asm slightly.
|
2024-09-24 19:34:52 +02:00 |
|
4lDO2
|
e860a19e8f
|
WIP: Update i686 signal asm.
|
2024-09-24 19:34:52 +02:00 |
|
4lDO2
|
09108634cf
|
Set uc_stack properly.
POSIX does not appear to explicitly mention that this should be the
sigaltstack, but other Linux appears to treat it as the sigaltstack.
|
2024-09-24 19:34:52 +02:00 |
|
4lDO2
|
30caf55429
|
Set siginfo_t.si_{pid,uid} from kill signals too.
|
2024-09-24 19:34:51 +02:00 |
|
4lDO2
|
e5136e66c1
|
Draft of updated aarch64 signal trampoline.
|
2024-09-24 19:34:51 +02:00 |
|
4lDO2
|
d0db6a1ce0
|
Fix i686.
|
2024-09-24 19:34:51 +02:00 |
|
4lDO2
|
f6761407e5
|
Pass si_pid to all realtime signals.
|
2024-09-24 19:34:51 +02:00 |
|
4lDO2
|
6fe7c264f6
|
Pass si_code to siginfo_t struct.
|
2024-09-24 19:34:51 +02:00 |
|
4lDO2
|
cce268afbf
|
Pass old stack pointer in uc_stack.
|
2024-09-24 19:34:51 +02:00 |
|
4lDO2
|
cdae79c129
|
Fix i686 compilation.
|
2024-09-24 19:34:51 +02:00 |
|
4lDO2
|
abc2ec7bb5
|
Add prototype ucontext_t support.
|
2024-09-24 19:34:51 +02:00 |
|
4lDO2
|
b48da5622d
|
Add rtsig to i686 trampoline too.
|
2024-09-24 19:34:50 +02:00 |
|
4lDO2
|
13e7b77643
|
Implement basic support for (kernel) rt signals.
|
2024-09-24 19:34:50 +02:00 |
|
4lDO2
|
47e07654cb
|
WIP: use rt signal constants from sigabi
|
2024-09-24 19:34:50 +02:00 |
|
4lDO2
|
75b2dcaa45
|
WIP: implement sigqueue
|
2024-09-24 19:34:23 +02:00 |
|
Kamil Koczurek
|
408a7b2ab6
|
Add capability to set the default scheme
|
2024-09-23 14:36:45 +00:00 |
|
4lDO2
|
933b447c7a
|
redox-rt: fix i686 pctl pending offset
|
2024-08-29 14:11:52 +02:00 |
|
Peter Limkilde Svendsen
|
3193656f22
|
Put random() state behind mutex
|
2024-08-15 23:26:16 +00:00 |
|
bjorn3
|
49c708f537
|
Remove all uses of the legacy scheme syntax"
|
2024-08-04 13:49:10 +02:00 |
|
4lDO2
|
5f62c30539
|
Update aarch64's child_hook.
|
2024-07-20 22:18:25 +02:00 |
|
4lDO2
|
f7d9f4e21e
|
Fix infinite loop & spurious signals for i686.
|
2024-07-20 19:41:04 +02:00 |
|
4lDO2
|
b71c34dd2d
|
Fix i686 fork.
|
2024-07-20 14:42:51 +02:00 |
|
4lDO2
|
35c9485701
|
WIP: Implement process signals for i686 trampoline.
|
2024-07-20 13:01:30 +02:00 |
|
4lDO2
|
232f6e9ade
|
Fix hardcoding of SUPPORTS_AVX.
|
2024-07-19 18:44:21 +02:00 |
|
4lDO2
|
518ba4c884
|
Raise unblocked signals in setmask, restore control flag.
|
2024-07-19 18:41:00 +02:00 |
|
4lDO2
|
44ec1676ae
|
Activate new threads' TCBs early.
|
2024-07-18 23:59:48 +02:00 |
|
4lDO2
|
1067295d65
|
Fix signal restart logic.
|
2024-07-18 23:59:48 +02:00 |
|