Ibuki Omatsu
fba233467a
refactor: Move fd allocation logic into userspace
2026-07-01 08:08:23 -06:00
Mathew John Roberts
d0fdf6d026
Merge branch 'spawn-sh' into 'master'
...
Fix posix_spawn launching sh script
See merge request redox-os/relibc!1489
2026-06-23 06:39:38 +01:00
Wildan M
b5e764d967
Fix posix_spawn launching sh script
2026-06-23 12:22:31 +07:00
Wildan M
0880176578
Handle EINTR in posix_exit
2026-06-23 01:53:29 +07:00
Wildan M
56d5fe6bce
Fix posix_spawn various issues
2026-06-20 07:05:28 +07:00
auronandace
4674c47f2b
apply function_casts_as_integer lint to other arches
2026-06-17 14:28:39 +01:00
R Aadarsh
a6e1b269af
* Make dup2 work
...
* Use `CloseCloExec` for closing O_CLOEXEC files
2026-06-15 17:08:11 +05:30
R Aadarsh
0810991d7d
Do the requested sigmask changes and u/g id changes
2026-06-15 17:08:11 +05:30
R Aadarsh
e3d2257f64
* Make posix_spawn_file_actions_t an iterator
...
* Fix bug that caused the spawned process to not start
* Make the spawned process inherit the parent's file descriptos
2026-06-15 17:08:11 +05:30
R Aadarsh
119f078216
* Fix bug that caused pid of the child process to be returned instead of 0 or errorno
...
* Add `same_process` field to not change the address space when `fexec_impl` is called on a different process
2026-06-15 17:08:11 +05:30
R Aadarsh
1bc472e7e1
Add posix_spawn and posix_spawnp for RedoxOS
2026-06-15 17:08:11 +05:30
sourceturner
e39106835a
fix compiler warnings
2026-06-04 17:33:37 +02:00
Ibuki Omatsu
c2bcf91339
feat: Implement relpathat
2026-05-27 16:36:44 +02:00
Jeremy Soller
ffa097ccb3
Support nightly 2026-05-24
2026-05-25 17:03:17 -06:00
aarch
20014bc121
RISCV64: Change VA scheme to Sv39 for real hardware support
2026-04-18 09:46:57 -06:00
Akshit Gaur
87b16e6d12
Priority Scheduler
2026-04-17 18:45:46 -06:00
auronandace
1bc532848f
specify workspace dependencies
2026-03-23 08:32:25 +00:00
auronandace
0918f5bcb6
update goblin dependency
2026-03-18 11:00:33 +00:00
Ibuki.O
ac88c8f670
refactor: Migrate fstat*/fchmod/getdents/ftruncate/futimens to stdfscall
2026-03-14 13:35:39 +09:00
Ibuki Omatsu
cab0021461
refactor: Move protocols into libredox
2026-02-28 08:04:47 -07:00
Ibuki Omatsu
bd9c6f1440
refactor: Make processes have cwd as a capability
2026-02-26 06:09:27 -07:00
Anhad Singh
09f52fd163
fix(redox-rt): FIXED_NOREPLACE for ET_EXEC
...
Signed-off-by: Anhad Singh <andypython@protonmail.com >
2026-02-20 12:00:29 +11:00
Anhad Singh
4c0d4c7963
fix(redox-rt): update min mmap address for ET_EXEC
...
Signed-off-by: Anhad Singh <andypython@protonmail.com >
2026-02-20 11:58:28 +11:00
Anhad Singh
4fbb8ec338
fix(redox-rt): add base address to e_entry
...
Signed-off-by: Anhad Singh <andypython@protonmail.com >
2026-02-20 11:56:28 +11:00
auronandace
53273c35c4
remove allowed unused imports
2026-02-17 15:35:58 +00:00
Anhad Singh
0430081f4a
feat(redox-rt): preload the executable
...
Signed-off-by: Anhad Singh <andypython@protonmail.com >
2026-02-16 12:29:19 +11:00
Ibuki.O
29f8219d5d
fix: Avoid UB by passing raw pointers to syscall5
2026-02-11 13:34:22 +09:00
auronandace
932defff20
follow up fixes for i586, aarch64 and riscv64gc
2026-02-10 16:53:10 +00:00
auronandace
c950340aca
inherit lints in the workspace crates
2026-02-10 14:38:58 +00:00
Ibuki Omatsu
94b0cfc682
refactor: Reimplement recvmsg and sendmsg using bulk fd passing.
2026-02-07 19:48:59 -07:00
bjorn3
24aaf8fac9
redox-rt: Use Option rather than MaybeUninit + bool
2026-02-07 18:37:37 +01:00
4lDO2
61f42d6b93
Fix panic in sigtimedwait with per-thread rt sig.
2026-02-06 12:16:10 +01:00
4lDO2
bc6784d5ed
Replace EINTR with ERESTART in posix_sigqueue.
2026-02-05 15:15:41 +01:00
Jeremy Soller
1398c2b0fb
Merge branch 'fix_raise_sigrtmax' into 'master'
...
Remove incorrect sig number check in raise.
Closes #255
See merge request redox-os/relibc!959
2026-02-05 06:31:29 -07:00
4lDO2
7004484ac1
Avoid redundant sig trampoline jump in sigprocmask.
2026-02-05 12:10:00 +01:00
Ron Williams
05bc77d7be
Use posix_kill instead of posix_sigqueue for non-realtime signals
2026-02-05 04:31:49 +00:00
Jacob Lorentzon
eeba32b3a2
misc signal fixes
2026-01-22 07:35:04 -07:00
sourceturner
e6ce5628da
Use unsafe blocks in redox-rt
2026-01-21 22:41:46 +01:00
Ibuki Omatsu
1bcb6dff78
Introduce namespace fd and related features
2026-01-20 20:43:05 -07:00
Akshit Gaur
3754effab8
Add shutdown syscall
2026-01-19 21:58:06 +05:30
Jeremy Soller
a04c27a71e
Early exit from poll if there are fds, and all are closed
2026-01-09 12:59:00 -07:00
Jeremy Soller
0a9095bb17
Fix epoll_pwait callback internally handling EINTR
2026-01-09 12:21:38 -07:00
Jeremy Soller
d8f47cf5fb
Handle signal mask in epoll_pwait
2026-01-09 11:46:54 -07:00
Anhad Singh
df647941c5
misc(pthread): remove the need for tid_mutex
...
Signed-off-by: Anhad Singh <andypython@protonmail.com >
2026-01-09 22:55:58 +11:00
Jeremy Soller
13b93e0f90
Merge branch 'master' into 'master'
...
fix(redox-rt/signal/x86_64): corrupted `r8`/`r10`
See merge request redox-os/relibc!817
2025-12-17 21:34:45 -07:00
Anhad Singh
afbd5986a5
fix(redox-rt/signal/x86_64): corrupted r8/r10
...
Signed-off-by: Anhad Singh <andypython@protonmail.com >
2025-12-18 14:03:13 +11:00
Ibuki Omatsu
efa5b73015
refactor: Replace unlink and rmdir with unlinkat. Improve fork using ForkScratchPad.
2025-12-17 18:32:07 -07:00
Anhad Singh
f7aa718596
fix(redox-rt/proc): min_mmap_addr being set too low
...
`cmp::min` -> `cmp::max` Want to make sure we set the `min_mmap_addr` to
the top of the executable.
`update_min_mmap_addr(STACK_TOP - STACK_SIZE, STACK_SIZE);` needs to be
removed since we cannot allocate above that.
Reverts to the old behaviour. In future may want to consider loading the
executeable here instead of the dynamic linker (and before the dynamic
linker) to avoid any further conflicts.
Fixes `gcc` crashing at "failed to map
/usr/libexec/gcc/x86_64-unknown-redox/13.2.0/cc1. errno: 17" (where 17
-> EEXIST).
Co-authored-by: @bjorn3
Signed-off-by: Anhad Singh <andypython@protonmail.com >
2025-12-12 17:49:36 +11:00
Anhad Singh
3f986068e9
fix(redox-rt/proc): from_raw should negate raw for
...
`KillProcTarget::ProcGroup`
Signed-off-by: Anhad Singh <andypython@protonmail.com >
2025-12-10 14:46:16 +11:00
bjorn3
dc77995b57
redox-rt: Remove unnecessary image_file field from FexecResult::Interp
2025-12-09 22:22:09 +01:00