Home
last modified time | relevance | path

Searched refs:UID_INVALID (Results 1 – 25 of 95) sorted by relevance

1234

/systemd-251/src/shared/
Dmkdir-label.c32 return mkdir_parents_internal(NULL, path, mode, UID_INVALID, UID_INVALID, 0, mkdirat_label); in mkdir_parents_label()
36 return mkdir_p_internal(NULL, path, mode, UID_INVALID, UID_INVALID, 0, mkdirat_label); in mkdir_p_label()
Ddev-setup.c52 if (uid != UID_INVALID || gid != GID_INVALID) in dev_setup()
113 if (uid != UID_INVALID || gid != GID_INVALID) { in make_inaccessible_nodes()
Duid-range.c150 uid_t closest = UID_INVALID, candidate; in uid_range_next_lower()
175 if (closest == UID_INVALID) in uid_range_next_lower()
Dclean-ipc.c390 uid = UID_INVALID; in clean_ipc_internal()
451 return clean_ipc_internal(UID_INVALID, gid, true); in clean_ipc_by_gid()
/systemd-251/src/basic/
Dmkdir.c66 if ((uid != UID_INVALID && st.st_uid != uid) || in mkdir_safe_internal()
70 if (uid != UID_INVALID) in mkdir_safe_internal()
72 if (gid != UID_INVALID) in mkdir_safe_internal()
154 …return mkdir_parents_internal(NULL, path, mode, UID_INVALID, UID_INVALID, 0, mkdirat_errno_wrapper… in mkdir_parents()
186 … return mkdir_p_internal(NULL, path, mode, UID_INVALID, UID_INVALID, 0, mkdirat_errno_wrapper); in mkdir_p()
/systemd-251/src/network/
Dnetworkd-link-bus.c106 NULL, true, UID_INVALID, in bus_link_method_set_ntp_servers()
142 NULL, true, UID_INVALID, in bus_link_method_set_dns_servers_internal()
241 NULL, true, UID_INVALID, in bus_link_method_set_domains()
278 NULL, true, UID_INVALID, in bus_link_method_set_default_route()
324 NULL, true, UID_INVALID, in bus_link_method_set_llmnr()
370 NULL, true, UID_INVALID, in bus_link_method_set_mdns()
416 NULL, true, UID_INVALID, in bus_link_method_set_dns_over_tls()
462 NULL, true, UID_INVALID, in bus_link_method_set_dnssec()
518 NULL, true, UID_INVALID, in bus_link_method_set_dnssec_negative_trust_anchors()
549 NULL, true, UID_INVALID, in bus_link_method_revert_ntp()
[all …]
Dnetworkd.c72 … r = mkdir_safe_label("/run/systemd/netif/links", 0755, UID_INVALID, GID_INVALID, MKDIR_WARN_MODE); in run()
76 …r = mkdir_safe_label("/run/systemd/netif/leases", 0755, UID_INVALID, GID_INVALID, MKDIR_WARN_MODE); in run()
80 … r = mkdir_safe_label("/run/systemd/netif/lldp", 0755, UID_INVALID, GID_INVALID, MKDIR_WARN_MODE); in run()
Dnetworkd-routing-policy-rule.c75 .uid_range.start = UID_INVALID, in routing_policy_rule_new()
76 .uid_range.end = UID_INVALID, in routing_policy_rule_new()
535 if (rule->uid_range.start != UID_INVALID && rule->uid_range.end != UID_INVALID) { in routing_policy_rule_set_netlink_message()
857 …ABLE_LOCAL, .type = FR_ACT_TO_TBL, .uid_range.start = UID_INVALID, .uid_range.end = UID_INVALID,…
858 …ABLE_MAIN, .type = FR_ACT_TO_TBL, .uid_range.start = UID_INVALID, .uid_range.end = UID_INVALID,…
859 …ABLE_DEFAULT, .type = FR_ACT_TO_TBL, .uid_range.start = UID_INVALID, .uid_range.end = UID_INVALID,…
860 …ABLE_LOCAL, .type = FR_ACT_TO_TBL, .uid_range.start = UID_INVALID, .uid_range.end = UID_INVALID,…
861 …ABLE_MAIN, .type = FR_ACT_TO_TBL, .uid_range.start = UID_INVALID, .uid_range.end = UID_INVALID,…
/systemd-251/src/resolve/
Dresolved-link-bus.c274 NULL, true, UID_INVALID, in bus_link_method_set_dns_servers_internal()
407 NULL, true, UID_INVALID, in bus_link_method_set_domains()
486 NULL, true, UID_INVALID, in bus_link_method_set_default_route()
534 NULL, true, UID_INVALID, in bus_link_method_set_llmnr()
583 NULL, true, UID_INVALID, in bus_link_method_set_mdns()
632 NULL, true, UID_INVALID, in bus_link_method_set_dns_over_tls()
681 NULL, true, UID_INVALID, in bus_link_method_set_dnssec()
743 NULL, true, UID_INVALID, in bus_link_method_set_dnssec_negative_trust_anchors()
780 NULL, true, UID_INVALID, in bus_link_method_revert()
/systemd-251/src/notify/
Dnotify.c29 static uid_t arg_uid = UID_INVALID;
254 if (arg_uid != UID_INVALID && in run()
255 setreuid(arg_uid, UID_INVALID) < 0) in run()
/systemd-251/src/test/
Dtest-loop-block.c87 … r = dissected_image_mount(dissected, mounted, UID_INVALID, UID_INVALID, DISSECT_IMAGE_READ_ONLY); in thread_func()
266 assert_se(dissected_image_mount(dissected, mounted, UID_INVALID, UID_INVALID, 0) >= 0); in run()
Dtest-copy.c131 …assert_se(copy_tree(original_dir, copy_dir, UID_INVALID, GID_INVALID, COPY_REFLINK|COPY_MERGE|COPY… in TEST()
183 assert_se(copy_tree(original_dir, copy_dir, UID_INVALID, GID_INVALID, COPY_REFLINK) < 0); in TEST()
184 …assert_se(copy_tree("/tmp/inexistent/foo/bar/fsdoi", copy_dir, UID_INVALID, GID_INVALID, COPY_REFL… in TEST()
/systemd-251/src/machine/
Dimage-dbus.c58 UID_INVALID, in bus_image_method_remove()
130 UID_INVALID, in bus_image_method_rename()
184 UID_INVALID, in bus_image_method_clone()
251 UID_INVALID, in bus_image_method_mark_read_only()
296 UID_INVALID, in bus_image_method_set_limit()
Dmachine-dbus.c88 UID_INVALID, in bus_machine_method_unregister()
122 UID_INVALID, in bus_machine_method_terminate()
174 UID_INVALID, in bus_machine_method_kill()
471 UID_INVALID, in bus_machine_method_open_pty()
564 UID_INVALID, in bus_machine_method_open_login()
675 UID_INVALID, in bus_machine_method_open_shell()
881 UID_INVALID, in bus_machine_method_bind_mount()
953 UID_INVALID, in bus_machine_method_copy()
1020 …ntainerfd, container_basename, hostfd, host_basename, uid_shift == 0 ? UID_INVALID : 0, uid_shift … in bus_machine_method_copy()
1022 …stfd, host_basename, containerfd, container_basename, uid_shift == 0 ? UID_INVALID : uid_shift, ui… in bus_machine_method_copy()
[all …]
/systemd-251/src/journal/
Djournald-context.c122 .uid = UID_INVALID, in client_context_new()
125 .loginuid = UID_INVALID, in client_context_new()
126 .owner_uid = UID_INVALID, in client_context_new()
149 c->uid = UID_INVALID; in client_context_reset()
158 c->loginuid = UID_INVALID; in client_context_reset()
162 c->owner_uid = UID_INVALID; in client_context_reset()
302 c->owner_uid = UID_INVALID; in client_context_read_cgroup()
/systemd-251/src/libsystemd/sd-login/
Dtest-login.c48 uid_t u, u2 = UID_INVALID; in TEST()
76 if (u2 == UID_INVALID) in TEST()
89 if (u2 == UID_INVALID) in TEST()
103 if (u2 == UID_INVALID) in TEST()
/systemd-251/src/nspawn/
Dnspawn-settings.c39 .uid_shift = UID_INVALID, in settings_new()
40 .uid_range = UID_INVALID, in settings_new()
52 .uid = UID_INVALID, in settings_new()
614 settings->uid_shift = UID_INVALID; in config_parse_private_users()
619 settings->uid_shift = UID_INVALID; in config_parse_private_users()
624 settings->uid_shift = UID_INVALID; in config_parse_private_users()
Dnspawn-mount.c392 if (uid_shift != UID_INVALID) in tmpfs_patch_options()
606 uid_t u = (use_userns && !in_userns) ? uid_shift : UID_INVALID; in mount_all()
804 …r = tmpfs_patch_options(m->options, uid_shift == 0 ? UID_INVALID : uid_shift, selinux_apifs_contex… in mount_tmpfs()
1002 …r = tmpfs_patch_options(options, uid_shift == 0 ? UID_INVALID : uid_shift, selinux_apifs_context, … in setup_volatile_state()
1046 …r = tmpfs_patch_options(options, uid_shift == 0 ? UID_INVALID : uid_shift, selinux_apifs_context, … in setup_volatile_yes()
1113 …r = tmpfs_patch_options(options, uid_shift == 0 ? UID_INVALID : uid_shift, selinux_apifs_context, … in setup_volatile_overlay()
/systemd-251/src/dissect/
Ddissect.c637 r = dissected_image_mount_and_warn(m, arg_path, UID_INVALID, UID_INVALID, arg_flags); in action_mount()
687 r = dissected_image_mount_and_warn(m, created_dir, UID_INVALID, UID_INVALID, arg_flags); in action_copy()
795 …r = copy_tree_at(source_fd, ".", dfd, basename(arg_target), UID_INVALID, GID_INVALID, COPY_REFLINK… in action_copy()
797 …r = copy_tree_at(source_fd, ".", target_fd, ".", UID_INVALID, GID_INVALID, COPY_REFLINK|COPY_REPLA… in action_copy()
/systemd-251/src/login/
Dlogind-dbus.c495 r = manager_get_user_from_creds(m, message, UID_INVALID, error, &user); in method_get_user_by_pid()
1121 UID_INVALID, in method_lock_sessions()
1282 UID_INVALID, in method_set_user_linger()
1450 UID_INVALID, in method_attach_device()
1482 UID_INVALID, in method_flush_devices()
1801 UID_INVALID, in verify_shutdown_creds()
1821 UID_INVALID, in verify_shutdown_creds()
1836 UID_INVALID, in verify_shutdown_creds()
2171 m->scheduled_shutdown_uid = UID_INVALID; in reset_scheduled_shutdown()
2337 UID_INVALID, in method_cancel_scheduled_shutdown()
[all …]
Dlogind-polkit.c16 UID_INVALID, in check_polkit_chvt()
/systemd-251/src/home/
Dhomed-home-bus.c216 UID_INVALID, in bus_home_method_unregister()
257 UID_INVALID, in bus_home_method_realize()
298 UID_INVALID, in bus_home_method_remove()
412 UID_INVALID, in bus_home_method_update_record()
480 UID_INVALID, in bus_home_method_resize()
/systemd-251/src/core/
Ddynamic-user.c322 uid_t uid = UID_INVALID; in dynamic_user_pop()
388 uid_t num = UID_INVALID; /* a uid if is_user, and a gid otherwise */ in dynamic_user_realize()
455 if (num == UID_INVALID) { in dynamic_user_realize()
786 uid_t u = UID_INVALID; in dynamic_creds_realize()
/systemd-251/src/hostname/
Dhostnamed.c881 UID_INVALID, in method_set_hostname()
929 UID_INVALID, in method_set_static_hostname()
1009 UID_INVALID, in set_machine_info()
1088 UID_INVALID, in method_get_product_uuid()
1134 UID_INVALID, in method_get_hardware_serial()
1177 UID_INVALID, in method_describe()
/systemd-251/src/import/
Dimportd.c704 UID_INVALID, in method_import_tar_or_raw()
776 UID_INVALID, in method_import_fs()
845 UID_INVALID, in method_export_tar_or_raw()
919 UID_INVALID, in method_pull_tar_or_raw()
1041 UID_INVALID, in method_cancel()
1071 UID_INVALID, in method_cancel_transfer()

1234