Zero
aca4df91cf
feat(time): Add process_pid to timer_internal_t
...
Add `process_pid` field to `timer_internal_t` struct.
This field is used by the `alarm()` function to specify the PID of the process
to which the `SIGALRM` signal should be delivered.
2026-03-31 00:19:35 +02:00
Zero
e0c9b0ed03
feat(signal): Implement alarm() and timer_settime logic
...
Adds the implementation for the `alarm()` function and its underlying
`alarm_timespec` helper. This involves managing a process-global POSIX timer
to deliver SIGALRM signals.
2026-03-31 00:09:07 +02:00
Jeremy Soller
d34872cb35
Merge branch 'fgetws-fix' into 'master'
...
fgetws: don't always return NULL on EOF
See merge request redox-os/relibc!1126
2026-03-30 07:12:06 -06:00
Connor-GH
e721d3d7c8
fgetws: don't always return NULL on EOF
...
This was a bug that prevented a lot of tests from passing. We only
need to return NULL if the file had an error. `fgetws` "stops when end
of stream is reached". Also, it only returns an error if "end of stream
was *already* reached or if an error occurred" (emphasis mine). Compare
this to the musl implementation:
https://git.musl-libc.org/cgit/musl/tree/src/stdio/fgetws.c
2026-03-29 21:10:59 -05:00
Jeremy Soller
a1337a8fc0
Merge branch 'sysconf-heads' into 'master'
...
Add sysconf posix constants
See merge request redox-os/relibc!1143
2026-03-29 16:21:12 -06:00
Jeremy Soller
9b38ea8b55
Merge branch 'wchar-bits' into 'master'
...
move wchar bits to cbindgen
See merge request redox-os/relibc!1142
2026-03-29 15:32:18 -06:00
Jeremy Soller
c9f6befae8
Merge branch 'exec-cache' into 'master'
...
Implement exec cache from ld_so cache
See merge request redox-os/relibc!1140
2026-03-29 15:31:56 -06:00
auronandace
4130dbce23
readd trailer for inttypes bits
2026-03-29 16:07:58 +01:00
auronandace
61eb827bc4
fix inttypes after moving wchar bits
2026-03-29 16:05:33 +01:00
auronandace
3b69b617a2
move wchar bits to cbindgen
2026-03-29 15:49:01 +01:00
bjorn3
f8626fd9d0
Move setjmp and sigsetjmp together
...
This fixes compilation of relibc on arm64. On arm64 the reference from
sigsetjmp to setjmp has a limited range.
2026-03-29 16:18:21 +02:00
Jeremy Soller
18e47cdf5a
Merge branch 'malloc-bits' into 'master'
...
move malloc bits to cbindgen
See merge request redox-os/relibc!1138
2026-03-29 07:10:14 -06:00
Jeremy Soller
078bfe81f1
Merge branch 'dirent-bits' into 'master'
...
move dirent bits to cbindgen
See merge request redox-os/relibc!1137
2026-03-29 07:09:58 -06:00
Jeremy Soller
299ee7da12
Merge branch 'errno-bits' into 'master'
...
move errno bits from C to cbindgen
See merge request redox-os/relibc!1136
2026-03-29 07:09:41 -06:00
Jeremy Soller
182b2daebe
Merge branch 'rwlock-timeout' into 'master'
...
Implement clockid_t handling to pthread_rwlock timeout
See merge request redox-os/relibc!1139
2026-03-29 07:08:24 -06:00
Wildan M
6e1199448c
Add sysconf posix constants
2026-03-29 17:39:13 +07:00
auronandace
d84c8bf8f3
move malloc bits to cbindgen
2026-03-29 08:40:37 +01:00
Wildan M
464c840697
Fix linux compilation
2026-03-29 14:39:43 +07:00
auronandace
42d555b043
move dirent bits to cbindgen
2026-03-29 08:10:13 +01:00
auronandace
80db4127fd
move errno bits from C to cbindgen
2026-03-29 07:44:55 +01:00
Wildan M
b2de3d6e2e
Implement exec cache from ld_so cache
2026-03-29 13:11:36 +07:00
Wildan M
f5dd08dc49
Add and fix pthread rwlock timeout tests
2026-03-29 11:31:08 +07:00
Wildan M
928a446f12
Implement clockid_t handling to pthread_rwlock timeout
2026-03-29 10:51:04 +07:00
Wildan M
e41052d307
Minor ld_so init improvement
2026-03-29 07:48:37 +07:00
Jeremy Soller
e589a94c6d
Merge branch 'ldso-cache' into 'master'
...
Implement ld_so cache backed by shm
See merge request redox-os/relibc!1134
2026-03-28 18:28:03 -06:00
Jeremy Soller
9d148e21f0
Merge branch 'fnmatch-collapsing' into 'master'
...
Fix fnmatch caused oom
See merge request redox-os/relibc!1133
2026-03-28 18:26:07 -06:00
Wildan M
459b8da27b
Implement ld_so cache backed by shm
2026-03-29 05:34:14 +07:00
Wildan M
ef922979ac
Fix fmt
2026-03-29 02:29:31 +07:00
Wildan M
38650d994e
Fix fnmatch caused oom
2026-03-29 02:20:16 +07:00
auronandace
306cd8b68f
move netdb bits to cbindgen
2026-03-28 17:44:18 +00:00
auronandace
254e81ef74
move sys_wait bits from C to cbindgen
2026-03-28 15:12:54 +00:00
auronandace
dbc6507c79
move sys_time bits from C to cbindgen
2026-03-28 14:57:11 +00:00
auronandace
93a8b4b7c6
cargo fmt
2026-03-28 08:21:13 +00:00
auronandace
516729bd83
move netinet_in bits to cbindgen
2026-03-28 08:15:24 +00:00
Benton60
5de398c6a9
reserve extra space for scheme path to fix os-test/sys_socket/recvfrom
2026-03-27 09:49:47 -04:00
auronandace
71560ce9ca
move ctype bits from C to cbindgen
2026-03-27 08:07:18 +00:00
auronandace
bc5ee99856
move sys stat bits from C file to cbindgen
2026-03-26 13:58:09 +00:00
Jeremy Soller
8dec9f36ff
Merge branch 'sys-mman-bits' into 'master'
...
move sys mman bits to cbindgen
See merge request redox-os/relibc!1119
2026-03-26 06:30:51 -06:00
auronandace
db8021d4c8
move sys mman bits to cbindgen
2026-03-26 11:33:11 +00:00
auronandace
bdceda8665
move sys ioctl bits to cbindgen
2026-03-26 11:09:52 +00:00
auronandace
23996c4fd7
move sys select bits to cbindgen
2026-03-25 14:28:00 +00:00
auronandace
44bb9d8d63
cargo fmt
2026-03-25 13:38:12 +00:00
auronandace
6f48e1c954
move sys resource bits file to cbindgen
2026-03-25 13:34:03 +00:00
Jeremy Soller
ab654db071
Merge branch 'remove-c-ptrace' into 'master'
...
remove empty C ptrace bits header
See merge request redox-os/relibc!1115
2026-03-25 07:04:05 -06:00
Jeremy Soller
7de94d974f
Merge branch 'verify-netinetin-includes' into 'master'
...
verify netinet_in header includes
See merge request redox-os/relibc!1114
2026-03-25 07:03:47 -06:00
Jeremy Soller
1978c1aa4c
Merge branch 'impl_recvmsg' into 'master'
...
update recvfrom to route calls through recvmsg
See merge request redox-os/relibc!1113
2026-03-25 07:02:06 -06:00
auronandace
7ce47e0cad
remove empty C ptrace bits header
2026-03-25 12:26:24 +00:00
auronandace
d826d1fdc2
verify netinet_in header includes
2026-03-25 10:50:01 +00:00
auronandace
9b76fce0cc
move 4 conversion functions from netinet_in to arpa_inet
2026-03-24 11:22:14 +00:00
Benton60
0addd84414
update recvfrom to route calls through recvmsg
2026-03-23 23:37:15 -04:00