Commit Graph

43 Commits

Author SHA1 Message Date
4lDO2 ebf4c4185a Fix sigqueue limit off-by-one, rustfmt. 2026-02-01 13:13:21 +01:00
bjorn3 686b052dea Support dynamic linking in initfs
With this the only changes necessary to dynamically link the initfs are
in the build recipe.
2026-01-25 20:25:01 +01:00
Wildan M b0d9f8114a bootstrap: Quote scheme log 2026-01-23 02:25:51 +07:00
Ibuki.O 34d337fedb feat: Implement fstat handling in nsmgr. 2026-01-21 19:18:47 +09:00
Ibuki.O 914645baea chore: Use redox-rt from upstream in bootstrap. 2026-01-21 13:19:28 +09:00
Ibuki Omatsu 334928f151 feat: Introduce userspace namespace manager and adapt all schemes. 2026-01-20 20:56:58 -07:00
Jeremy Soller f740b61774 Use workspace dependencies for many common crates 2026-01-20 10:12:08 -07:00
Wildan M d08c6cbe6f Split driver log level env 2026-01-10 06:35:06 +07:00
Wildan M 992b856d66 Make boot log level adjustable 2026-01-10 04:58:11 +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
Jeremy Soller 7ff1d4546d Merge branch 'p3' into 'main'
fix(bootstrap/procmgr): on child exit, do not set `stop_or_continue` when sending `SIGCHLD`

See merge request redox-os/base!71
2025-12-16 20:32:54 -07:00
Anhad Singh 106c078923 fix(bootstrap/procmgr): on child exit, do not set stop_or_continue
when sending `SIGCHLD`

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-12-17 14:29:52 +11:00
Ribbon 723364cb45 Improve, update and remove unnecessary READMEs 2025-12-16 21:34:36 -03:00
bjorn3 1ac570fe06 Couple of minor feature gate changes 2025-12-13 12:38:22 +01: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
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
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 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
bjorn3 63907aff45 bootstrap: Update redox-rt 2025-12-07 20:59:32 +01: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 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
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 c7b82d2c8f bootstrap: add link script for i586 2025-11-16 12:58:25 -07:00
Jeremy Soller f629b061fa use upper fd table 2025-11-16 08:37:46 -07:00
Jeremy Soller f8baa54411 Implement fpath on proc scheme 2025-11-14 11:37:14 -07:00
Jeremy Soller dc605d6cb9 bootstrap: set log level to warn 2025-11-01 20:47:43 -06:00
Jeremy Soller b7b8126731 bootstrap: reduce logging 2025-11-01 20:45:25 -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
4lDO2 3354a9148d Fix SIGSTOP panic, ignore sigs for exited procs. 2025-09-21 10:14:52 +02:00
4lDO2 d0a841536b Properly indicate SIGKILL termination for waitpid. 2025-09-10 14:26:40 +02: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
Ibuki Omatsu 9189c4c6dc feat: Implement uds_dgram and uds_stream schemes. 2025-07-18 21:58:53 -06:00
4lDO2 a232996fe8 Add missing OnClose handler in procmgr, fixes leak. 2025-07-13 11:00:41 +02:00
4lDO2 196a59824b Implement cancellation for waitpid. 2025-06-21 11:32:59 +02:00
bjorn3 a31bc0301e Fix a couple of procmgr warnings 2025-05-20 21:08:49 +02:00
bjorn3 7655b09d33 Add initfs to the main workspace 2025-05-20 20:34:59 +02:00
Ribbon 632459e5be Add a README and simplify the daemon READMEs 2025-05-15 23:29:52 -03:00
bjorn3 bb25f45f43 Remove unnecessary .gitignore 2025-04-23 17:21:52 +02:00
bjorn3 e72e49840a Don't include bootstrap in the main workspace 2025-04-21 19:08:46 +02:00
bjorn3 cf3d7a74f6 Add 'bootstrap/' from commit '6898d8b14c078805b7b0b6c4b5d9359ca911bbc6'
git-subtree-dir: bootstrap
git-subtree-mainline: 16e0cb79b9
git-subtree-split: 6898d8b14c
2025-04-21 19:03:38 +02:00