Home
last modified time | relevance | path

Searched refs:LOOKUP_SCOPE_USER (Results 1 – 25 of 26) sorted by relevance

12

/systemd-251/src/test/
Dtest-load-fragment.c105 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 …]
Dtest-path-lookup.c38 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()
Dtest-unit-serialize.c34 r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_MINIMAL, &m); in TEST()
Dtest-sched-prio.c33 r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m); in main()
Dtest-watch-pid.c29 assert_se(manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m) >= 0); in main()
Dtest-cgroup-unit-default.c29 r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m);
Dtest-specifier.c50 COMMON_CREDS_SPECIFIERS(LOOKUP_SCOPE_USER),
Dtest-socket-bind.c138 assert_se(manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m) >= 0); in main()
Dtest-cgroup-mask.c45 r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m);
Dtest-bpf-firewall.c100 assert_se(manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m) >= 0); in main()
Dtest-bpf-foreign-programs.c304 assert_se(manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m) >= 0); in main()
Dtest-path.c36 r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &tmp); in setup_test()
Dtest-execute.c1248 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()
Dtest-engine.c96 r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m); in main()
Dtest-unit-name.c280 r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_MINIMAL, &m);
/systemd-251/src/basic/
Dpath-lookup.c247 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()
Dpath-lookup.h18 LOOKUP_SCOPE_USER, enumerator
/systemd-251/src/shared/
Dspecifier.c327 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()
Dinstall.c977 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/
Dsd-path.c605 LOOKUP_SCOPE_SYSTEM : LOOKUP_SCOPE_USER; in get_search()
619 LOOKUP_SCOPE_SYSTEM : LOOKUP_SCOPE_USER; in get_search()
/systemd-251/src/analyze/
Danalyze.c358 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/
Dsystemctl-edit.c410 arg_scope == LOOKUP_SCOPE_USER ? " --user" : "", in find_paths_to_edit()
Dsystemctl.c619 arg_scope = LOOKUP_SCOPE_USER; in systemctl_parse_argv()
/systemd-251/src/core/
Dmain.c2905 r = manager_new(arg_system ? LOOKUP_SCOPE_SYSTEM : LOOKUP_SCOPE_USER, in main()
/systemd-251/src/tmpfiles/
Dtmpfiles.c2961 COMMON_CREDS_SPECIFIERS(arg_user ? LOOKUP_SCOPE_USER : LOOKUP_SCOPE_SYSTEM), in parse_line()

12