containerd/runtime/v1
Simon Kaegi da2fd657ab Add bounds on max oom_score_adj value for AdjustOOMScore
oom_score_adj must be in the range -1000 to 1000. In AdjustOOMScore if containerd's score is already at the maximum value we should set that value for the shim instead of trying to set 1001 which is invalid.

Signed-off-by: Simon Kaegi <simon_kaegi@ca.ibm.com>
2020-12-14 15:09:24 -05:00
..
linux Merge pull request from GHSA-36xw-fx78-c5r4 2020-11-30 10:32:18 -08:00
shim Add bounds on max oom_score_adj value for AdjustOOMScore 2020-12-14 15:09:24 -05:00
shim.go Use context.Background for O_NONBLOCK OpenFifo. 2019-01-23 10:18:54 -08:00