Home
last modified time | relevance | path

Searched refs:GID_FMT (Results 1 – 25 of 34) sorted by relevance

12

/systemd-251/src/test/
Dtest-uid-alloc-range.c24 "SYS_GID_MIN "GID_FMT"\n" in test_read_login_defs_one()
25 "SYS_GID_MAX "GID_FMT"\n", in test_read_login_defs_one()
38 log_info("system_alloc_gid_min="GID_FMT, defs.system_alloc_gid_min); in test_read_login_defs_one()
39 log_info("system_gid_max="GID_FMT, defs.system_gid_max); in test_read_login_defs_one()
67 log_info("system_alloc_gid_min="GID_FMT, defs->system_alloc_gid_min); in TEST()
68 log_info("system_gid_max="GID_FMT, defs->system_gid_max); in TEST()
84 log_info("gid_is_system("GID_FMT") = %s", gid, yes_no(gid_is_system(gid))); in TEST()
87 log_info("gid_is_system("GID_FMT") = %s", gid, yes_no(gid_is_system(gid))); in TEST()
90 log_info("gid_is_system("GID_FMT") = %s", gid, yes_no(gid_is_system(gid))); in TEST()
Dtest-nss-users.c27 log_info(" \"%s\" / "UID_FMT":"GID_FMT, in print_struct_passwd()
38 log_info(" \"%s\" / "GID_FMT, in print_struct_group()
143 log_info("%s("GID_FMT") → status=%s%-20serrno=%d/%s", in test_getgrgid_r()
Dtest-user-util.c37 log_info("/* %s("GID_FMT", \"%s\") */", __func__, gid, name); in test_gid_to_name_one()
331 log_info("/* %s(\"%s\", \"%s\", "UID_FMT", "GID_FMT", \"%s\", \"%s\") */", in test_get_user_creds_one()
335 log_info_errno(r, "got \"%s\", "UID_FMT", "GID_FMT", \"%s\", \"%s\": %m", in test_get_user_creds_one()
360 log_info("/* %s(\"%s\", \"%s\", "GID_FMT") */", __func__, id, name, gid); in test_get_group_creds_one()
363 log_info_errno(r, "got \"%s\", "GID_FMT": %m", id, rgid); in test_get_group_creds_one()
Dtest-process-util.c88 log_info("PID"PID_FMT" GID: "GID_FMT, pid, g); in test_get_process_comm_one()
/systemd-251/src/shared/
Dclean-ipc.c70 …anf(line, "%*i %i %*o %*u " PID_FMT " " PID_FMT " %u " UID_FMT " " GID_FMT " " UID_FMT " " GID_FMT, in clean_sysvipc_shm()
132 if (sscanf(line, "%*i %i %*o %*u " UID_FMT " " GID_FMT " " UID_FMT " " GID_FMT, in clean_sysvipc_sem()
192 …nf(line, "%*i %i %*o %*u %*u " PID_FMT " " PID_FMT " " UID_FMT " " GID_FMT " " UID_FMT " " GID_FMT, in clean_sysvipc_msg()
Duser-record-show.c165 printf(" GID: " GID_FMT " (unresolvable: %m)\n", hr->gid); in user_record_show()
167 printf(" GID: " GID_FMT " (%s)\n", hr->gid, gr->group_name); in user_record_show()
169 printf(" GID: " GID_FMT "\n", hr->gid); in user_record_show()
171 printf(" GID: " GID_FMT "\n", (gid_t) hr->uid); in user_record_show()
524 printf(" GID: " GID_FMT "\n", gr->gid); in group_record_show()
Duserdb-dropin.c199 if (asprintf(&j, "%s/" GID_FMT ".group-privileged", d, gid) < 0) in load_group()
292 xsprintf(buf, GID_FMT ".group", gid); in dropin_group_record_by_gid()
/systemd-251/src/sysusers/
Dsysusers.c145 log_warning("login.defs specifies GID allocation range "GID_FMT"–"GID_FMT in maybe_emit_login_defs_warning()
146 " that is different than the built-in defaults ("GID_FMT"–"GID_FMT")", in maybe_emit_login_defs_warning()
700 … "%s: Detected collision for GID " GID_FMT ".", in write_temporary_group()
1157 …return log_error_errno(r, "Requested user %s with UID " UID_FMT " and gid" GID_FMT " to be created… in add_user()
1162 …g_error_errno(r, "Failed to store user %s with UID " UID_FMT " and GID " GID_FMT " to be created: … in add_user()
1166 log_info("Creating user '%s' (%s) with UID " UID_FMT " and GID " GID_FMT ".", in add_user()
1255 return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); in add_group()
1269 … log_info("Suggested group ID " GID_FMT " for %s already used.", i->gid, i->name); in add_group()
1278 return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); in add_group()
1292 … log_debug("Group ID " GID_FMT " of file not suitable for %s.", c, i->name); in add_group()
[all …]
/systemd-251/src/tmpfiles/
Dtest-offline-passwd.c34 log_info_errno(r, "name_to_gid_offline: %s → "GID_FMT": %m", name, gid); in test_resolve_one()
38 log_info_errno(r, "name_to_gid_offline: %s → "GID_FMT": %m", name, gid); in test_resolve_one()
/systemd-251/src/login/
Duser-runtime-dir.c79 … "mode=0700,uid=" UID_FMT ",gid=" GID_FMT ",size=%" PRIu64 ",nr_inodes=%" PRIu64 "%s", in user_mkdir_runtime_path()
162 log_debug("Will mount %s owned by "UID_FMT":"GID_FMT, runtime_path, uid, gid); in do_mount()
/systemd-251/src/libsystemd/sd-bus/
Dbus-dump.c384 fprintf(f, "%sGID=%s"GID_FMT"%s", prefix, color, c->gid, suffix); in bus_creds_dump()
386 fprintf(f, "%sEGID=%s"GID_FMT"%s", prefix, color, c->egid, suffix); in bus_creds_dump()
388 fprintf(f, "%sSGID=%s"GID_FMT"%s", prefix, color, c->sgid, suffix); in bus_creds_dump()
390 fprintf(f, "%sFSGID=%s"GID_FMT"%s", prefix, color, c->fsgid, suffix); in bus_creds_dump()
395 fprintf(f, "%s" GID_FMT, i > 0 ? " " : "", c->supplementary_gids[i]); in bus_creds_dump()
/systemd-251/src/machine/
Dmachined-varlink.c237 if (asprintf(&n, "vg-%s-" GID_FMT, machine->name, converted_gid) < 0) in group_lookup_gid()
243 if (asprintf(&d, "GID " GID_FMT " of Container %s", converted_gid, machine->name) < 0) in group_lookup_gid()
294 if (asprintf(&desc, "GID " GID_FMT " of Container %s", gid, machine->name) < 0) in group_lookup_name()
Dmachine.c713 k = fscanf(f, GID_FMT " " GID_FMT " " GID_FMT "\n", &gid_base, &gid_shift, &gid_range); in machine_get_uid_shift()
Dmachined-dbus.c964 … return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid group ID " GID_FMT, gid); in method_map_from_machine_group()
993 … return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid group ID " GID_FMT, gid); in method_map_to_machine_group()
995 …return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_GROUP_MAPPING, "Group " GID_FMT " belongs to hos… in method_map_to_machine_group()
1001 …or_setf(error, BUS_ERROR_NO_SUCH_GROUP_MAPPING, "No matching group mapping for " GID_FMT ".", gid); in method_map_to_machine_group()
/systemd-251/src/basic/
Dmkdir.c73 xsprintf(g, GID_FMT, gid); in mkdir_safe_internal()
75 …"Directory \"%s\" already exists, but is owned by "UID_FMT":"GID_FMT" (%s:%s was requested), refus… in mkdir_safe_internal()
Dformat-util.h19 #define GID_FMT "%" PRIu32 macro
Duser-util.c452 if (asprintf(&ret, GID_FMT, gid) < 0) in gid_to_name()
/systemd-251/src/udev/
Dudev-node.c628 … log_device_debug(dev, "Setting permissions %s, uid=" UID_FMT ", gid=" GID_FMT ", mode=%#o", in udev_node_apply_permissions_impl()
638 ", gid=" GID_FMT ", mode=%#o: %m", in udev_node_apply_permissions_impl()
644 … log_device_debug(dev, "Preserve permissions of %s, uid=" UID_FMT ", gid=" GID_FMT ", mode=%#o", in udev_node_apply_permissions_impl()
/systemd-251/src/core/
Dselinux-access.c59 xsprintf(gid_buf, GID_FMT, gid); in audit_callback()
Dexecute.c2143 GID_FMT " " GID_FMT " 1\n" /* Map $OGID → $OGID */ in setup_private_users()
2144 GID_FMT " " GID_FMT " 1\n", /* Map $GID → $GID */ in setup_private_users()
2148 GID_FMT " " GID_FMT " 1\n", /* Map $OGID -> $OGID */ in setup_private_users()
4290 …log_unit_error_errno(unit, SYNTHETIC_ERRNO(ESRCH), "GID validation failed for \""GID_FMT"\"", gid); in exec_child()
Dunit-serialize.c183 (void) serialize_item_format(f, "ref-gid", GID_FMT, u->ref_gid); in unit_serialize()
/systemd-251/src/home/
Dhomework-cifs.c81 …if (asprintf(&options, "credentials=%s,uid=" UID_FMT ",forceuid,gid=" GID_FMT ",forcegid,file_mode… in home_setup_cifs()
Dhomework-fscrypt.c340 … log_error_errno(errno, "Failed to change GID to " GID_FMT ": %m", gid); in home_setup_fscrypt()
/systemd-251/src/userdb/
Duserdbctl.c77 printf("%s:x:" UID_FMT ":" GID_FMT ":%s:%s:%s\n", in show_user()
485 printf("%s:x:" GID_FMT ":%s\n", in show_group()
/systemd-251/src/run/
Drun.c1496 … return log_error_errno(errno, "Failed to change GID to " GID_FMT ": %m", gid); in start_transient_scope()
1530 … return log_error_errno(errno, "Failed to change GID to " GID_FMT ": %m", gid); in start_transient_scope()

12