Commit Graph

54 Commits

Author SHA1 Message Date
bjorn3 69c1f56cf0 Workaround hardlink issue in CI 2026-04-19 21:24:09 +02:00
bjorn3 daf726c30d scheme-utils: Have FpathWriter handle writing the scheme name 2026-04-19 19:07:41 +02:00
bjorn3 64d23e9e05 scheme-utils: Introduce FpathWriter helper 2026-04-19 19:07:41 +02:00
Wildan M 40b1dce975 Add compiling and testing with Makefile 2026-04-19 15:48:52 +07:00
bjorn3 cdede58055 Couple of minor scheme related cleanups 2026-04-16 18:44:07 +02:00
bjorn3 317a0178b6 Introduce scheme-utils crate and HandleMap type
HandleMap deduplicates the id assignment for handles and unlike most
existing implementations handles overflow just fine.
2026-04-13 22:19:07 +02:00
Benton60 2440ef302b switch to using the remote endpoint for getpeername checks 2026-04-07 02:08:15 -04:00
Benton60 321f15c850 fix 0.0.0.0:non-zero port getpeername calls 2026-04-06 18:14:09 -04:00
Benton60 5fc7dc360a add a check for connectivity in get_peer_name 2026-04-06 13:22:08 -04:00
Benton60 5d1981bf23 fix failing os-test by correcting disconnect behavior 2026-04-06 12:50:21 -04:00
Benton60 b375f2da24 remove dup check to allow unconnect to dup to an unconnected socket 2026-04-04 18:21:10 -04:00
bjorn3 ec4bc65323 Rustfmt 2026-03-27 22:57:39 +01:00
Benton60 4d6c9db9c0 fix a todo 2026-03-27 09:43:50 -04:00
Benton60 87bda3ec32 udpate the fpath return value to reflect the new format 2026-03-24 12:34:05 -04:00
Benton60 0ad36bf5b4 implement recvmsg handler for tcp 2026-03-24 12:34:05 -04:00
Benton60 f8eff8bec3 implement the recvmsg handler for udp 2026-03-24 12:34:05 -04:00
Benton60 c9653b50eb initial setup for recvmsg, all handlers return EOPNOTSUPP for now 2026-03-24 12:34:05 -04:00
Ribbon 90ea974ce0 Add missing Cargo package description and update drivers README 2026-03-16 10:39:15 -06:00
Jeremy Soller 352d90332f Use libredox::protocol in ipcd and netstack 2026-02-28 08:20:24 -07:00
Ibuki Omatsu 2738f69224 feat: Implement std_fs_call handling to initfs, ramfs, acpi and xhci 2026-02-28 08:15:16 -07:00
auronandace 5ffce47607 add clippy precedence lint 2026-02-20 13:43:48 +00:00
Bendeguz Pisch 05d01a9351 Return EADDRNOTAVAIL in UDP scheme if dup called with unspecified address 2026-02-04 10:35:27 +01:00
Jeremy Soller 2d672b7cd9 Add anyhow to workspace 2026-01-29 10:47:45 -07:00
Akshit Gaur c480fa6362 netstack: Add GetSockOpt 2026-01-25 21:12:09 +05:30
Ibuki Omatsu 334928f151 feat: Introduce userspace namespace manager and adapt all schemes. 2026-01-20 20:56:58 -07:00
Jeremy Soller ceebc93762 Set log dependency to workspace in netstack 2026-01-20 10:47:08 -07:00
Jeremy Soller f740b61774 Use workspace dependencies for many common crates 2026-01-20 10:12:08 -07:00
Connor-GH 0580c2c761 Fix 'shutdown' regression
We did not update the relibc version needed for redox-rt or generic-rt.
Additionally, base @6b9593946 was missing an updated callsite for
`can_recv()`.
2026-01-19 14:45:19 -06:00
Akshit Gaur af908029f8 Add UDP Packet Filtering to netstack 2026-01-19 10:06:45 -07:00
Akshit Gaur 557491b5e3 netstack: Add shutdown syscall 2026-01-19 22:06:15 +05:30
Wildan M b9eea683c0 netstack: Temporarily fix EBADF from setsockopt 2026-01-08 05:03:40 +07:00
Wildan M 385f82c777 netstack: Handle SYS_CALL 2026-01-08 04:00:07 +07:00
Wildan M 808fa3b765 Update TCP fpath 2026-01-07 22:53:07 +07:00
Wildan M f5fb58a55b Fix UDP resolving connection 2026-01-07 22:49:28 +07:00
Ibuki Omatsu 3681e1b74a refactor: Replace unlink and rmdir with unlinkat in ramfs. Update redox-scheme and redox-rt for bootstrap. 2025-12-17 18:46:05 -07:00
Ribbon 723364cb45 Improve, update and remove unnecessary READMEs 2025-12-16 21:34:36 -03:00
Ibuki Omatsu 4f3cba2cd0 feat: Update netstack to use redox-scheme. 2025-12-13 06:44:43 -07:00
bjorn3 f06923b201 Standardize main function of all daemons 2025-12-04 11:44:29 +01:00
bjorn3 f1057b6750 daemon: Abort on errors
All users did this anyway. And handling it inside the daemon crate
allows avoiding a panic of the parent process when the child process
panicked.
2025-12-03 21:55:47 +01:00
bjorn3 54d81e7423 Merge redox-daemon into this repo 2025-12-03 21:07:13 +01:00
bjorn3 0c2341d53e Remove outdated Cargo.lock files 2025-12-03 21:00:13 +01:00
Wildan M e65fbb6537 netstack: Do not quit at error 2025-11-23 22:09:20 -08:00
Wildan M 62c8b62b1e Fix smolnet not handling loopback address 2025-10-22 13:29:41 +07:00
Ibuki Omatsu 1004be449d fix: Fix build errors related to uds scheme 2025-07-19 12:13:15 -06:00
auronandace 9240eabe67 rename Setting::Ttl to Setting::HopLimit 2025-07-06 17:29:34 +01: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 50b4e524b1 Implement cancellation for netstack. 2025-04-10 21:00:26 +02:00