mirror of
https://github.com/QingdaoU/JudgeServer.git
synced 2025-11-04 14:50:01 +08:00
fix PHP client wrong java seccomp rule name
This commit is contained in:
parent
667eb96ff6
commit
7817ef9fe6
@ -59,7 +59,7 @@ return [
|
|||||||
],
|
],
|
||||||
'run' => [
|
'run' => [
|
||||||
'command' => '/usr/bin/java -cp {exe_dir} -Xss1M -XX:MaxPermSize=16M -XX:PermSize=8M -Xms16M -Xmx{max_memory}k -Djava.security.manager -Djava.security.policy==/etc/java_policy -Djava.awt.headless=true Main',
|
'command' => '/usr/bin/java -cp {exe_dir} -Xss1M -XX:MaxPermSize=16M -XX:PermSize=8M -Xms16M -Xmx{max_memory}k -Djava.security.manager -Djava.security.policy==/etc/java_policy -Djava.awt.headless=true Main',
|
||||||
'seccomp_rule' => 'general',
|
'seccomp_rule' => null,
|
||||||
'env' => array_merge(['MALLOC_ARENA_MAX=1'], $default_env)
|
'env' => array_merge(['MALLOC_ARENA_MAX=1'], $default_env)
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user