runc/libcontainer/integration
Aleksa Sarai fd3a6e6c83
libcontainer: handle unset oomScoreAdj corectly
Previously if oomScoreAdj was not set in config.json we would implicitly
set oom_score_adj to 0. This is not allowed according to the spec:

> If oomScoreAdj is not set, the runtime MUST NOT change the value of
> oom_score_adj.

Change this so that we do not modify oom_score_adj if oomScoreAdj is not
present in the configuration. While this modifies our internal
configuration types, the on-disk format is still compatible.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
2018-03-17 13:53:42 +11:00
..
checkpoint_test.go libcontainer/system/proc: Add Stat_t.State 2017-06-20 16:26:55 -07:00
doc.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
exec_test.go libcontainer: handle unset oomScoreAdj corectly 2018-03-17 13:53:42 +11:00
execin_test.go libcontainer: handle unset oomScoreAdj corectly 2018-03-17 13:53:42 +11:00
init_test.go Updated logrus to v1 2017-07-19 15:20:56 +00:00
seccomp_test.go Fix breaking change in Seccomp profile behavior 2017-10-18 11:53:56 -04:00
template_test.go Move libcontainer to x/sys/unix 2017-05-22 17:35:20 -05:00
utils_test.go libcontainer: handle unset oomScoreAdj corectly 2018-03-17 13:53:42 +11:00