runc/libcontainer/integration
Aleksa Sarai b2bec9806f
cgroup: devices: eradicate the Allow/Deny lists
These lists have been in the codebase for a very long time, and have
been unused for a large portion of that time -- specconv doesn't
generate them and the only user of these flags has been tests (which
doesn't inspire much confidence).

In addition, we had an incorrect implementation of a white-list policy.
This wasn't exploitable because all of our users explicitly specify
"deny all" as the first rule, but it was a pretty glaring issue that
came from the "feature" that users can select whether they prefer a
white- or black- list. Fix this by always writing a deny-all rule (which
is what our users were doing anyway, to work around this bug).

This is one of many changes needed to clean up the devices cgroup code.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
2020-05-13 17:38:45 +10:00
..
checkpoint_test.go libcontainer/integration/checkpoint_test: simplify 2020-04-23 15:22:32 -07:00
doc.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
exec_test.go systemd: Export IsSystemdRunning() function 2020-03-30 15:24:06 -07:00
execin_test.go Fix race in runc exec 2018-06-01 16:25:58 -07:00
init_test.go integration: fix mis-use of libcontainer.Factory 2019-01-24 23:12:48 +13:00
seccomp_test.go Fix race in runc exec 2018-06-01 16:25:58 -07:00
template_test.go cgroup: devices: eradicate the Allow/Deny lists 2020-05-13 17:38:45 +10:00
utils_test.go integration: fix mis-use of libcontainer.Factory 2019-01-24 23:12:48 +13:00