Commit Graph

2492 Commits

Author SHA1 Message Date
Jeremy Soller 18e8a37576 Merge branch 'initfs_mmap' into 'main'
Support zero-copy read-only mmaping in the initfs

See merge request redox-os/base!58
2025-12-12 13:54:18 -07:00
bjorn3 bd184871b7 Update redox-rt 2025-12-12 21:46:32 +01:00
bjorn3 d5ff91f248 Support mmap in initfs 2025-12-12 21:45:10 +01:00
Jeremy Soller a7047c3f28 Merge branch 'redoxer-arm' into 'main'
Move redoxerd and add aarch64 support

See merge request redox-os/base!57
2025-12-11 10:54:00 -07:00
Wildan M 471725ff4e Implement stub for riscv64 2025-12-12 00:16:40 +07:00
Wildan M 76a86e1969 Move redoxerd and add aarch64 support 2025-12-12 00:13:16 +07:00
Jeremy Soller d17a9d8387 Merge branch 'fix-check-arm' into 'main'
Fix cargo check for non x86_64

See merge request redox-os/base!56
2025-12-11 06:19:17 -07:00
Wildan M 10a1e29a64 Try fix for other arch 2025-12-11 18:54:57 +07:00
Wildan M 04d5c5fee8 Fix cargo check for aarch64 2025-12-11 18:47:46 +07:00
Jeremy Soller 713e40fba7 Merge branch 'p0' into 'main'
fix(procmgr/kill): error handling

See merge request redox-os/base!55
2025-12-10 06:18:08 -07:00
Jeremy Soller e188cb7516 Merge branch 'add-ci' into 'main'
ci: Add cargo check

See merge request redox-os/base!54
2025-12-10 06:14:50 -07:00
Anhad Singh 9028509fb8 fix(procmgr/kill): error handling
* Fix `num_succeeded` was never being incremented
* If no processes or process group could be found corresponding to that
  specified by `target`, `ESRCH` should be returned.
* Document this behaviour.

This is the reason why `killpg` test was hanging instead of reporting an
error since `kill` was silently failing.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-12-10 17:17:39 +11:00
Wildan M 0ecad02774 Try add rules 2025-12-10 13:03:57 +07:00
Wildan M 6512ec74dc Reduce logs 2025-12-10 13:00:22 +07:00
Wildan M 997fe9ff50 ci: Add cargo check 2025-12-10 12:52:08 +07:00
Jeremy Soller 2df5447272 Merge branch 'p0' into 'main'
misc: run `cargo update`

See merge request redox-os/base!53
2025-12-08 18:38:05 -07:00
Anhad Singh 854e48c0d6 misc: run cargo update
Fixes compilation of `apcid`
2025-12-09 12:35:28 +11:00
Jeremy Soller 949e1feb55 Merge branch 'bootstrap_cloexec' into 'main'
bootstrap: Open things with O_CLOEXEC where possible

See merge request redox-os/base!52
2025-12-08 16:49:46 -07:00
bjorn3 3bdcd7b04d bootstrap: Open things with O_CLOEXEC where possible 2025-12-08 22:17:41 +01:00
Jeremy Soller bff13cc204 Merge branch 'ec' into 'main'
Initial embedded controller support

See merge request redox-os/base!50
2025-12-08 10:29:16 -07:00
aarch 408eb5c86d Initial embedded controller support 2025-12-08 10:29:16 -07:00
Jeremy Soller 5fac9991c2 Merge branch 'main' into 'main'
fix(procmgr): send SIGCHLD to parent after child exits

See merge request redox-os/base!40
2025-12-07 17:59:52 -07:00
Jeremy Soller 888b51a4eb Merge branch 'update_redox_rt' into 'main'
bootstrap: Update redox-rt

See merge request redox-os/base!51
2025-12-07 13:51:24 -07:00
bjorn3 63907aff45 bootstrap: Update redox-rt 2025-12-07 20:59:32 +01:00
Jeremy Soller 837117485f Merge branch 'minor_init_rc_cleanup' into 'main'
Two minor cleanups to init.rc

See merge request redox-os/base!49
2025-12-06 08:15:24 -07:00
bjorn3 1350cf79cf Remove unnecessary VT switch
We already automatically switch to the first VT that gets created.
2025-12-06 10:51:16 +01:00
Jeremy Soller 85e16c110b Merge branch 'daemon_improvements2' into 'main'
Various improvements to the way daemons work

See merge request redox-os/base!48
2025-12-05 17:31:52 -07:00
bjorn3 6c39bea37a Only depend on redox-rt when compiling for redox
This fixes rust-analyzer when it is not configured to use redox as target.
2025-12-05 22:06:39 +01:00
bjorn3 858ff9cea9 init: Refactor the run function to reduce indentation 2025-12-05 21:02:46 +01:00
bjorn3 1d834c2393 init: Read config files all at once
This is simpler than streaming and likely a bit faster. Config files are
expected to be tiny.
2025-12-05 20:52:50 +01:00
bjorn3 c7adb019b5 Use file as default scheme from the start
This removes one piece of state that init has to manage for the
processes it spawns. This also allows getting rid of the concept of a
default scheme from relibc if we want.
2025-12-05 20:52:50 +01:00
bjorn3 4a182077c9 ipcd: Fix a couple of warnings 2025-12-05 20:52:46 +01:00
bjorn3 3abe41d258 drivers/pcid: Add pci_daemon function
This handles daemonization and getting the PciFunctionHandle.
2025-12-04 11:44:29 +01:00
bjorn3 f06923b201 Standardize main function of all daemons 2025-12-04 11:44:29 +01:00
Jeremy Soller b334e969b1 Merge branch 'daemon_improvements' into 'main'
Move redox-daemon into this repo and improve it

See merge request redox-os/base!47
2025-12-03 15:11:45 -07:00
bjorn3 7aa0776abd Rustfmt 2025-12-03 22:02:20 +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 583c2fb3c1 daemon: Use std::io::pipe() 2025-12-03 21:43:09 +01:00
bjorn3 5655d20a64 daemon: Remove libredox dependency 2025-12-03 21:34:40 +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
Anhad Singh 5f3b2cc91f fix(procmgr): send SIGCHLD to parent after child exits
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-12-01 11:03:57 +11:00
Jeremy Soller 1a92bd4bef Merge branch 'init_nowait' into 'main'
init: Add a nowait command that immediately daemonizes

See merge request redox-os/base!45
2025-11-30 07:09:29 -07:00
Jeremy Soller e5fe30573b Merge branch 'move_init_rc' into 'main'
Move init.rc from redox repo

See merge request redox-os/base!44
2025-11-30 07:07:21 -07:00
Jeremy Soller 588121d267 Merge branch 'misc_changes' into 'main'
Misc changes

See merge request redox-os/base!43
2025-11-30 07:06:36 -07:00
bjorn3 66ca17f899 init: Add a nowait command that immediately daemonizes
This is useful for daemons on which no other daemon has a dependency as
those would no longer need to use redox_daemon to daemonize themself.
2025-11-30 10:45:55 +01:00
bjorn3 ecdaccd728 Move init.rc from redox repo 2025-11-30 09:08:43 +01:00
bjorn3 5250df46dc Fix a couple of warnings 2025-11-30 09:07:40 +01:00
bjorn3 03087b091d Disable LTO 2025-11-30 09:01:58 +01:00
Jeremy Soller ff578463cb Merge branch 'fix_some_warnings' into 'main'
Fix some warnings in ptyd

See merge request redox-os/base!42
2025-11-29 12:40:06 -07:00