containerd/runtime/v2/shim
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
..
publisher.go shim: move event context timeout to publsher 2020-07-20 17:51:10 -07:00
shim_darwin.go Abstract to SocketAddress 2018-07-27 12:39:53 -04:00
shim_freebsd.go Fix freebsd build 2018-12-16 14:27:42 +00:00
shim_linux.go Integrate sys.SetSubreaper, sys.GetSubreaper in sys/reaper package 2020-05-04 08:44:02 +02:00
shim_test.go test: TestRuntimeWithEmptyMaxEnvProcs should cleanup 2020-04-23 22:09:10 +08:00
shim_unix.go Merge pull request from GHSA-36xw-fx78-c5r4 2020-11-30 10:32:18 -08:00
shim_windows.go Completely remove Windows v2 in-tree shim 2019-08-05 16:49:56 -07:00
shim.go Use path based unix socket for shims 2020-11-11 11:47:46 -08:00
util_unix.go Add bounds on max oom_score_adj value for AdjustOOMScore 2020-12-14 15:09:24 -05:00
util_windows.go Use path based unix socket for shims 2020-11-11 11:47:46 -08:00
util.go Use path based unix socket for shims 2020-11-11 11:47:46 -08:00