summaryrefslogtreecommitdiff
path: root/sys-apps/firejail/files/firejail-0.9.80-arg-env-maxes.patch
blob: 0a38915a5a17bb77a6668ec3f4f7463a80eb981e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/etc/firejail.config
+++ b/etc/firejail.config
@@ -14,6 +14,8 @@
 # This limit is intended to make stack smashing harder (see
 # https://github.com/netblue30/firejail/issues/4633).
 # arg-max-count 128
+## boost fails with: Error: too many arguments: argc (1354) >= arg-max-count ...
+arg-max-count 4096
 
 # Maximum length of each argument in the command line.
 # Example: `--foo=bar` has a length of 9.
@@ -52,6 +54,7 @@
 # This limit is intended to make stack smashing harder (see
 # https://github.com/netblue30/firejail/issues/4633).
 # env-max-count 256
+env-max-count 1024
 
 # Maximum length for each environment variable value.
 # Example: `FOO=barr` has a length of 4.