projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0a8ea1
)
jail: increase max additional env records to 64
author
Daniel Golle
<
[email protected]
>
Tue, 13 Jul 2021 00:08:20 +0000
(
01:08
+0100)
committer
Daniel Golle
<
[email protected]
>
Thu, 15 Jul 2021 17:07:56 +0000
(18:07 +0100)
In the Docker world, people pass a lot of things using env variables
it turns out. Increase to 64 for now as a hot fix, will have to be
created dynamically in future to support unlimited number of env
variables.
Signed-off-by: Daniel Golle <
[email protected]
>
jail/jail.c
patch
|
blob
|
history
diff --git
a/jail/jail.c
b/jail/jail.c
index cf3127a1715d59678d492981f41fd4f1072b3312..b8878b5dab9c43d0e4fc4a57ed137a80caa0177c 100644
(file)
--- a/
jail/jail.c
+++ b/
jail/jail.c
@@
-891,7
+891,7
@@
static int apply_rlimits(void)
return 0;
}
-#define MAX_ENVP
16
+#define MAX_ENVP
64
static char** build_envp(const char *seccomp, char **ocienvp)
{
static char *envp[MAX_ENVP];