-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75099/
-----------------------------------------------------------

(Updated July 23, 2024, 2:20 p.m.)


Review request for mesos and Benjamin Mahler.


Changes
-------

changes from rebase


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 
a6e87dd54cdb115a583dc288ae9ec03c190094ca 
  src/slave/containerizer/device_manager/device_manager.cpp 
a392000ea08c997364e8d59429e0f3a24aa67b39 
  src/tests/device_manager_tests.cpp 398846bdd66fa2c78827fb8e25f1312545cc65a2 


Diff: https://reviews.apache.org/r/75099/diff/2/

Changes: https://reviews.apache.org/r/75099/diff/1-2/


Testing
-------

Added tests for DeviceManager::CgroupDeviceAccess::is_access_granted. Tests 
passed.


Thanks,

Jason Zhou

Reply via email to