Jeremy Soller
01f01d3bd4
Fix for F_DUPFD_CLOEXEC, add TODO for usage in upper table
2025-11-17 17:46:57 -07:00
Jeremy Soller
0844e6fc90
WIP: use upper fd table
2025-11-15 07:55:37 -07:00
Ibuki Omatsu
06d5cb0bfd
fix: Fix getpeername for unix sockets adding SocketCall::GetPeerName and using SYS_CALL.
2025-11-10 06:20:46 -07:00
Jeremy Soller
222278edf9
Format
2025-11-01 10:41:15 -06:00
Jeremy Soller
ab2a948d0b
Abort on panic or oom, remove stabilized let_chains feature
2025-10-30 09:33:29 -06:00
Josh Megnauth
e39b27664f
unsafe_op_in_unsafe_fn: ld_so, generic/redox-rt
...
There are a few functions where I allowed the lint. The lower level and
FFI nature of relibc means that there are areas with a lot of unsafe.
Some functions are basically long blocks of unsafe or contain lots of
small blocks of unsafe. unsafe_op_in_unsafe_fn doesn't add clarity to
these functions. Instead, it reduces readability by adding an indent or
small "unsafe { .. }" clutter.
2025-10-04 21:36:51 -04:00
Jeremy Soller
7ed934a01d
Fix compilation of redox-rt without proc feature
2025-10-04 08:05:46 -06:00
Jeremy Soller
82084440ad
Support nightly-2025-10-03
2025-10-03 21:51:10 -06:00
Jeremy Soller
43b0f235ca
Implement pthread_getattr_np
2025-09-30 12:49:22 -06:00
4lDO2
3ad1ba516e
sigaltstack: don't fail when onstack && new==NULL.
2025-09-20 11:38:14 +02:00
4lDO2
38e724ece9
Properly inherit ignored sigs across exec.
2025-09-20 11:08:41 +02:00
4lDO2
37c2f3026a
Clear pending SIGCHLD also when set to SIG_DFL.
2025-09-20 10:37:26 +02:00
4lDO2
437786f6a1
Restrict posix_exit to & 0xFF to fix EINVAL panic.
2025-09-10 15:10:06 +02:00
4lDO2
23c65bab66
Revert to using abort() for extraordinary panics.
2025-09-09 20:09:29 +02:00
Jeremy Soller
7c4a87da39
Merge branch 'getens' into 'master'
...
Add getens and expose it to libredox
See merge request redox-os/relibc!705
2025-09-09 07:35:19 -06:00
Ibuki Omatsu
b14aae168f
Add getens and expose it to libredox
2025-09-09 07:35:19 -06:00
elle
e148be2296
redox-rt: remove unused code from proc
2025-09-08 21:03:28 +00:00
elle
5a8c166e67
redox-rt: clean up unused code
...
Removes unused imports, and replaces calls to `core::intrinsics::abort`
with `panic` macro call.
2025-09-08 21:03:28 +00:00
elle
5032708f88
redox-rt: fix dead code in sync
2025-09-08 21:03:27 +00:00
elle
9f446e2fd3
redox-rt: remove signal dead code
2025-09-08 21:03:27 +00:00
elle
bd13557f98
lib: remove array_chunks nightly feature
...
Removes the nightly `array_chunks` feature, since it is marked as
unlikely to be merged.
Usage is trivially refactored using iterators.
2025-09-08 17:08:22 +00:00
4lDO2
518798f64e
Return EINVAL when killing with sig > 64.
2025-07-18 21:50:01 +02:00
4lDO2
40b8064eae
Fix raise signal number being -32.
2025-07-18 20:35:33 +02:00
Ibuki Omatsu
d44010170f
feat: Integrate UDS bind and connect operation with RedoxFS and switch get_proc_credentials to a capability-based approach.
2025-07-18 08:57:49 -06:00
Ibuki Omatsu
206239f9a2
feat: Implement Unix Domain Socket and related features.
2025-07-17 22:48:37 -06:00
4lDO2
f216665916
No-op, don't exit, as result of SIG_DFL SIGCONT.
2025-04-21 15:23:28 +02:00
4lDO2
32c5e89c82
Return ID of new session in setsid.
2025-04-20 17:10:51 +02:00
4lDO2
696ae4eca1
Add DisableSetpgid call.
2025-04-20 16:24:46 +02:00
4lDO2
8f234edf69
Fix riscv64 fork asm.
2025-04-19 19:27:04 +02:00
4lDO2
2fe8dc8f6e
Add (untested) riscv64 sighandler SYS_CALL asm.
2025-04-19 19:27:03 +02:00
4lDO2
0e0246bc69
Let procmgr handle process names.
2025-04-19 19:27:03 +02:00
4lDO2
8cfc7e8fac
Do not treat ppid as constant.
2025-04-19 19:27:03 +02:00
4lDO2
aa034fccc8
Compile on riscv64gc.
2025-04-19 19:27:03 +02:00
4lDO2
e6c06a7cf7
Fix signals for spawned threads, and async signal waiting.
2025-04-19 19:27:03 +02:00
4lDO2
35357b2f14
Clear pending when act becomes Ign (no multi-thread).
2025-04-19 19:27:03 +02:00
4lDO2
a1937f438c
Allow read-only sigaction for SIG{KILL,STOP}.
2025-04-19 19:27:03 +02:00
4lDO2
8f2d9ef1db
Ensure allowset bits for SIGSTOP and SIGKILL are always set.
2025-04-19 19:27:03 +02:00
4lDO2
5dfc76dda8
Fix signal handlers after EINTR nanosleep.
2025-04-19 19:27:03 +02:00
4lDO2
37b60b67e0
Add and fix test for kill&waitpid.
2025-04-19 19:27:02 +02:00
4lDO2
0083043736
Write and fix waitpid_multiple test.
2025-04-19 19:27:02 +02:00
4lDO2
a293b02992
Fix aarch64 signal test.
2025-04-19 19:27:02 +02:00
4lDO2
403beeb9f6
Fix sigqueue test for aarch64.
2025-04-19 19:27:02 +02:00
4lDO2
d559450d69
Use abort() rather than unreachable! when exit fails.
2025-04-19 19:27:02 +02:00
4lDO2
d0335b30de
Use redox_rt::protocol for sig numbers.
2025-04-19 19:27:02 +02:00
4lDO2
1c6b3ad78b
Fix aarch64 child_hook.
2025-04-19 19:27:01 +02:00
4lDO2
fb8e3cd751
Fix sigqueue on i686.
2025-04-19 19:27:01 +02:00
4lDO2
05481b36a6
Fix IPC size on i686.
2025-04-19 19:27:01 +02:00
4lDO2
2fbbdcc1c9
Aarch64 fix, make i686 compile.
2025-04-19 19:27:01 +02:00
4lDO2
0213ac2d15
Probably fix aarch.
...
Bootloader is currently panicking so a bit hard to test.
2025-04-19 19:27:01 +02:00
4lDO2
c773544906
Fix sigentry for realtime sigs, fixing sigqueue test.
2025-04-19 19:27:01 +02:00