Commit Graph

3030 Commits

Author SHA1 Message Date
Jeremy Soller 71a87bfd2b Merge branch 'fix-libm' into 'master'
Strip conflicting symbols from compiler builtins

See merge request redox-os/relibc!734
2025-10-05 11:11:27 -06:00
Wildan Mubarok 9c43abbcf9 Add f functions 2025-10-05 17:05:25 +00:00
Wildan Mubarok 3593615918 Revert changes 2025-10-05 16:48:28 +00:00
Wildan M 9351537ca0 Strip conflicting symbols from compiler builtins 2025-10-05 23:42:35 +07:00
Jeremy Soller 48a6dcf39e Merge branch 'unsafe_op-ld_so' into 'master'
unsafe_op_in_unsafe_fn: ld_so, generic-rt, redox-rt

See merge request redox-os/relibc!733
2025-10-05 06:52:25 -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 9528c7163b Rename mangled rust allocator symbols 2025-10-04 08:01:00 -06:00
Jeremy Soller bb42c12921 Merge branch 'nightly-2025-10-03' into 'master'
Support nightly-2025-10-03

See merge request redox-os/relibc!730
2025-10-04 07:53:14 -06:00
Jeremy Soller ced734c162 Add RawCell::unsafe_set 2025-10-04 07:50:16 -06:00
Jeremy Soller 82084440ad Support nightly-2025-10-03 2025-10-03 21:51:10 -06:00
Jeremy Soller f3f37c3176 Merge branch 'raw_cell' into 'master'
Add RawCell<T> wrapper.

See merge request redox-os/relibc!731
2025-10-03 12:56:15 -06:00
4lDO2 618b43ccae Add RawCell<T> wrapper. 2025-10-03 20:24:08 +02:00
Jeremy Soller 43b0f235ca Implement pthread_getattr_np 2025-09-30 12:49:22 -06:00
Jeremy Soller d39fe6c9fb Make sure TLS modules are aligned to 16 bytes for SSE 2025-09-29 17:08:51 -06:00
Jeremy Soller f35ddf0ec1 Merge branch 'getpeername-fix' into 'master'
Fix panic on getpeername

See merge request redox-os/relibc!728
2025-09-26 14:25:16 -06:00
Wildan M 8fa68e2927 fmt 2025-09-27 01:13:14 +07:00
Wildan M 7527de3a25 Fix panic on getpeername 2025-09-27 01:02:20 +07:00
Jeremy Soller 95cf8d9e6a Merge branch 'fix-linux-build' into 'master'
Fix Linux build

See merge request redox-os/relibc!727
2025-09-26 05:45:26 -06:00
Josh Megnauth b22f333319 Fix Linux build 2025-09-26 02:05:03 -04:00
Jeremy Soller 12857af043 Merge branch 'posix_getdents' into 'master'
Implement posix_getdents

See merge request redox-os/relibc!724
2025-09-23 10:57:13 -06:00
Wildan Mubarok 7416ba6ff3 Implement posix_getdents 2025-09-23 10:57:13 -06:00
Jeremy Soller dc7491387b Merge branch 'sema-fix' into 'master'
Fix timespec for semaphore

See merge request redox-os/relibc!725
2025-09-22 19:20:12 -06:00
Wildan Mubarok a4aa1a30a3 Fix timespec for semaphore 2025-09-23 00:44:02 +00:00
Jeremy Soller 6110a77044 Merge branch 'cstr_strchr' into 'master'
Add safe strchr method for CStr.

See merge request redox-os/relibc!723
2025-09-21 10:35:10 -06:00
4lDO2 9aeb9abd97 Add safe strchr method for CStr. 2025-09-21 17:00:45 +02:00
Jeremy Soller 38d667a58e Merge branch 'printf-use-float-abs' into 'master'
printf: Use f64::abs

See merge request redox-os/relibc!639
2025-09-21 08:17:46 -06:00
Jeremy Soller 6729abbcba Merge branch 'fchmodat' into 'master'
Implement fchmodat

See merge request redox-os/relibc!714
2025-09-21 08:16:49 -06:00
4lDO2 5ce0574647 Explain redox-rt more accurately. 2025-09-21 16:16:00 +02:00
Josh Megnauth 85c5e889fb Implement fchmodat
Capability based `fchmod`. I also implemented unit tests for chmod,
fchmod, and fchmodat.

The unit tests check Redox-specific behavior, so some of the tests are
disabled for Linux.
2025-09-21 10:04:11 -04:00
Jacob Lorentzon f3cc5dfb5c Merge branch 'out' into 'master'
Add `Out<T>` wrapper

See merge request redox-os/relibc!717
2025-09-21 14:36:12 +02:00
Jacob Lorentzon 9c5f11fbc8 Add Out<T> wrapper 2025-09-21 14:36:12 +02:00
Josh Megnauth 1a2c8175d4 printf: Use f64::abs 2025-09-21 06:52:59 +00: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
Jeremy Soller 239d275453 Merge branch 'fix-ci-smp' into 'master'
Fix CI by set it as single core

See merge request redox-os/relibc!721
2025-09-19 17:01:03 -06:00
Wildan Mubarok 0422ed2ae5 Fix CI by set it as single core 2025-09-19 22:29:41 +00:00
Jeremy Soller 9fa3eceaeb Implement getsockaddr for SO_DOMAIN and SO_TYPE 2025-09-19 14:59:47 -06:00
Jeremy Soller fe520f8e10 Merge branch 'fix-path' into 'master'
Change PATH separator to double colon

See merge request redox-os/relibc!719
2025-09-19 11:06:10 -06:00
Wildan M b541ee43be Change PATH separator to double colon 2025-09-19 21:48:38 +07:00
Jeremy Soller f4a7bcf92d Merge branch 'shadow-h' into 'master'
Implement shadow.h and argon2 crypt

See merge request redox-os/relibc!718
2025-09-19 06:45:18 -06:00
Jeremy Soller 50036b1026 Merge branch 'add-const-to-fnmatch' into 'master'
add constant to fnmatch.h

See merge request redox-os/relibc!716
2025-09-19 06:39:53 -06:00
Wildan M b8598f50ff Add argon2 crypt 2025-09-19 15:41:05 +07:00
Wildan M d3e44fa6b9 Apparently need to import FILE constant 2025-09-19 14:37:49 +07:00
Wildan M 0636af21a4 Add shadow.h support 2025-09-19 14:04:55 +07:00
auronandace 1bacd51b81 specify the type properly 2025-09-18 16:30:30 +01:00
auronandace 6607549abf add constant to fnmatch.h 2025-09-18 16:17:11 +01:00
Jeremy Soller 05b0b69c7e Merge branch 'export-fexecve' into 'master'
Export fexecve

See merge request redox-os/relibc!715
2025-09-18 06:32:46 -06:00
Josh Megnauth 03c0e3024c Export fexecve
It turns out we have fexecve but it wasn't exported in unistd.h.

Related: #184
2025-09-18 02:38:15 -04:00