Searched defs:running_as (Results 1 - 5 of 5) sorted by relevance

/systemd/src/test/
H A Dtest-path-lookup.c29 static void test_paths(ManagerRunningAs running_as, bool personal) { argument
42 assert_se(lookup_paths_init(&lp_without_env, running_as, personal, NULL, exists, not, not) == 0);
50 assert_se(lookup_paths_init(&lp_with_env, running_as, personal, NULL, exists, not, not) == 0);
57 static void print_generator_paths(ManagerRunningAs running_as) { argument
61 log_info("Generators dirs (%s):", running_as == MANAGER_SYSTEM ? "system" : "user");
63 paths = generator_paths(running_as);
/systemd/src/shared/
H A Dpath-lookup.c223 char **generator_paths(ManagerRunningAs running_as) { argument
224 if (running_as == MANAGER_USER)
240 ManagerRunningAs running_as,
282 if (running_as == MANAGER_USER) {
341 if (running_as == MANAGER_SYSTEM) {
238 lookup_paths_init( LookupPaths *p, ManagerRunningAs running_as, bool personal, const char *root_dir, const char *generator, const char *generator_early, const char *generator_late) argument
/systemd/src/analyze/
H A Danalyze-verify.c234 int verify_units(char **filenames, ManagerRunningAs running_as, bool check_man) { argument
258 r = manager_new(running_as, true, &m);
/systemd/src/core/
H A Dmanager.h231 ManagerRunningAs running_as; member in struct:Manager
310 int manager_new(ManagerRunningAs running_as, bool test_run, Manager **m);
H A Dmanager.c494 if (m->running_as == MANAGER_SYSTEM)
521 if (m->running_as == MANAGER_SYSTEM) {
550 int manager_new(ManagerRunningAs running_as, bool test_run, Manager **_m) { argument
566 assert(running_as >= 0);
567 assert(running_as < _MANAGER_RUNNING_AS_MAX);
574 if (running_as == MANAGER_SYSTEM && detect_container() <= 0)
578 m->running_as = running_as;
585 m->unit_log_field = unit_log_fields[running_as];
586 m->unit_log_format_string = unit_log_format_strings[running_as];
[all...]

Completed in 28 milliseconds