Commit Graph

3346 Commits

Author SHA1 Message Date
auronandace f1e905dcb5 eliminate 2 expects 2026-07-17 11:04:15 +01:00
auronandace eed996c612 work around triggering some clippy lints 2026-07-17 08:32:49 +01:00
auronandace 7375a196c6 add annotations and safety notes for timer functions 2026-07-16 10:00:19 +01:00
auronandace feebedbd55 import ToString 2026-07-16 09:11:52 +01:00
auronandace f3c0b52846 tackle more clippy lints 2026-07-16 08:59:10 +01:00
Jeremy Soller 7fcce3822c Merge branch 'clippy-green3' into 'master'
tackle more clippy lints for redox

See merge request redox-os/relibc!1549
2026-07-15 10:27:40 -06:00
Jeremy Soller 4a6f7854a9 Merge branch 'merge-ld-libc' into 'master'
feat(ld.so): merge with libc.so

Closes #284

See merge request redox-os/relibc!1547
2026-07-15 10:25:12 -06:00
Anhad Singh ee98a2b09c fix(dso): sysv hash table
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-15 22:55:39 +10:00
Anhad Singh 260bccbd3c fix(ld): make environ preemptable
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-15 22:40:29 +10:00
Anhad Singh bf2455ea2e misc(ld.so): cleanup
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-15 22:38:37 +10:00
auronandace ce28b8786a follow-up eliminating more as casts 2026-07-15 10:54:26 +01:00
auronandace 6671339ec3 revert cfg and remove unused import 2026-07-15 10:44:50 +01:00
auronandace e320c755ff tackle more clippy lints for redox 2026-07-15 10:30:48 +01:00
Anhad Singh 6697881222 feat(alloc): cleanup
* Storing a pointer to the allocator in TCB is no longer necessary.
* `AtomicPtr` to store the allocator is no longer required as the
  allocator is not swapped on init if the program was dynamically
  linked.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-15 18:26:27 +10:00
auronandace b632453fd4 follow-up casts in redox socket 2026-07-14 09:50:26 +01:00
auronandace da54c331f5 revert two casts 2026-07-14 09:29:44 +01:00
auronandace 70505f0a6f address some clippy lints in redox 2026-07-14 09:16:29 +01:00
Anhad Singh 9135ddf7ed fix(ld.so): i586 compilation
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 18:01:04 +10:00
Anhad Singh 67512cbe58 feat(ld.so): remove ObjectHandle
ld.so has been merged with libc.so

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 17:41:27 +10:00
Anhad Singh a3d60b542a feat(ld.so): remove LinkerCallbacks
Not necessary as ld.so has been merged with libc.so.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 17:29:18 +10:00
Anhad Singh 3f20b58d38 feat(libc.so.6): merge with ld.so
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 17:22:43 +10:00
Anhad Singh e09e8bac0b misc(start): remove unused imports
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 17:20:55 +10:00
Anhad Singh 14b3122696 misc(logger): return an error on failure
...instead of logging.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 17:01:55 +10:00
Anhad Singh 86b46ff41c fix(start): skip platform init when dynlinked
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 16:57:15 +10:00
Jeremy Soller d269e551ff Merge branch 'fix-relibc-tests' into 'master'
fix: Fix fdtbl initialization and synchronization to make relibc tests work

See merge request redox-os/relibc!1545
2026-07-13 06:13:17 -06:00
Ibuki Omatsu c044a70182 fix: Fix fdtbl initialization and synchronization to make relibc tests work 2026-07-13 06:13:17 -06:00
auronandace 9c2dd2a898 finish current clippy lints to make CI green 2026-07-13 07:16:35 +01:00
auronandace d5afd3fe81 add documentation for functions relating to controlling terminal 2026-07-09 13:23:16 +01:00
auronandace 60d98aebf2 correct definition for PTHREAD_NULL 2026-07-08 14:38:51 +01:00
Jeremy Soller e16f2a4e0d Merge branch 'manual-let-else' into 'master'
apply manual_let_else clippy lint

See merge request redox-os/relibc!1536
2026-07-08 06:01:40 -06:00
auronandace 3af54162cf add description to pthread_once function 2026-07-08 12:17:09 +01:00
auronandace 7840bfcdd1 apply manual_let_else clippy lint 2026-07-08 10:07:15 +01:00
Connor-GH d465f3d34d sys_ioctl: add Redox implementations for tcdrain, tcflow, and tcsendbreak
Strangely enough, the `dup_write` was already done for `tcflush`, but wasn't implemented in ptyd.
2026-07-07 16:51:18 -05:00
Jeremy Soller 3a44b63a9a Merge branch 'termios-oflag-doc' into 'master'
share some more termios constants

See merge request redox-os/relibc!1534
2026-07-07 06:47:11 -06:00
Jeremy Soller 939180a769 Merge branch 'log-ldso' into 'master'
Enable logging for ld_so

See merge request redox-os/relibc!1533
2026-07-07 06:46:04 -06:00
Jeremy Soller ba0ac174df Merge branch 'no-tcb' into 'master'
Handle panic without TCB

See merge request redox-os/relibc!1530
2026-07-07 06:45:42 -06:00
auronandace bcbd9bb69c share some more termios constants 2026-07-07 08:57:07 +01:00
Jeremy Soller 82d444324e Explicitly include features.h in sys/types.h 2026-07-06 17:37:20 -06:00
Jeremy Soller 77f87530c1 Merge branch 'threads-bits' into 'master'
split out pthread types for threads header

See merge request redox-os/relibc!1532
2026-07-06 12:19:20 -06:00
Jeremy Soller 0948df3432 Merge branch 'race-tcb' into 'master'
Fix exit_current_thread racing with pthread_join

See merge request redox-os/relibc!1531
2026-07-06 12:18:58 -06:00
Jeremy Soller c699b37cc0 Merge branch 'ftok-doc' into 'master'
add descriptions to the ftok function and ipc_perm struct members

See merge request redox-os/relibc!1529
2026-07-06 12:18:34 -06:00
auronandace d7859174b7 split out pthread types for threads header 2026-07-06 16:41:09 +01:00
Wildan M 30f50abbfa Enable logging for ld_so 2026-07-06 22:00:53 +07:00
auronandace 5acc81cc97 add descriptions to the ftok function and ipc_perm struct members 2026-07-06 14:46:07 +01:00
auronandace ff37890ea2 add descriptions to termios iflags 2026-07-06 14:06:53 +01:00
Jeremy Soller 52bb3bbfe3 Merge branch 'ptr-offset-by-literal-lint' into 'master'
add ptr_offset_by_literal clippy lint and set to deny

See merge request redox-os/relibc!1527
2026-07-06 06:04:43 -06:00
Jeremy Soller c8d99d6481 Merge branch 'termios-func-doc' into 'master'
document termios functions

See merge request redox-os/relibc!1526
2026-07-06 05:45:24 -06:00
Jeremy Soller 103b040f86 Merge branch 'rename-def-source' into 'master'
Add _GNU_SOURCE to get bits/uio.h

See merge request redox-os/relibc!1524
2026-07-06 05:44:33 -06:00
Jeremy Soller 66dcae87bf Merge branch 'open-log' into 'master'
Parse flags when logging openat

See merge request redox-os/relibc!1523
2026-07-06 05:44:05 -06:00
auronandace bf6dc24407 add ptr_offset_by_literal clippy lint and set to deny 2026-07-06 12:40:43 +01:00