Commit Graph

32 Commits

Author SHA1 Message Date
Akshit Gaur 4a527cb374 Add ProcCall 2026-04-17 14:39:58 +05:30
Akshit Gaur 2ccd96cf3d revamp sync_kernel_attrs 2026-04-17 14:39:58 +05:30
Akshit Gaur ec1e02e712 ens to prio 2026-04-17 14:39:58 +05:30
bjorn3 311e180019 bootstrap: Move scheme socket creation to spawn 2026-03-06 22:25:20 +01:00
bjorn3 b31f48cb59 bootstrap: Directly pass event cap fd to procmgr 2026-03-06 22:25:19 +01:00
bjorn3 890f325368 bootstrap: Store FdGuard's in KernelSchemeMap 2026-03-06 22:25:18 +01:00
bjorn3 b641ed3741 bootstrap: Pass proc auth FdGuard by-value 2026-03-06 22:25:16 +01:00
bjorn3 fe3f09133d bootstrap: Use FdGuard for scheme_creation_cap 2026-03-06 22:25:05 +01:00
Ibuki Omatsu 2738f69224 feat: Implement std_fs_call handling to initfs, ramfs, acpi and xhci 2026-02-28 08:15:16 -07:00
bjorn3 029e3a48e2 bootstrap: Use FdGuard for sync_pipe 2026-02-07 20:06:06 +01:00
bjorn3 842855e26f Fix /scheme/proc/ps header 2026-02-07 12:32:52 +01:00
bjorn3 9e28791c2b Fix a couple of warnings 2026-02-07 12:19:41 +01:00
bjorn3 a40955bb80 Remove setrens handling and the rns/ens process fields
It is no longer used due to the capability rework.
2026-02-06 21:59:17 +01:00
4lDO2 c6f5703313 Fix typo causing rt signals not to wakeup thread. 2026-02-05 15:13:47 +01:00
4lDO2 ebf4c4185a Fix sigqueue limit off-by-one, rustfmt. 2026-02-01 13:13:21 +01:00
Ibuki Omatsu 334928f151 feat: Introduce userspace namespace manager and adapt all schemes. 2026-01-20 20:56:58 -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
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
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
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 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 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
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 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