void-packages/srcpkgs/icecat/patches/sandbox-fork.patch
Jürgen Buchmüller f03f23a76e icecat: update to 78.4.0
Disable cross for now.

[ci skip]
2020-10-23 23:55:59 +02:00

13 lines
393 B
Diff

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: