Commit Graph

3474 Commits

Author SHA1 Message Date
sourceturner 59fb13ee2c Use unsafe blocks in stdlib.h implementation 2026-01-18 21:10:34 +01:00
sourceturner 891eb61239 Use unsafe blocks in pty.h implementation 2026-01-18 21:10:03 +01:00
sourceturner ac449a4338 Use unsafe blocks in pthread.h implementation 2026-01-18 21:09:17 +01:00
sourceturner e57ef36d3c Use unsafe blocks in netdb.h implementation 2026-01-18 21:01:15 +01:00
Jeremy Soller 2d149b51ae Merge branch 'limits-max' into 'master'
Define max limits in rust

See merge request redox-os/relibc!889
2026-01-17 06:59:05 -07:00
Jeremy Soller 1f61e80bef Merge branch 'printf-g-hash' into 'master'
stdio: Fix printf-g-hash test

See merge request redox-os/relibc!888
2026-01-17 06:53:18 -07:00
Wildan M 5476770359 Define max limits in rust 2026-01-17 18:17:35 +07:00
Akshit Gaur 1273868a3c stdio: Fix printf-g-hash test 2026-01-17 12:18:22 +05:30
Jeremy Soller ecd3a55797 Merge branch 'feature/deny-unsafe_op_in_unsafe_fn' into 'master'
Unsafe blocks: float ifaddrs locale malloc net_if pwd regex semaphore signal stdio string

See merge request redox-os/relibc!887
2026-01-16 15:22:23 -07:00
sourceturner f72ecfd8dc Use unsafe blocks in string.h implementation 2026-01-16 21:49:01 +00:00
sourceturner b3f7db83cf Use unsafe blocks in stdio.h implementation 2026-01-16 21:49:01 +00:00
sourceturner b3add24654 Use unsafe blocks in signal.h implementation 2026-01-16 21:49:01 +00:00
sourceturner a426887528 Use unsafe blocks in semaphore.h implementation 2026-01-16 21:49:01 +00:00
sourceturner 2e055a6d98 Use unsafe blocks in regex.h implementation 2026-01-16 21:49:01 +00:00
sourceturner 23fb2dd042 Use unsafe blocks in pwd.h implementation 2026-01-16 21:49:01 +00:00
sourceturner c22fa8af96 Use unsafe blocks in net_if.h implementation 2026-01-16 21:49:01 +00:00
sourceturner a27518ef2f Use unsafe blocks in malloc.h implementation 2026-01-16 21:49:01 +00:00
sourceturner 827df02158 Use unsafe blocks in locale.h implementation 2026-01-16 21:49:01 +00:00
sourceturner 12807920b6 Use unsafe blocks in ifaddrs.h implementation 2026-01-16 21:49:01 +00:00
sourceturner d539b134ef Use unsafe blocks in float.h implementation 2026-01-16 21:49:01 +00:00
Jeremy Soller 375061a69c Add sys/sysmacros.h from musl (fixes last commit) 2026-01-16 12:47:06 -07:00
Jeremy Soller 03c370d7f3 Fix dev_t type and add sys/sysmacros.h include from musl 2026-01-16 12:42:58 -07:00
Jeremy Soller 391baf41f2 Merge branch 'mutex-fork-test' into 'master'
Add fork inside thread test

See merge request redox-os/relibc!886
2026-01-16 05:31:14 -07:00
Wildan M d33bf64e5f Remove the mutex, just fork and threads 2026-01-16 13:26:16 +07:00
Wildan M fd616a9704 Add mutex inside fork test 2026-01-16 13:21:51 +07:00
Jeremy Soller b833e44293 Revert "Remove bits/stdlib"
This reverts commit 8867ba80df.
2026-01-15 18:40:23 -07:00
Jeremy Soller 40c9c14ea8 Revert "Convert strtold to Rust"
This reverts commit 08485648f6.
2026-01-15 18:31:47 -07:00
Jeremy Soller c8b4a03b45 Merge branch 'sys-socket-tests-2' into 'master'
Add more sys_socket tests, fix linux ARM compilation

See merge request redox-os/relibc!885
2026-01-15 17:57:43 -07:00
Wildan M 3bf35abeae Add more sys_socket tests 2026-01-16 07:18:13 +07:00
Wildan M fe6ad62ed8 Allow missing stderr file in expected tests 2026-01-16 07:10:28 +07:00
Wildan M e69e0b937e Fix linux aarch64 compilation 2026-01-16 07:09:57 +07:00
Jeremy Soller 8f0bdf95cc Merge branch 'recvfrom-uds' into 'master'
Append inner_af_unix with null, workaround unix dgram getpeername

See merge request redox-os/relibc!884
2026-01-15 14:26:07 -07:00
Wildan M e14a03fea4 Handle getpeername other error 2026-01-15 07:31:30 +07:00
Wildan M af7636daba Enable unix tests 2026-01-15 05:34:53 +07:00
Wildan M aa4572b613 Append inner_af_unix with null, workaround unix dgram getpeername 2026-01-15 05:26:44 +07:00
Jeremy Soller 57d300ce63 Merge branch 'add-mkdirat' into 'master'
Implement mkfifoat(2)

See merge request redox-os/relibc!881
2026-01-12 19:25:27 -07:00
Connor-GH da140913bc Implement mkfifoat(2) 2026-01-13 01:40:25 +00:00
Jeremy Soller 5265b732cc strtok_r: return the end of s in lasts when finished and only reference musl 2026-01-12 14:56:40 -07:00
Jeremy Soller 5b0c8b361b Merge branch 'master' into 'master'
add mathematical constants

See merge request redox-os/relibc!880
2026-01-12 12:38:28 -07:00
Pascal Reich 08f93dfbdc add mathematical constants 2026-01-12 12:38:28 -07:00
Jeremy Soller ffce2c2d25 Merge branch 'fix-ppoll' into 'master'
Handle signal mask in epoll_pwait

See merge request redox-os/relibc!879
2026-01-09 14:32:38 -07:00
Jeremy Soller b9fc058a47 Remove finished todo 2026-01-09 13:34:15 -07:00
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
Jeremy Soller c433f39788 Merge branch 'add-mkdirat' into 'master'
Implement mkdirat

See merge request redox-os/relibc!878
2026-01-09 06:09:09 -07:00
Jeremy Soller 88b5a95da4 Merge branch 'p12' into 'master'
fix(pthread): use spinlock before the TCB has been activated

See merge request redox-os/relibc!875
2026-01-09 06:02:02 -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
Connor-GH 75ca2cf29e Implement mkdirat
Linux's variant uses the syscall as intended. Redox's variant uses fpath to build a path to pass to mkdir from the file descriptor plus the file name, which isn't atomic due to the fpath lookup being subject to TOCTOU when paired with mkdir.
2026-01-08 17:56:49 -06:00
Jeremy Soller d5bf6db1b6 Merge branch 'inet-syscall' into 'master'
Adapt inet socket implementing SYS_CALL

See merge request redox-os/relibc!877
2026-01-08 08:52:30 -07:00