/systemd-251/src/test/ |
D | test-load-fragment.c | 105 r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_MINIMAL, &m); in TEST() 464 r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_MINIMAL, &m); in TEST() 566 expect(LOOKUP_SCOPE_USER, i2, "%g", group); 567 expect(LOOKUP_SCOPE_USER, i2, "%G", gid); 568 expect(LOOKUP_SCOPE_USER, i2, "%u", user); 569 expect(LOOKUP_SCOPE_USER, i2, "%U", uid); 584 expect(LOOKUP_SCOPE_USER, i3, "%g", group); 585 expect(LOOKUP_SCOPE_USER, i3, "%G", gid); 586 expect(LOOKUP_SCOPE_USER, i3, "%u", user); 587 expect(LOOKUP_SCOPE_USER, i3, "%U", uid); [all …]
|
D | test-path-lookup.c | 38 test_paths_one(LOOKUP_SCOPE_USER); in TEST() 52 assert_se(lookup_paths_init(&lp_user, LOOKUP_SCOPE_USER, 0, NULL) == 0); in TEST() 123 test_generator_binary_paths_one(LOOKUP_SCOPE_USER); in TEST()
|
D | test-unit-serialize.c | 34 r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_MINIMAL, &m); in TEST()
|
D | test-sched-prio.c | 33 r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m); in main()
|
D | test-watch-pid.c | 29 assert_se(manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m) >= 0); in main()
|
D | test-cgroup-unit-default.c | 29 r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m);
|
D | test-specifier.c | 50 COMMON_CREDS_SPECIFIERS(LOOKUP_SCOPE_USER),
|
D | test-socket-bind.c | 138 assert_se(manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m) >= 0); in main()
|
D | test-cgroup-mask.c | 45 r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m);
|
D | test-bpf-firewall.c | 100 assert_se(manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m) >= 0); in main()
|
D | test-bpf-foreign-programs.c | 304 assert_se(manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m) >= 0); in main()
|
D | test-path.c | 36 r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &tmp); in setup_test()
|
D | test-execute.c | 1248 r = run_tests(LOOKUP_SCOPE_USER, user_tests, argv + 1); in main() 1274 r = run_tests(LOOKUP_SCOPE_USER, user_tests, argv + 1); in main()
|
D | test-engine.c | 96 r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m); in main()
|
D | test-unit-name.c | 280 r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_MINIMAL, &m);
|
/systemd-251/src/basic/ |
D | path-lookup.c | 247 assert(IN_SET(scope, LOOKUP_SCOPE_SYSTEM, LOOKUP_SCOPE_USER, LOOKUP_SCOPE_GLOBAL)); in acquire_generator_dirs() 298 assert(IN_SET(scope, LOOKUP_SCOPE_SYSTEM, LOOKUP_SCOPE_USER, LOOKUP_SCOPE_GLOBAL)); in acquire_transient_dir() 335 case LOOKUP_SCOPE_USER: in acquire_config_dirs() 392 case LOOKUP_SCOPE_USER: in acquire_control_dirs() 538 if (scope == LOOKUP_SCOPE_USER) in lookup_paths_init() 563 if (scope == LOOKUP_SCOPE_USER) { in lookup_paths_init() 655 case LOOKUP_SCOPE_USER: in lookup_paths_init() 816 case LOOKUP_SCOPE_USER: in generator_binary_paths()
|
D | path-lookup.h | 18 LOOKUP_SCOPE_USER, enumerator
|
/systemd-251/src/shared/ |
D | specifier.c | 327 t = gid_to_name(scope == LOOKUP_SCOPE_USER ? getgid() : 0); in specifier_group_name() 344 gid = scope == LOOKUP_SCOPE_USER ? getgid() : 0; in specifier_group_id() 362 uid = scope == LOOKUP_SCOPE_USER ? getuid() : 0; in specifier_user_name() 388 uid = scope == LOOKUP_SCOPE_USER ? getuid() : 0; in specifier_user_id()
|
D | install.c | 977 if (scope == LOOKUP_SCOPE_USER && path_is_user_config_dir(*p)) { in find_symlinks_in_scope() 3131 else if (IN_SET(scope, LOOKUP_SCOPE_GLOBAL, LOOKUP_SCOPE_USER)) in presets_find_config()
|
/systemd-251/src/libsystemd/sd-path/ |
D | sd-path.c | 605 LOOKUP_SCOPE_SYSTEM : LOOKUP_SCOPE_USER; in get_search() 619 LOOKUP_SCOPE_SYSTEM : LOOKUP_SCOPE_USER; in get_search()
|
/systemd-251/src/analyze/ |
D | analyze.c | 358 arg_scope = LOOKUP_SCOPE_USER; in parse_argv() 508 if (streq_ptr(argv[optind], "cat-config") && arg_scope == LOOKUP_SCOPE_USER) in parse_argv()
|
/systemd-251/src/systemctl/ |
D | systemctl-edit.c | 410 arg_scope == LOOKUP_SCOPE_USER ? " --user" : "", in find_paths_to_edit()
|
D | systemctl.c | 619 arg_scope = LOOKUP_SCOPE_USER; in systemctl_parse_argv()
|
/systemd-251/src/core/ |
D | main.c | 2905 r = manager_new(arg_system ? LOOKUP_SCOPE_SYSTEM : LOOKUP_SCOPE_USER, in main()
|
/systemd-251/src/tmpfiles/ |
D | tmpfiles.c | 2961 COMMON_CREDS_SPECIFIERS(arg_user ? LOOKUP_SCOPE_USER : LOOKUP_SCOPE_SYSTEM), in parse_line()
|