| 426 | } |
| 427 | |
| 428 | void Daemon::loadIPCAccessControlFiles(const std::string& path) |
| 429 | { |
| 430 | USBGUARD_LOG(Info) << "Loading IPC access control files at " << path; |
| 431 | loadFiles(path, |
| 432 | [](const std::string& path, const struct dirent * dir_entry) { |
| 433 | (void)dir_entry; |
| 434 | return filenameFromPath(path, /*include_extension=*/true); |
| 435 | } |
| 436 | , |
| 437 | [this](const std::string& basename, const std::string& fullpath) { |
| 438 | return loadIPCAccessControlFile(basename, fullpath); |
| 439 | }); |
| 440 | } |
| 441 | |
| 442 | void Daemon::checkIPCAccessControlName(const std::string& name) |
| 443 | { |
nothing calls this directly
no test coverage detected