Whether the installed memtrack binary already carries the required capabilities.
()
| 115 | |
| 116 | /// Whether the installed memtrack binary already carries the required capabilities. |
| 117 | pub fn has_memtrack_capabilities() -> bool { |
| 118 | memtrack_path().is_ok_and(|path| binary_has_capabilities(&path, memtrack_required_caps_mask())) |
| 119 | } |
| 120 | |
| 121 | /// Grant memtrack the capabilities it needs to run without sudo. |
| 122 | /// |
no test coverage detected