| 552 | } cli_activation_scope_t; |
| 553 | |
| 554 | static void cli_activation_log_guard_decision(const cli_activation_production_context_t *context, |
| 555 | const char *decision, const char *active_cache) { |
| 556 | char clients[32]; |
| 557 | (void)snprintf(clients, sizeof(clients), "%llu", |
| 558 | (unsigned long long)context->daemon_result.active_clients); |
| 559 | const char *scope = cbm_daemon_ipc_endpoint_runtime_dir(context->endpoint); |
| 560 | cbm_log_info("activation.guard", "scope", scope ? scope : "", "cache", |
| 561 | context->cache_fingerprint, "clients", clients, "decision", decision, |
| 562 | "active_cache", active_cache ? active_cache : ""); |
| 563 | } |
| 564 | |
| 565 | /* Whose sessions does this activation have to stop? The rendezvous directory |
| 566 | * is per OS account (service.h), so the host daemon of another HOME / |
no test coverage detected