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

Method setImplicitPolicyTarget

src/Daemon/Daemon.cpp:508–513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506 }
507
508 void Daemon::setImplicitPolicyTarget(Rule::Target target)
509 {
510 USBGUARD_LOG(Debug) << "Setting ImplicitPolicyTarget to " << Rule::targetToString(target);
511 _implicit_policy_target = target;
512 _policy.setDefaultTarget(target);
513 }
514
515 void Daemon::setPresentDevicePolicyMethod(DevicePolicyMethod policy)
516 {

Callers

nothing calls this directly

Calls 1

setDefaultTargetMethod · 0.45

Tested by

no test coverage detected