musl 1.2.2 uses a new ioctl system call on paths which might be invoked by
firefox (EDIT: Actually not so sure about that anymore, firefox would explicitly need to call
tcgetwinsize to trigger the code from the commit linked below?). Since firefox has a system call filter and this specific ioctl
is not allowed by the filter a sandbox violation is raised with musl
1.2.2 which causes all tabs to crash.
This commit fixes this issue, it was previously applied for firefox-esr first but firefox-esr doesn't build currently due to issues with rust.
Fixes #12061 (closed)