CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected]    2023/09/13 00:14:04

Modified files:
        www/firefox-esr: Makefile 
        www/firefox-esr/files: unveil.content unveil.gpu unveil.main 

Log message:
firefox-esr: sync DRM unveil with mozilla-firefox

Instead of unveiling /dev/dri/card0 only, unveil the entire directory.
It only contains four card* and and four renderD* with tight permissions.
This is also the approach taken by the chromium based browsers.

According to kettenis, acceleration on rare multi-graphics card setups
can require multiple renderD* devices. Starting with firefox 118, if the
directory isn't present, fallback code can exercise ioctls that aren't
permitted by the kernel, leading to crashes.

ok landry

Reply via email to