A simple Go program for launching Java programs from a fixed configuration. This program replaces Gradle-generated Bash launch scripts which are susceptible to attacks via injection of environment variables of the form JAVA_OPTS='$(rm -rf /)'.
Apache License 2.0
67
stars
27
forks
source link
Refactor cgroup parsing to be less CPU module specific #322
Previously, the cgroup parsing code had some bits specific to reading the cpu and cpu.shares information. We're going to need this for reading memory information as well, so should probably break it out into an interface.
Before this PR
Previously, the cgroup parsing code had some bits specific to reading the cpu and cpu.shares information. We're going to need this for reading memory information as well, so should probably break it out into an interface.