Commit Graph

1186 Commits

Author SHA1 Message Date
Connor-GH 0934bcf13e Implement strxfrm_l, strcoll_l, and strerror_l
These implementations are effectively the same as the ones in musl.
2026-01-19 16:58:54 -06:00
Anhad Singh c05e2da5b3 misc(all): formatting
Signed-off-by: Anhad Singh andypython@protonmail.com
2026-01-19 09:03:44 +00:00
Anhad Singh 81e6d4116a fix(redox/build): missing unsafe blocks
This change was made, commited, pushed and tested entirely on Redox :^)
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-01-19 08:42:41 +00:00
sourceturner 718dc53b87 Use unsafe blocks in wchar.h implementation 2026-01-18 21:25:10 +01:00
sourceturner 83815c7433 Use unsafe blocks in utmp.h implementation 2026-01-18 21:23:50 +01:00
sourceturner 61e098eb2c Use unsafe blocks in unistd.h implementation 2026-01-18 21:23:24 +01:00
sourceturner 2cf1a2d16a Use unsafe blocks in time.h implementation 2026-01-18 21:22:57 +01:00
sourceturner 3873cf9a28 Use unsafe blocks in termios.h implementation 2026-01-18 21:21:03 +01:00
sourceturner 1a7136e6c4 Use unsafe blocks in sys/wait.h implementation 2026-01-18 21:20:33 +01:00
sourceturner 560360cb08 Use unsafe blocks in sys/utsname.h implementation 2026-01-18 21:20:14 +01:00
sourceturner 3ccfc170ad Use unsafe blocks in sys/uio.h implementation 2026-01-18 21:19:40 +01:00
sourceturner 3bfd14fcab Use unsafe blocks in sys/time.h implementation 2026-01-18 21:19:08 +01:00
sourceturner 093b830148 Use unsafe blocks in syslog.h implementation 2026-01-18 21:18:45 +01:00
sourceturner 263567f2cc Use unsafe blocks in sys/statvfs.h implementation 2026-01-18 21:18:06 +01:00
sourceturner 95c8e6ddb5 Use unsafe blocks in sys/stat.h implementation 2026-01-18 21:17:21 +01:00
sourceturner ee765594a3 Use unsafe blocks in sys/socket.h implementation 2026-01-18 21:16:57 +01:00
sourceturner 3326fafa90 Use unsafe blocks in sys/select.h implementation 2026-01-18 21:16:37 +01:00
sourceturner e076024268 Use unsafe blocks in sys/resource.h implementation 2026-01-18 21:16:02 +01:00
sourceturner 6aed86d282 Use unsafe blocks in sys/random.h implementation 2026-01-18 21:15:32 +01:00
sourceturner 3bace40832 Use unsafe blocks in ptrace compatibility layer 2026-01-18 21:14:56 +01:00
sourceturner 2720f41032 Use unsafe blocks in sys/mman.h implementation 2026-01-18 21:14:10 +01:00
sourceturner 3879cb641d Use unsafe blocks in ioctl implementation 2026-01-18 21:13:34 +01:00
sourceturner bb3ff6e068 Use unsafe blocks in sys/epoll.h implementation 2026-01-18 21:11:13 +01:00
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
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
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 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
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 a04c27a71e Early exit from poll if there are fds, and all are closed 2026-01-09 12:59:00 -07: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 28e238c8e4 Merge branch 'flock-mutex' into 'master'
Use pthread recursive mutex for flockfile

See merge request redox-os/relibc!871
2026-01-07 07:02:35 -07:00
Wildan M 6ef56f5bc9 Use pthread recursive mutex for flockfile 2026-01-07 00:54:20 +07:00
Jeremy Soller 6e23a1342f Merge branch 'pthread-timedwait' into 'master'
Implement pthread_cond_timedwait futex properly

See merge request redox-os/relibc!867
2026-01-06 12:05:13 -07:00