mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
firefox: fix sandbox crash on musl
[ci skip]
This commit is contained in:
parent
3fca755bc4
commit
a9b1cc5c63
2 changed files with 14 additions and 1 deletions
13
srcpkgs/firefox/patches/sandbox-fork.patch
Normal file
13
srcpkgs/firefox/patches/sandbox-fork.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
make SYS_fork non-fatal, musl uses it for fork(2)
|
||||||
|
|
||||||
|
--- security/sandbox/linux/SandboxFilter.cpp
|
||||||
|
+++ security/sandbox/linux/SandboxFilter.cpp
|
||||||
|
@@ -1253,6 +1253,8 @@
|
||||||
|
// usually do something reasonable on error.
|
||||||
|
case __NR_clone:
|
||||||
|
return ClonePolicy(Error(EPERM));
|
||||||
|
+ case __NR_fork:
|
||||||
|
+ return Error(ENOSYS);
|
||||||
|
|
||||||
|
# ifdef __NR_fadvise64
|
||||||
|
case __NR_fadvise64:
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
pkgname=firefox
|
pkgname=firefox
|
||||||
version=75.0
|
version=75.0
|
||||||
revision=1
|
revision=2
|
||||||
build_helper="rust"
|
build_helper="rust"
|
||||||
short_desc="Mozilla Firefox web browser"
|
short_desc="Mozilla Firefox web browser"
|
||||||
maintainer="Johannes <johannes.brechtmann@gmail.com>"
|
maintainer="Johannes <johannes.brechtmann@gmail.com>"
|
||||||
|
|
Loading…
Add table
Reference in a new issue