moby/rootless
Akihiro Suda d22dde8eb1
rootless: fix getCurrentOOMScoreAdj
`getCurrentOOMScoreAdj()` was broken because `strconv.Atoi()` was called
without trimming "\n".

Fix issue 40068: `rootless docker in kubernetes: "getting the final child's pid from
pipe caused \"EOF\": unknown"

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
(cherry picked from commit d6ddfb6118)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-01 12:11:27 +02:00
..
specconv rootless: fix getCurrentOOMScoreAdj 2021-04-01 12:11:27 +02:00
rootless.go dockerd: fix rootless detection (alternative to #39024) 2019-04-25 16:47:01 +09:00