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

Method FileRuleSet

src/Daemon/FileRuleSet.cpp:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33{
34
35 FileRuleSet::FileRuleSet(Interface* const interface_ptr, std::string const path)
36 : RuleSet(interface_ptr),
37 _rulesPath(path)
38 {
39 setWritable();
40 USBGUARD_LOG(Info) << "Creating FileRuleSet";
41 }
42
43 FileRuleSet::FileRuleSet(const FileRuleSet& rhs)
44 : RuleSet(rhs._interface_ptr)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected