One status request. A failed request still reports the PID of a live but * mute endpoint holder, which is what tells slow apart from gone. */
| 1914 | /* One status request. A failed request still reports the PID of a live but |
| 1915 | * mute endpoint holder, which is what tells slow apart from gone. */ |
| 1916 | static cli_scope_attempt_t cli_scope_status_attempt(void *context) { |
| 1917 | cli_scope_status_probe_t *probe = context; |
| 1918 | memset(&probe->status, 0, sizeof(probe->status)); |
| 1919 | if (cbm_daemon_runtime_request_status(probe->fixture->endpoint, &probe->fixture->identity, |
| 1920 | CLI_SCOPE_TIMEOUT_MS, &probe->status)) { |
| 1921 | return CLI_SCOPE_ANSWERED; |
| 1922 | } |
| 1923 | return probe->status.muted_endpoint_holder_pid != 0 ? CLI_SCOPE_MUTE : CLI_SCOPE_REFUSED; |
| 1924 | } |
| 1925 | |
| 1926 | /* Ask the host daemon itself: still running, not stopping, and the parent's |
| 1927 | * committed client still admitted. A foreign-namespace install leaves this |
nothing calls this directly
no test coverage detected