CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2023/09/13 00:19:14
Modified files:
www/mozilla-firefox: Tag: OPENBSD_7_3 Makefile
www/mozilla-firefox/files: Tag: OPENBSD_7_3 unveil.content
unveil.gpu unveil.main
Log message:
MFC: mozilla-firefox: fix unveil for DRM device nodes
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