----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75099/ -----------------------------------------------------------
(Updated July 24, 2024, 9:46 p.m.) 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 (updated) ----- src/slave/containerizer/device_manager/device_manager.hpp 7c8523d8bdddb8e95c47e1812b48520296680ad6 src/slave/containerizer/device_manager/device_manager.cpp 4c9b86393f0809e08d79b6354940826bd56116f2 src/tests/device_manager_tests.cpp 54d464e97c8fd179128239a6757b16dfa0147c54 Diff: https://reviews.apache.org/r/75099/diff/4/ Changes: https://reviews.apache.org/r/75099/diff/3-4/ Testing ------- Added tests for DeviceManager::CgroupDeviceAccess::is_access_granted. Tests passed. Thanks, Jason Zhou
