Commit Graph

17 Commits

Author SHA1 Message Date
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
Jeremy Soller c560376d24 logd: do not log when ready 2025-11-01 20:33:48 -06: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
bjorn3 2f51590d9f netstack: Merge the redox_netstack lib into smolnetd 2025-06-28 16:18:34 +02:00
Ribbon 632459e5be Add a README and simplify the daemon READMEs 2025-05-15 23:29:52 -03:00
bjorn3 fb99ff5fa5 log: Add fixme about backfilling 2025-04-06 20:15:37 +02:00
bjorn3 034d76ffd5 logd: Add api to add new sink sources at runtime
This will allow logd to be started before fbbootlogd.
2025-04-06 19:42:02 +02:00
bjorn3 d20dd30ccf Move logd to redox-scheme 0.5 2025-04-06 19:10:49 +02:00
bjorn3 8286249ff7 Remove unreachable dup impls
Dup calls with an empty path never reach scheme implementations
2025-03-30 17:51:07 +02:00
bjorn3 400371eaf9 logd: Don't block receiving log messages on writing previous ones
This avoid a deadlock when the process logging things is directly or
indirectly involved in receiving them too. Currently there is a
workaround for a part of this problem in fbbootlogd, but doing it
directly in logd is a lot simpler and catches more cases.
2025-03-15 16:23:51 +01:00
bjorn3 8824229b9e Move a couple of files to the top level 2025-02-18 21:35:28 +01:00
bjorn3 daa4622b38 Add 'logd/' from commit 'db36d01782a6b9cc7ec995f884f8c1259d79903e'
git-subtree-dir: logd
git-subtree-mainline: 38c917a56b
git-subtree-split: db36d01782
2025-02-18 21:31:45 +01:00