Thursday, May 30, 2019

Re: firefox, sndiod and pledge

On 2019-05-30, Hrvoje Popovski <hrvoje@srce.hr> wrote:
> Hi all,
>
> i'm not sure is this intended or not, but if sndiod isn't running and if
> i want to open youtube video with firefox i got this log
> firefox[54192]: pledge "tty", syscall 54 and firefox crashes ....
> when sndiod is running everything seems fine ..

Similar with chromium's main process and audio.

Maybe it would be nice if libsndio had an option to say "I'm a pledged
program, error out instead of trying to talk to the device direct
and killing the process" ...

But then again, in both cases (chromium/firefox) the main process already
has a "kitchen-sink" pledge.

No comments:

Post a Comment