Commit Graph

834 Commits

Author SHA1 Message Date
Jeremy Soller 9972903dc4 init: do not log successful command completion 2025-11-01 19:29:52 -06:00
Jeremy Soller f59f893d5b Merge branch 'loopback-fix' into 'main'
Fix smolnet not handling loopback address

See merge request redox-os/base!34
2025-10-22 05:48:42 -06:00
Wildan M 62c8b62b1e Fix smolnet not handling loopback address 2025-10-22 13:29:41 +07:00
Jeremy Soller 9ff116f4bb Merge branch 'uds-race-cond' into 'main'
Use atomic counter in UDS to avoid race condition

See merge request redox-os/base!32
2025-10-21 10:30:56 -06:00
Jeremy Soller 9510a3db00 Merge branch 'shm-handling-2' into 'main'
Further fixes of shm read/write handling

See merge request redox-os/base!33
2025-10-21 10:30:43 -06:00
Wildan M aab6157871 Further fixes of shm read/write handling 2025-10-21 23:18:40 +07:00
Wildan Mubarok 6dddb01d63 Use atomic counter in UDS to avoid race condition 2025-10-21 15:20:50 +00:00
Jeremy Soller 47f056490f Merge branch 'shm-handling' into 'main'
Fixes for shm handling

See merge request redox-os/base!31
2025-10-17 15:02:45 -06:00
Wildan Mubarok 97cefd26a1 Fixes for shm handling 2025-10-17 15:02:45 -06:00
Jeremy Soller 2c423e9a44 Update bootstrap to edition 2024 2025-10-04 08:15:24 -06:00
Jeremy Soller 77cf4c0001 Update bootstrap dependencies 2025-10-04 08:12:36 -06:00
Jeremy Soller 565f69f68b Update dependencies 2025-10-04 08:06:12 -06:00
Jeremy Soller 24a4cfc640 Update dependencies 2025-10-04 08:03:28 -06:00
4lDO2 3354a9148d Fix SIGSTOP panic, ignore sigs for exited procs. 2025-09-21 10:14:52 +02:00
Jeremy Soller bed0b52961 ipcd/uds: implement fevent and misc fixes 2025-09-17 14:43:53 -06:00
4lDO2 d0a841536b Properly indicate SIGKILL termination for waitpid. 2025-09-10 14:26:40 +02:00
Jeremy Soller 966fd1adb1 Merge branch 'ptyd-use-write-for-fn-path' into 'main'
Simplify Pty::path with write!

See merge request redox-os/base!28
2025-09-06 07:13:52 -06:00
Josh Megnauth 6e76601529 Simplify Pty::path with write!
Pty::path is a manual implementation of write! that also allocates.
Using write! avoids the alloc and is simpler too.

The original function didn't return an error even if called with a small
buffer and this version preserves that.
2025-08-31 01:58:33 -04:00
Jeremy Soller f0fa4125ba Merge branch 'add-vdisable' into 'main'
Add _POSIX_VDISABLE to pty to disable control chars

See merge request redox-os/base!27
2025-08-15 06:57:36 -06:00
Josh Megnauth 1744adb7c1 Add _POSIX_VDISABLE to disable control chars
This is a POSIX extension to disable control chars when set in the c_cc
array. Fish and other programs use it.

See:
* redox-os/relibc!689
* redox-os/termios!3
2025-08-14 01:07:00 -04:00
Jeremy Soller 0922b7d95d Merge branch 'enlarge-debug' into 'main'
Increase initfs in debug build

See merge request redox-os/base!26
2025-08-01 06:50:42 -06:00
Wildan Mubarok fde6dab626 Increase initfs in debug build 2025-08-01 06:00:53 +00:00
Jeremy Soller 24ff0865b6 Merge branch 'bulk-send-recvfd' into 'main'
feat: Implement bulk fd passing

See merge request redox-os/base!25
2025-07-30 18:49:38 -06:00
Ibuki Omatsu 3cad0e8a33 feat: Implement bulk fd passing 2025-07-30 18:49:37 -06:00
Jeremy Soller d03f2cddd1 Merge branch 'integrate-bind-connect-redoxfs' into 'main'
feat: Reimplement bind and connect operation using token and switch GetProcCredentials to capability-based approach.

See merge request redox-os/base!19
2025-07-21 07:56:03 -06:00
Ibuki Omatsu 9a8af7c993 feat: Reimplement bind and connect operation using token and switch GetProcCredentials to capability-based approach. 2025-07-21 07:56:03 -06:00
Jeremy Soller 257e07209d Merge branch 'disable-get_proc_credentials' into 'main'
fix: Fix build errors related to uds scheme

See merge request redox-os/base!24
2025-07-19 12:13:15 -06:00
Ibuki Omatsu 1004be449d fix: Fix build errors related to uds scheme 2025-07-19 12:13:15 -06:00
Jeremy Soller e7388ae2fb Merge branch 'scheme0.6-uds' into 'main'
feat: Implement uds_dgram and uds_stream schemes.

See merge request redox-os/base!16
2025-07-18 21:58:53 -06:00
Ibuki Omatsu 9189c4c6dc feat: Implement uds_dgram and uds_stream schemes. 2025-07-18 21:58:53 -06:00
Jeremy Soller 7f2212836a Merge branch 'logd_improvements' into 'main'
Better handling of kernel logs

See merge request redox-os/base!22
2025-07-13 06:40:44 -06:00
4lDO2 a232996fe8 Add missing OnClose handler in procmgr, fixes leak. 2025-07-13 11:00:41 +02:00
bjorn3 8c8aa29468 logd: Avoid echoing back kernel logs to the kernel debug scheme 2025-07-12 17:14:12 +02:00
bjorn3 8f319d4081 logd: Improve implementation of kernel log copying
I hadn't meant to upstream it yet. I accidentally added it in a commit
touching the netstack. In any case this commit integrates the kernel log
copying directly into LogScheme.

The kernel log copying is meant to show the kernel log on the fbbootlogd
rendered bootlog. Even once the kernel graphical debug has been disabled
or if it never got enabled due to the bootloader not presenting a
framebuffer.
2025-07-12 17:14:12 +02:00
bjorn3 afa109c088 logd: Implement backfilling of logs when adding a new sink 2025-07-12 17:14:12 +02:00
bjorn3 a567d87842 logd: Open kernel log inside LogScheme::new.
This allows a future commit to skip writing to the kernel log when
necessary.
2025-07-12 17:13:17 +02:00
Jeremy Soller fc7ab34d32 Merge branch 'ipcd-scheme-version-up' into 'main'
feat: Update the redox-scheme version to 0.6 in ipcd.

See merge request redox-os/base!17
2025-07-10 21:01:41 -06:00
Ibuki Omatsu 8a3bb40a1f feat: Update the redox-scheme version to 0.6 in ipcd. 2025-07-10 21:01:40 -06:00
Jeremy Soller e614d267bb Merge branch 'ttl-to-hoplimit' into 'main'
rename Setting::Ttl to Setting::HopLimit

See merge request redox-os/base!21
2025-07-07 06:37:44 -06:00
auronandace 9240eabe67 rename Setting::Ttl to Setting::HopLimit 2025-07-06 17:29:34 +01:00
Jeremy Soller 2abbf581c2 Merge branch 'tiny_randd_improvement' into 'main'
Remove the socket field of RandScheme

See merge request redox-os/base!20
2025-07-04 14:04:36 -06:00
bjorn3 582005fbbe Remove the socket field of RandScheme
No code inside RandScheme needs it. And the main function can access the
socket it opened directly. This also fixes running tests for randd.
2025-07-04 21:58:29 +02:00
Jeremy Soller 3770b439c5 Merge branch 'netstack_cleanups' into 'main'
Bunch of netstack cleanups

See merge request redox-os/base!18
2025-06-28 08:45:13 -06:00
bjorn3 c9806f68fc netstack: Remove a bunch of dead code 2025-06-28 16:21:16 +02:00
bjorn3 2f51590d9f netstack: Merge the redox_netstack lib into smolnetd 2025-06-28 16:18:34 +02:00
bjorn3 20ee161085 netstack: Move the smolnetd source 2025-06-28 16:16:30 +02:00
bjorn3 cfef0413e5 netstack: Remove dnsd
It isn't used anywhere. Relibc has it's own dns resolver.
2025-06-28 16:16:15 +02:00
4lDO2 196a59824b Implement cancellation for waitpid. 2025-06-21 11:32:59 +02:00
Jeremy Soller e9b839b484 Merge branch 'initfs_main_workspace' into 'main'
Add initfs to the main workspace

See merge request redox-os/base!15
2025-05-20 17:17:55 -06:00
bjorn3 a31bc0301e Fix a couple of procmgr warnings 2025-05-20 21:08:49 +02:00