Home
last modified time | relevance | path

Searched refs:SERVICE_EXEC_START (Results 1 – 9 of 9) sorted by relevance

/systemd-251/src/test/
Dtest-bpf-firewall.c144 …config_parse_exec(u->id, "filename", 1, "Service", 1, "ExecStart", SERVICE_EXEC_START, "/bin/ping … in main()
145 …config_parse_exec(u->id, "filename", 1, "Service", 1, "ExecStart", SERVICE_EXEC_START, "/bin/ping … in main()
147 assert_se(SERVICE(u)->exec_command[SERVICE_EXEC_START]); in main()
148 assert_se(SERVICE(u)->exec_command[SERVICE_EXEC_START]->command_next); in main()
149 assert_se(!SERVICE(u)->exec_command[SERVICE_EXEC_START]->command_next->command_next); in main()
187 assert_se(SERVICE(u)->exec_command[SERVICE_EXEC_START]->exec_status.code == CLD_EXITED && in main()
188 SERVICE(u)->exec_command[SERVICE_EXEC_START]->exec_status.status == EXIT_SUCCESS); in main()
190 …assert_se(SERVICE(u)->exec_command[SERVICE_EXEC_START]->command_next->exec_status.code != CLD_EXIT… in main()
191 … SERVICE(u)->exec_command[SERVICE_EXEC_START]->command_next->exec_status.status != EXIT_SUCCESS); in main()
202 …config_parse_exec(u->id, "filename", 1, "Service", 1, "ExecStart", SERVICE_EXEC_START, "-/bin/ping… in main()
[all …]
Dtest-bpf-lsm.c35 SERVICE_EXEC_START, exec_start, SERVICE(u)->exec_command, u); in test_restrict_filesystems()
52 cld_code = SERVICE(u)->exec_command[SERVICE_EXEC_START]->exec_status.code; in test_restrict_filesystems()
Dtest-socket-bind.c74 SERVICE_EXEC_START, exec_start, SERVICE(u)->exec_command, u); in test_socket_bind()
91 cld_code = SERVICE(u)->exec_command[SERVICE_EXEC_START]->exec_status.code; in test_socket_bind()
Dtest-bpf-foreign-programs.c239 SERVICE_EXEC_START, in test_bpf_cgroup_programs()
259 cld_code = SERVICE(u)->exec_command[SERVICE_EXEC_START]->exec_status.code; in test_bpf_cgroup_programs()
/systemd-251/src/core/
Dservice.c581 if (!s->exec_command[SERVICE_EXEC_START] && !s->exec_command[SERVICE_EXEC_STOP] && in service_verify()
589 if (s->type != SERVICE_ONESHOT && !s->exec_command[SERVICE_EXEC_START]) in service_verify()
592 …if (!s->remain_after_exit && !s->exec_command[SERVICE_EXEC_START] && UNIT(s)->success_action == EM… in service_verify()
595 if (s->type != SERVICE_ONESHOT && s->exec_command[SERVICE_EXEC_START]->command_next) in service_verify()
743 else if (s->exec_command[SERVICE_EXEC_START]) in service_add_extras()
2189 s->control_command_id = SERVICE_EXEC_START; in service_enter_start()
2190 c = s->control_command = s->exec_command[SERVICE_EXEC_START]; in service_enter_start()
2197 c = s->main_command = s->exec_command[SERVICE_EXEC_START]; in service_enter_start()
2441 assert(s->control_command_id != SERVICE_EXEC_START); in service_run_next_control()
2457 …(IN_SET(s->control_command_id, SERVICE_EXEC_START_PRE, SERVICE_EXEC_START) ? EXEC_SETENV_MONITOR_R… in service_run_next_control()
[all …]
Dservice.h48 SERVICE_EXEC_START, enumerator
Ddbus-service.c239 …BUS_EXEC_COMMAND_LIST_VTABLE("ExecStart", offsetof(Service, exec_command[SERVICE_EXEC_START]), SD_…
240 …_COMMAND_LIST_VTABLE("ExecStartEx", offsetof(Service, exec_command[SERVICE_EXEC_START]), SD_BUS_VT…
Dload-fragment-gperf.gperf.in384 … config_parse_exec, SERVICE_EXEC_START, …
Dsocket.c1433 c = SERVICE(service)->exec_command[SERVICE_EXEC_START]; in socket_determine_selinux_label()