Commit Graph

3066 Commits

Author SHA1 Message Date
Wildan Mubarok 2efcd20fbc Implement POSIX timer functions 2025-10-15 08:10:06 -06:00
Jeremy Soller 6acf185685 Merge branch 'fix-uname-arm' into 'master'
Fix compilation on ARM/RISC-V due to c_char being different

Closes #230

See merge request redox-os/relibc!749
2025-10-13 08:52:44 -06:00
Wildan M b102d17ff5 Fix compilation on ARM/RISCV due to c_char being different 2025-10-13 20:57:28 +07:00
Jeremy Soller d50ce16e0f Merge branch 'add-posix-dent' into 'master'
Define posix_dent for posix_getdents

See merge request redox-os/relibc!746
2025-10-12 08:23:36 -06:00
Wildan M 135fba1f9f rename posix_dent d_off 2025-10-12 20:37:21 +07:00
Wildan M 1712290deb Define posix_dent for posix_getdents 2025-10-12 20:25:37 +07:00
Jeremy Soller d8a7ace2ab Merge branch 'spec-and-import' into 'master'
update spec links and imports for libgen and sys_resource

See merge request redox-os/relibc!745
2025-10-11 12:28:31 -06:00
auronandace 03c646222e update spec links and imports for libgen and sys_resource 2025-10-11 19:21:36 +01:00
Jeremy Soller 02e4d98020 Merge branch 'panic-strlen' into 'master'
Avoid panic by uninitialized string of strlen

See merge request redox-os/relibc!744
2025-10-09 10:58:28 -06:00
Wildan M 036dd3fb73 Avoid panic by unitialized string of strlen 2025-10-09 23:52:45 +07:00
Jeremy Soller 82fa75a124 Merge branch 'cleanup-sysstatvfs' into 'master'
Cleanup sysstatvfs

See merge request redox-os/relibc!743
2025-10-09 10:51:19 -06:00
auronandace 900e27538b fix formatting 2025-10-09 17:14:26 +01:00
auronandace 159b6dcdde only import what is needed 2025-10-09 17:08:43 +01:00
auronandace 0d34c229ff update and add spec links 2025-10-09 17:02:54 +01:00
Jeremy Soller 5f8fb9c0aa Merge branch 'mem-sysconf' into 'master'
Implement reading memory

See merge request redox-os/relibc!742
2025-10-09 08:36:10 -06:00
Wildan M efad028739 Fix getting total memory 2025-10-09 21:15:03 +07:00
Wildan M cc325b8b0a Fix compile 2025-10-09 13:24:03 +07:00
Wildan M a118d5659b Implement reading memory 2025-10-09 13:15:05 +07:00
Jeremy Soller 1dda8a00e7 Merge branch 'nulstr' into 'master'
Generalize CStr into NulStr, adding WStr

See merge request redox-os/relibc!739
2025-10-07 10:50:08 -06:00
4lDO2 1c5732ba36 Share almost all code between printf and wprintf. 2025-10-07 15:58:34 +02:00
Jeremy Soller df60387d5d Merge branch 'sysconf-mem' into 'master'
Define stub memory constants

See merge request redox-os/relibc!740
2025-10-07 07:46:56 -06:00
Wildan M 38a64f2247 Define stub memory constants 2025-10-07 20:27:32 +07:00
4lDO2 96917f519e Reuse PrintfIter for both printf and wprintf. 2025-10-06 16:16:48 +02:00
4lDO2 62cc63c351 WIP: Reimpl WPrintfIter also in safe code. 2025-10-06 16:16:48 +02:00
4lDO2 04719d6f77 Add WStr type. 2025-10-06 16:16:48 +02:00
4lDO2 9bc464686f Generalize CStr into NulStr to allow wide strings. 2025-10-06 16:16:48 +02:00
4lDO2 6dc2606886 Expand CStr to make PrintfIter fully safe. 2025-10-06 16:16:48 +02:00
Jeremy Soller 45337004b8 Merge branch 'expose-pie' into 'master'
Expose PIE information with LD_DEBUG

See merge request redox-os/relibc!738
2025-10-06 06:34:14 -06:00
Jeremy Soller 4d3c3cdd3b Merge branch 'strip-multarch' into 'master'
Fix stripcore.sh for multi arch

See merge request redox-os/relibc!737
2025-10-06 06:33:46 -06:00
Jeremy Soller fcb03dc2cd Merge branch 'out2' into 'master'
Expand Out wrapper and use it in utsname.

See merge request redox-os/relibc!736
2025-10-06 06:31:46 -06:00
Wildan M ab8021fdbe Expose PIE information with LD_DEBUG 2025-10-06 12:53:22 +07:00
Wildan M 03a3f6027d Fix stripcore.sh for multi arch 2025-10-06 12:44:20 +07:00
4lDO2 f4cd024c2b Also add align check to projection macro. 2025-10-05 21:53:24 +02:00
Jeremy Soller cf42111165 Merge branch 'fix_arm64' into 'master'
Fix compilation on arm64

See merge request redox-os/relibc!735
2025-10-05 13:05:12 -06:00
4lDO2 24cf96393c Expand Out wrapper and use it in utsname. 2025-10-05 20:01:12 +02:00
bjorn3 70487a2555 Fix compilation on arm64 2025-10-05 19:42:21 +02:00
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