When a syscall is denied, pledge cannot reverse map the required promise.
It is not possible. Think about it for a bit.
It is best effort. It helps 95% of the developers. When you get close
to ioctl, there is no plausible way to say what promise is required.
cho...@jtan.com wrote:
> I decide
I decided late in an application's life to start using pledge, so
I put a call in at the top and started running it and adding the
requirements reported by dmesg on each iteration.
Eventually it reported that the tty promise was breached so I added
that and it reported again that the tty promise w
On Tue, 27 Feb 2024 08:45:44 +0100,
Stefan Sperling wrote:
>
> On Mon, Feb 26, 2024 at 10:17:20PM +0100, Kirill A. Korinsky wrote:
>
> > Anyway, I'll keep debug enabled for the case if frimeware error happens.
>
> Yes, that would still be interesting, thanks.
It's happening not each boot. I've reb