> Il giorno 22 mar 2020, alle ore 08:45, Landry Breuil <lan...@openbsd.org> ha 
> scritto:
> 
>> On Sat, Mar 21, 2020 at 06:49:42PM +0100, Andrea Biscuola wrote:
>> Hi ports@
>> 
>> I switched to firefox recently, because with chromium, hangouts screen 
>> sharing
>> doesn't work at all and I need it for work.
>> 
>> While testing Firefox screen sharing in hangouts, pledge kills it with:
>>    "/bsd: firefox[43476]: pledge "", syscall 289"
>> 
>> The syscall itself is shmget(2). Running hangouts with pledge disabled in 
>> firefox
>> works fine (I can share the screen without problems).
> 
> Honestly, i never really tried screen sharing, not expecting it to work
> at all - good to know it can work in some conditions !

The most stupid thing is chromium not coping well with rhe goole services

>> 
>> I tried to see how to solve the situation without disabling pledge. I 
>> modified the
>> kernel to include shmget(2), shmat(2), shmctl(2) and shmdt(2) in the stdio 
>> set
>> and now, screen sharing works.
> 
> Good luck trying to get an shm pledge class :)
> 
> In the meantime, i'd just advise you to disable pledge in firefox.

As semarie@ wrote, I'll just disable pledge for firefox. The shm functions are 
not well accepted on OpenBSD.

In the end, what I dis was just an experiment, but as I said, I already sent 
the message when I fully understood the implications.

Thank you and regards.

Andrea

Reply via email to