Searched refs:agent_pid (Results 1 - 3 of 3) sorted by relevance

/systemd/src/shared/
H A Dspawn-ask-password-agent.c29 static pid_t agent_pid = 0; variable
34 if (agent_pid > 0)
42 r = fork_agent(&agent_pid,
54 if (agent_pid <= 0)
58 (void) kill(agent_pid, SIGTERM);
59 (void) kill(agent_pid, SIGCONT);
60 (void) wait_for_terminate(agent_pid, NULL);
61 agent_pid = 0;
H A Dspawn-polkit-agent.c37 static pid_t agent_pid = 0; variable
44 if (agent_pid > 0)
57 r = fork_agent(&agent_pid,
78 if (agent_pid <= 0)
82 (void) kill(agent_pid, SIGTERM);
83 (void) kill(agent_pid, SIGCONT);
85 (void) wait_for_terminate(agent_pid, NULL);
86 agent_pid = 0;
/systemd/src/basic/
H A Dutil.c351 pid_t parent_pid, agent_pid; local
371 agent_pid = fork();
372 if (agent_pid < 0) {
377 if (agent_pid != 0) {
379 *pid = agent_pid;

Completed in 11 milliseconds