----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75099/ -----------------------------------------------------------
Review request for mesos and Benjamin Mahler. Repository: mesos Description ------- Currently, we can check if a device access would be granted by directly checking the allow and deny lists inside the device manager state for a cgroup. This patch adds a helper function to help the user inspect whether a device entry would be granted access without needing to know the implementation of the ebpf programs. Diffs ----- src/slave/containerizer/device_manager/device_manager.hpp PRE-CREATION src/slave/containerizer/device_manager/device_manager.cpp PRE-CREATION src/tests/device_manager_tests.cpp PRE-CREATION Diff: https://reviews.apache.org/r/75099/diff/1/ Testing ------- Added tests for DeviceManager::CgroupDeviceAccess::is_access_granted. Tests passed. Thanks, Jason Zhou
