Re: libcasper and async-signal-safety

From: Ed Maste <>
Date: Tue, 10 Jan 2023 18:55:15 UTC
On Tue, 10 Jan 2023 at 13:45, Alan Somers <> wrote:
> I assume that this is just an oversight.  After all, all of the
> existing programs in the base system that use casper are
> single-threaded.  But it's a limitation that ought to be documented in
> the cap_init(3) man page, right?  Or am I missing something?

I don't think you're missing anything, and this just needs to be
explicitly documented. The forking behaviour of Casper services is
perhaps an internal implementation detail, but the limitations it
imposes on the consumer should be clear.