aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/fmsg/defer.go
AgeCommit message (Collapse)Author
2024-11-17fmsg: add to wg prior to enqueueOphestra Umiker
Adding after channel write is racy. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
2024-11-16app: integrate fsuOphestra Umiker
This removes the dependency on external user switchers like sudo/machinectl and decouples fortify user ids from the passwd database. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
2024-11-04fmsg: drop messages when msgbuf is full during withholdOphestra Umiker
Logging functions are not expected to block. This change fixes multiple hangs where more than 64 messages are produced during withhold. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
2024-10-27fmsg: initialise dequeue prior to withhold/resumeOphestra Umiker
This fixes the hang on resume when no messages were ever printed. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
2024-10-26fmsg: support temporarily withholding outputOphestra Umiker
Trying to print to a shared stdout is a terrible idea. This change makes it possible to withhold output for the lifetime of the sandbox. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>