Home
last modified time | relevance | path

Searched refs:GID_INVALID (Results 1 – 25 of 56) sorted by relevance

123

/systemd-251/src/network/
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()
/systemd-251/src/notify/
Dnotify.c30 static gid_t arg_gid = GID_INVALID;
250 if (arg_gid != GID_INVALID && in run()
251 setregid(arg_gid, GID_INVALID) < 0) in run()
/systemd-251/src/shared/
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()
Dclean-ipc.c396 gid = GID_INVALID; in clean_ipc_internal()
447 return clean_ipc_internal(uid, GID_INVALID, true); in clean_ipc_by_uid()
Dswitch-root.c90 (void) base_filesystem_create(new_root, UID_INVALID, GID_INVALID); in switch_root()
Dmount-setup.c537 dev_setup(NULL, UID_INVALID, GID_INVALID); in mount_setup()
567 (void) make_inaccessible_nodes("/run/systemd", UID_INVALID, GID_INVALID); in mount_setup()
Duserdb-dropin.c275 return load_group(f, path, name, GID_INVALID, flags, ret); in dropin_group_record_by_name()
Dgroup-record.c19 .gid = GID_INVALID, in group_record_new()
/systemd-251/src/test/
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()
Dtest-user-util.c328 gid_t rgid = GID_INVALID; in test_get_user_creds_one()
357 gid_t rgid = GID_INVALID; in test_get_group_creds_one()
395 assert_se(in_gid(GID_INVALID) < 0); in TEST()
/systemd-251/src/core/
Ddynamic-user.c389 gid_t gid = GID_INVALID; /* a gid if is_user, ignored otherwise */ in dynamic_user_realize()
519 *ret_gid = gid != GID_INVALID ? gid : num; in dynamic_user_realize()
787 gid_t g = GID_INVALID; in dynamic_creds_realize()
Dcore-varlink.c368 .gid = GID_INVALID, in vl_method_get_group_record()
371 uid_t found_gid = GID_INVALID, gid; in vl_method_get_group_record()
Dtimer.c604 … touch_file(t->stamp_path, true, t->last_trigger.realtime, UID_INVALID, GID_INVALID, MODE_INVALID); in timer_enter_running()
654 … (void) touch_file(t->stamp_path, true, USEC_INFINITY, UID_INVALID, GID_INVALID, MODE_INVALID); in timer_start()
/systemd-251/src/tmpfiles/
Dtest-offline-passwd.c22 gid_t gid = GID_INVALID; in test_resolve_one()
/systemd-251/src/machine/
Dmachined-core.c103 *ret_internal_gid = GID_INVALID; in manager_find_machine_for_gid()
Dmachined-varlink.c315 .gid = GID_INVALID, in vl_method_get_group_record()
318 uid_t found_gid = GID_INVALID, gid; in vl_method_get_group_record()
/systemd-251/src/home/
Dhomed-manager-bus.c97 h->record ? (uint32_t) user_record_gid(h->record) : GID_INVALID, in method_get_home_by_name()
138 h->record ? (uint32_t) user_record_gid(h->record) : GID_INVALID, in method_get_home_by_uid()
178 h->record ? (uint32_t) user_record_gid(h->record) : GID_INVALID, in method_list_homes()
Dhomed-varlink.c200 .gid = GID_INVALID, in vl_method_get_group_record()
/systemd-251/src/basic/
Duser-util.h65 #define GID_INVALID ((gid_t) -1) macro
Dmkdir.c67 (gid != GID_INVALID && st.st_gid != gid)) { in mkdir_safe_internal()
Dfs-util.c233 (gid != GID_INVALID && st.st_gid != gid); in fchmod_and_chown_with_fallback()
402 return touch_file(path, false, USEC_INFINITY, UID_INVALID, GID_INVALID, MODE_INVALID); in touch()
Dsocket-util.h334 #define UCRED_INVALID { .pid = 0, .uid = UID_INVALID, .gid = GID_INVALID }
/systemd-251/src/journal/
Djournald-context.c123 .gid = GID_INVALID, in client_context_new()
150 c->gid = GID_INVALID; in client_context_reset()
/systemd-251/src/dissect/
Ddissect.c795 …= copy_tree_at(source_fd, ".", dfd, basename(arg_target), UID_INVALID, GID_INVALID, COPY_REFLINK|C… 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/libsystemd/sd-device/
Ddevice-private.c179 if (device->devgid == GID_INVALID) in device_get_devnode_gid()
935 return touch_file(path, true, USEC_INFINITY, UID_INVALID, GID_INVALID, 0444); in device_tag()

123