MCPcopy Create free account
hub / github.com/USBGuard/usbguard / loadIPCAccessControlFiles

Method loadIPCAccessControlFiles

src/Daemon/Daemon.cpp:428–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 2

loadFilesFunction · 0.85
filenameFromPathFunction · 0.85

Tested by

no test coverage detected