History log of /systemd/src/libsystemd/sd-device/device-enumerator.c
Revision Date Author Comments Expand
4afd3348c7506dd1d36305b7bcb9feb8952b9d6b 27-Nov-2015 Lennart Poettering <lennart@poettering.net>

tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy GLIB has recently started to officially support the gcc cleanup attribute in its public API, hence let's do the same for our APIs. With this patch we'll define an xyz_unrefp() call for each public xyz_unref() call, to make it easy to use inside a __attribute__((cleanup())) expression. Then, all code is ported over to make use of this. The new calls are also documented in the man pages, with examples how to use them (well, I only added docs where the _unref() call itself already had docs, and the examples, only cover sd_bus_unrefp() and sd_event_unrefp()). This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we tend to call our destructors these days. Note that this defines no public macro that wraps gcc's attribute and makes it easier to use. While I think it's our duty in the library to make our stuff easy to use, I figure it's not our duty to make gcc's own features easy to use on its own. Most likely, client code which wants to make use of this should define its own: #define _cleanup_(function) __attribute__((cleanup(function))) Or similar, to make the gcc feature easier to use. Making this logic public has the benefit that we can remove three header files whose only purpose was to define these functions internally. See #2008.

/systemd/Makefile-man.am /systemd/Makefile.am /systemd/man/sd_bus_creds_new_from_pid.xml /systemd/man/sd_bus_new.xml /systemd/man/sd_event_new.xml /systemd/man/sd_event_source_unref.xml /systemd/man/sd_login_monitor_new.xml /systemd/src/analyze/analyze-verify.c /systemd/src/analyze/analyze.c /systemd/src/bus-proxyd/driver.c /systemd/src/bus-proxyd/proxy.c /systemd/src/bus-proxyd/stdio-bridge.c /systemd/src/bus-proxyd/synthesize.c /systemd/src/cgls/cgls.c /systemd/src/cgroups-agent/cgroups-agent.c /systemd/src/cgtop/cgtop.c /systemd/src/core/automount.c /systemd/src/core/busname.c /systemd/src/core/dbus-job.c /systemd/src/core/dbus-manager.c /systemd/src/core/dbus-scope.c /systemd/src/core/dbus-unit.c /systemd/src/core/dbus.c /systemd/src/core/load-fragment.c /systemd/src/core/loopback-setup.c /systemd/src/core/main.c /systemd/src/core/manager.c /systemd/src/core/path.c /systemd/src/core/selinux-access.c /systemd/src/core/service.c /systemd/src/core/socket.c /systemd/src/core/timer.c /systemd/src/core/unit.c /systemd/src/cryptsetup/cryptsetup.c /systemd/src/fsck/fsck.c /systemd/src/hostname/hostnamectl.c /systemd/src/hostname/hostnamed.c /systemd/src/hwdb/hwdb.c /systemd/src/import/export.c /systemd/src/import/import.c /systemd/src/import/importd.c /systemd/src/import/pull.c /systemd/src/initctl/initctl.c /systemd/src/journal-remote/journal-gatewayd.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/journal-internal.h /systemd/src/journal/journalctl.c /systemd/src/journal/test-journal-enum.c /systemd/src/journal/test-journal-match.c /systemd/src/journal/test-journal-stream.c /systemd/src/libsystemd-network/dhcp-internal.h /systemd/src/libsystemd-network/dhcp-lease-internal.h /systemd/src/libsystemd-network/dhcp-server-internal.h /systemd/src/libsystemd-network/dhcp6-lease-internal.h /systemd/src/libsystemd-network/lldp-internal.c /systemd/src/libsystemd-network/lldp-tlv.h /systemd/src/libsystemd-network/lldp-util.h /systemd/src/libsystemd-network/sd-dhcp-client.c /systemd/src/libsystemd-network/sd-dhcp-lease.c /systemd/src/libsystemd-network/sd-dhcp-server.c /systemd/src/libsystemd-network/sd-dhcp6-client.c /systemd/src/libsystemd-network/sd-ipv4acd.c /systemd/src/libsystemd-network/sd-ipv4ll.c /systemd/src/libsystemd-network/sd-lldp.c /systemd/src/libsystemd-network/sd-ndisc.c /systemd/src/libsystemd-network/test-acd.c /systemd/src/libsystemd-network/test-dhcp-client.c /systemd/src/libsystemd-network/test-dhcp-server.c /systemd/src/libsystemd-network/test-dhcp6-client.c /systemd/src/libsystemd-network/test-ipv4ll-manual.c /systemd/src/libsystemd-network/test-ipv4ll.c /systemd/src/libsystemd-network/test-lldp.c /systemd/src/libsystemd/sd-bus/bus-control.c /systemd/src/libsystemd/sd-bus/bus-convenience.c /systemd/src/libsystemd/sd-bus/bus-creds.c /systemd/src/libsystemd/sd-bus/bus-internal.h /systemd/src/libsystemd/sd-bus/bus-kernel.c /systemd/src/libsystemd/sd-bus/bus-match.c /systemd/src/libsystemd/sd-bus/bus-message.c /systemd/src/libsystemd/sd-bus/bus-objects.c /systemd/src/libsystemd/sd-bus/bus-slot.c /systemd/src/libsystemd/sd-bus/bus-track.c /systemd/src/libsystemd/sd-bus/busctl.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-bus/test-bus-benchmark.c /systemd/src/libsystemd/sd-bus/test-bus-chat.c /systemd/src/libsystemd/sd-bus/test-bus-cleanup.c /systemd/src/libsystemd/sd-bus/test-bus-creds.c /systemd/src/libsystemd/sd-bus/test-bus-error.c /systemd/src/libsystemd/sd-bus/test-bus-gvariant.c /systemd/src/libsystemd/sd-bus/test-bus-kernel-bloom.c /systemd/src/libsystemd/sd-bus/test-bus-kernel.c /systemd/src/libsystemd/sd-bus/test-bus-marshal.c /systemd/src/libsystemd/sd-bus/test-bus-match.c /systemd/src/libsystemd/sd-bus/test-bus-objects.c /systemd/src/libsystemd/sd-bus/test-bus-proxy.c /systemd/src/libsystemd/sd-bus/test-bus-server.c device-enumerator.c device-private.c device-util.h sd-device.c /systemd/src/libsystemd/sd-event/event-util.h /systemd/src/libsystemd/sd-hwdb/hwdb-util.h /systemd/src/libsystemd/sd-hwdb/sd-hwdb.c /systemd/src/libsystemd/sd-login/sd-login.c /systemd/src/libsystemd/sd-netlink/local-addresses.c /systemd/src/libsystemd/sd-netlink/netlink-internal.h /systemd/src/libsystemd/sd-netlink/netlink-message.c /systemd/src/libsystemd/sd-netlink/netlink-socket.c /systemd/src/libsystemd/sd-netlink/netlink-util.c /systemd/src/libsystemd/sd-netlink/netlink-util.h /systemd/src/libsystemd/sd-netlink/sd-netlink.c /systemd/src/libsystemd/sd-netlink/test-netlink.c /systemd/src/libsystemd/sd-network/network-util.h /systemd/src/libsystemd/sd-resolve/resolve-util.h /systemd/src/libsystemd/sd-resolve/sd-resolve.c /systemd/src/libsystemd/sd-resolve/test-resolve.c /systemd/src/libudev/libudev-enumerate.c /systemd/src/libudev/libudev-hwdb.c /systemd/src/locale/localectl.c /systemd/src/locale/localed.c /systemd/src/login/inhibit.c /systemd/src/login/loginctl.c /systemd/src/login/logind-action.c /systemd/src/login/logind-core.c /systemd/src/login/logind-dbus.c /systemd/src/login/logind-seat-dbus.c /systemd/src/login/logind-session-dbus.c /systemd/src/login/logind-session-device.c /systemd/src/login/logind-session.c /systemd/src/login/logind-user-dbus.c /systemd/src/login/logind-user.c /systemd/src/login/logind.c /systemd/src/login/pam_systemd.c /systemd/src/login/test-inhibit.c /systemd/src/machine/machine-dbus.c /systemd/src/machine/machine.c /systemd/src/machine/machinectl.c /systemd/src/machine/machined-dbus.c /systemd/src/machine/machined.c /systemd/src/network/networkctl.c /systemd/src/network/networkd-address.c /systemd/src/network/networkd-fdb.c /systemd/src/network/networkd-link.c /systemd/src/network/networkd-manager.c /systemd/src/network/networkd-netdev-bridge.c /systemd/src/network/networkd-netdev.c /systemd/src/network/networkd-route.c /systemd/src/network/networkd-wait-online-manager.c /systemd/src/nspawn/nspawn-expose-ports.c /systemd/src/nspawn/nspawn-network.c /systemd/src/nspawn/nspawn-register.c /systemd/src/nspawn/nspawn.c /systemd/src/nss-mymachines/nss-mymachines.c /systemd/src/nss-resolve/nss-resolve.c /systemd/src/resolve-host/resolve-host.c /systemd/src/resolve/resolved-bus.c /systemd/src/resolve/resolved-manager.c /systemd/src/run/run.c /systemd/src/shared/bus-util.c /systemd/src/shared/bus-util.h /systemd/src/shared/logs-show.c /systemd/src/systemctl/systemctl.c /systemd/src/systemd/_sd-common.h /systemd/src/systemd/sd-bus.h /systemd/src/systemd/sd-device.h /systemd/src/systemd/sd-dhcp-client.h /systemd/src/systemd/sd-dhcp-lease.h /systemd/src/systemd/sd-dhcp-server.h /systemd/src/systemd/sd-dhcp6-client.h /systemd/src/systemd/sd-dhcp6-lease.h /systemd/src/systemd/sd-event.h /systemd/src/systemd/sd-hwdb.h /systemd/src/systemd/sd-ipv4acd.h /systemd/src/systemd/sd-ipv4ll.h /systemd/src/systemd/sd-journal.h /systemd/src/systemd/sd-lldp.h /systemd/src/systemd/sd-login.h /systemd/src/systemd/sd-ndisc.h /systemd/src/systemd/sd-netlink.h /systemd/src/systemd/sd-network.h /systemd/src/systemd/sd-resolve.h /systemd/src/test/test-engine.c /systemd/src/timedate/timedatectl.c /systemd/src/timedate/timedated.c /systemd/src/udev/udev-event.c /systemd/src/udev/udevadm-hwdb.c /systemd/src/udev/udevd.c /systemd/src/update-utmp/update-utmp.c
b5efdb8af40ea759a1ea584c1bc44ecc81dd00ce 27-Oct-2015 Lennart Poettering <lennart@poettering.net>

util-lib: split out allocation calls into alloc-util.[ch]

/systemd/Makefile.am /systemd/src/activate/activate.c /systemd/src/analyze/analyze-verify.c /systemd/src/analyze/analyze.c /systemd/src/backlight/backlight.c /systemd/src/basic/alloc-util.c /systemd/src/basic/alloc-util.h /systemd/src/basic/audit-util.c /systemd/src/basic/bitmap.c /systemd/src/basic/btrfs-util.c /systemd/src/basic/bus-label.c /systemd/src/basic/calendarspec.c /systemd/src/basic/capability-util.c /systemd/src/basic/cgroup-util.c /systemd/src/basic/copy.c /systemd/src/basic/cpu-set-util.c /systemd/src/basic/env-util.c /systemd/src/basic/escape.c /systemd/src/basic/extract-word.c /systemd/src/basic/fileio.c /systemd/src/basic/fs-util.c /systemd/src/basic/hashmap.c /systemd/src/basic/hexdecoct.c /systemd/src/basic/in-addr-util.c /systemd/src/basic/json.c /systemd/src/basic/lockfile-util.c /systemd/src/basic/log.c /systemd/src/basic/memfd-util.c /systemd/src/basic/mount-util.c /systemd/src/basic/path-util.c /systemd/src/basic/prioq.c /systemd/src/basic/proc-cmdline.c /systemd/src/basic/process-util.c /systemd/src/basic/replace-var.c /systemd/src/basic/selinux-util.c /systemd/src/basic/smack-util.c /systemd/src/basic/socket-label.c /systemd/src/basic/socket-util.c /systemd/src/basic/strbuf.c /systemd/src/basic/string-util.c /systemd/src/basic/strv.c /systemd/src/basic/terminal-util.c /systemd/src/basic/time-util.c /systemd/src/basic/unit-name.c /systemd/src/basic/user-util.c /systemd/src/basic/utf8.c /systemd/src/basic/util.c /systemd/src/basic/util.h /systemd/src/basic/virt.c /systemd/src/basic/xattr-util.c /systemd/src/binfmt/binfmt.c /systemd/src/boot/bootctl.c /systemd/src/bootchart/bootchart.c /systemd/src/bootchart/store.c /systemd/src/bootchart/svg.c /systemd/src/bus-proxyd/bus-proxyd.c /systemd/src/bus-proxyd/bus-xml-policy.c /systemd/src/bus-proxyd/driver.c /systemd/src/bus-proxyd/proxy.c /systemd/src/bus-proxyd/stdio-bridge.c /systemd/src/bus-proxyd/test-bus-xml-policy.c /systemd/src/cgls/cgls.c /systemd/src/cgtop/cgtop.c /systemd/src/core/automount.c /systemd/src/core/bus-endpoint.c /systemd/src/core/bus-policy.c /systemd/src/core/busname.c /systemd/src/core/cgroup.c /systemd/src/core/dbus-cgroup.c /systemd/src/core/dbus-execute.c /systemd/src/core/dbus-job.c /systemd/src/core/dbus-manager.c /systemd/src/core/dbus-scope.c /systemd/src/core/dbus-service.c /systemd/src/core/dbus-socket.c /systemd/src/core/dbus-timer.c /systemd/src/core/dbus-unit.c /systemd/src/core/dbus.c /systemd/src/core/device.c /systemd/src/core/execute.c /systemd/src/core/hostname-setup.c /systemd/src/core/job.c /systemd/src/core/killall.c /systemd/src/core/load-fragment.c /systemd/src/core/machine-id-setup.c /systemd/src/core/main.c /systemd/src/core/manager.c /systemd/src/core/mount-setup.c /systemd/src/core/mount.c /systemd/src/core/namespace.c /systemd/src/core/scope.c /systemd/src/core/selinux-access.c /systemd/src/core/service.c /systemd/src/core/show-status.c /systemd/src/core/shutdown.c /systemd/src/core/slice.c /systemd/src/core/smack-setup.c /systemd/src/core/snapshot.c /systemd/src/core/socket.c /systemd/src/core/swap.c /systemd/src/core/timer.c /systemd/src/core/transaction.c /systemd/src/core/umount.c /systemd/src/core/unit-printf.c /systemd/src/core/unit.c /systemd/src/cryptsetup/cryptsetup-generator.c /systemd/src/cryptsetup/cryptsetup.c /systemd/src/dbus1-generator/dbus1-generator.c /systemd/src/debug-generator/debug-generator.c /systemd/src/delta/delta.c /systemd/src/escape/escape.c /systemd/src/firstboot/firstboot.c /systemd/src/fsck/fsck.c /systemd/src/fstab-generator/fstab-generator.c /systemd/src/getty-generator/getty-generator.c /systemd/src/gpt-auto-generator/gpt-auto-generator.c /systemd/src/hibernate-resume/hibernate-resume-generator.c /systemd/src/hibernate-resume/hibernate-resume.c /systemd/src/hostname/hostnamectl.c /systemd/src/hostname/hostnamed.c /systemd/src/hwdb/hwdb.c /systemd/src/import/curl-util.c /systemd/src/import/export-raw.c /systemd/src/import/export-tar.c /systemd/src/import/export.c /systemd/src/import/import-raw.c /systemd/src/import/import-tar.c /systemd/src/import/import.c /systemd/src/import/importd.c /systemd/src/import/pull-common.c /systemd/src/import/pull-dkr.c /systemd/src/import/pull-job.c /systemd/src/import/pull-raw.c /systemd/src/import/pull-tar.c /systemd/src/import/pull.c /systemd/src/import/qcow2-util.c /systemd/src/initctl/initctl.c /systemd/src/journal-remote/journal-gatewayd.c /systemd/src/journal-remote/journal-remote-parse.c /systemd/src/journal-remote/journal-remote-write.c /systemd/src/journal-remote/journal-remote.c /systemd/src/journal-remote/journal-upload-journal.c /systemd/src/journal-remote/journal-upload.c /systemd/src/journal-remote/microhttpd-util.c /systemd/src/journal/catalog.c /systemd/src/journal/compress.c /systemd/src/journal/coredump-vacuum.c /systemd/src/journal/coredump.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/journal-file.c /systemd/src/journal/journal-send.c /systemd/src/journal/journal-vacuum.c /systemd/src/journal/journal-verify.c /systemd/src/journal/journalctl.c /systemd/src/journal/journald-audit.c /systemd/src/journal/journald-console.c /systemd/src/journal/journald-native.c /systemd/src/journal/journald-rate-limit.c /systemd/src/journal/journald-server.c /systemd/src/journal/journald-stream.c /systemd/src/journal/journald-syslog.c /systemd/src/journal/journald-wall.c /systemd/src/journal/mmap-cache.c /systemd/src/journal/sd-journal.c /systemd/src/journal/stacktrace.c /systemd/src/journal/test-catalog.c /systemd/src/journal/test-compress-benchmark.c /systemd/src/journal/test-compress.c /systemd/src/journal/test-journal-flush.c /systemd/src/journal/test-journal-interleaving.c /systemd/src/journal/test-journal-match.c /systemd/src/journal/test-journal-stream.c /systemd/src/journal/test-journal-syslog.c /systemd/src/libsystemd-network/dhcp6-option.c /systemd/src/libsystemd-network/lldp-internal.c /systemd/src/libsystemd-network/lldp-port.c /systemd/src/libsystemd-network/lldp-tlv.c /systemd/src/libsystemd-network/network-internal.c /systemd/src/libsystemd-network/sd-dhcp-client.c /systemd/src/libsystemd-network/sd-dhcp-lease.c /systemd/src/libsystemd-network/sd-dhcp-server.c /systemd/src/libsystemd-network/sd-dhcp6-client.c /systemd/src/libsystemd-network/sd-dhcp6-lease.c /systemd/src/libsystemd-network/sd-ipv4acd.c /systemd/src/libsystemd-network/sd-ipv4ll.c /systemd/src/libsystemd-network/sd-lldp.c /systemd/src/libsystemd-network/sd-ndisc.c /systemd/src/libsystemd-network/sd-pppoe.c /systemd/src/libsystemd-network/test-dhcp-client.c /systemd/src/libsystemd-network/test-dhcp-option.c /systemd/src/libsystemd-network/test-ipv4ll-manual.c /systemd/src/libsystemd-network/test-lldp.c /systemd/src/libsystemd/sd-bus/bus-control.c /systemd/src/libsystemd/sd-bus/bus-creds.c /systemd/src/libsystemd/sd-bus/bus-dump.c /systemd/src/libsystemd/sd-bus/bus-error.c /systemd/src/libsystemd/sd-bus/bus-internal.c /systemd/src/libsystemd/sd-bus/bus-kernel.c /systemd/src/libsystemd/sd-bus/bus-match.c /systemd/src/libsystemd/sd-bus/bus-message.c /systemd/src/libsystemd/sd-bus/bus-objects.c /systemd/src/libsystemd/sd-bus/bus-slot.c /systemd/src/libsystemd/sd-bus/bus-socket.c /systemd/src/libsystemd/sd-bus/bus-track.c /systemd/src/libsystemd/sd-bus/busctl-introspect.c /systemd/src/libsystemd/sd-bus/busctl.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-bus/test-bus-benchmark.c /systemd/src/libsystemd/sd-bus/test-bus-chat.c /systemd/src/libsystemd/sd-bus/test-bus-gvariant.c /systemd/src/libsystemd/sd-bus/test-bus-kernel-bloom.c /systemd/src/libsystemd/sd-bus/test-bus-kernel.c /systemd/src/libsystemd/sd-bus/test-bus-marshal.c /systemd/src/libsystemd/sd-bus/test-bus-objects.c /systemd/src/libsystemd/sd-bus/test-bus-proxy.c /systemd/src/libsystemd/sd-bus/test-bus-zero-copy.c /systemd/src/libsystemd/sd-daemon/sd-daemon.c device-enumerator.c device-private.c sd-device.c /systemd/src/libsystemd/sd-event/sd-event.c /systemd/src/libsystemd/sd-hwdb/sd-hwdb.c /systemd/src/libsystemd/sd-login/sd-login.c /systemd/src/libsystemd/sd-login/test-login.c /systemd/src/libsystemd/sd-netlink/local-addresses.c /systemd/src/libsystemd/sd-netlink/netlink-message.c /systemd/src/libsystemd/sd-netlink/netlink-socket.c /systemd/src/libsystemd/sd-netlink/sd-netlink.c /systemd/src/libsystemd/sd-netlink/test-local-addresses.c /systemd/src/libsystemd/sd-network/network-util.c /systemd/src/libsystemd/sd-network/sd-network.c /systemd/src/libsystemd/sd-path/sd-path.c /systemd/src/libsystemd/sd-resolve/sd-resolve.c /systemd/src/libsystemd/sd-resolve/test-resolve.c /systemd/src/libudev/libudev-device.c /systemd/src/libudev/libudev-enumerate.c /systemd/src/libudev/libudev-hwdb.c /systemd/src/libudev/libudev-list.c /systemd/src/libudev/libudev-monitor.c /systemd/src/libudev/libudev-queue.c /systemd/src/libudev/libudev.c /systemd/src/locale/localed.c /systemd/src/login/inhibit.c /systemd/src/login/loginctl.c /systemd/src/login/logind-acl.c /systemd/src/login/logind-action.c /systemd/src/login/logind-button.c /systemd/src/login/logind-core.c /systemd/src/login/logind-dbus.c /systemd/src/login/logind-device.c /systemd/src/login/logind-inhibit.c /systemd/src/login/logind-seat-dbus.c /systemd/src/login/logind-seat.c /systemd/src/login/logind-session-dbus.c /systemd/src/login/logind-session-device.c /systemd/src/login/logind-session.c /systemd/src/login/logind-user-dbus.c /systemd/src/login/logind-user.c /systemd/src/login/logind-utmp.c /systemd/src/login/logind.c /systemd/src/login/pam_systemd.c /systemd/src/login/sysfs-show.c /systemd/src/machine/image-dbus.c /systemd/src/machine/machine-dbus.c /systemd/src/machine/machine.c /systemd/src/machine/machinectl.c /systemd/src/machine/machined-dbus.c /systemd/src/machine/machined.c /systemd/src/network/networkctl.c /systemd/src/network/networkd-address-pool.c /systemd/src/network/networkd-address.c /systemd/src/network/networkd-dhcp4.c /systemd/src/network/networkd-fdb.c /systemd/src/network/networkd-link-bus.c /systemd/src/network/networkd-link.c /systemd/src/network/networkd-manager-bus.c /systemd/src/network/networkd-manager.c /systemd/src/network/networkd-netdev-bond.c /systemd/src/network/networkd-netdev-tuntap.c /systemd/src/network/networkd-netdev.c /systemd/src/network/networkd-network-bus.c /systemd/src/network/networkd-network.c /systemd/src/network/networkd-route.c /systemd/src/network/networkd-wait-online-link.c /systemd/src/network/networkd-wait-online-manager.c /systemd/src/network/test-network.c /systemd/src/notify/notify.c /systemd/src/nspawn/nspawn-cgroup.c /systemd/src/nspawn/nspawn-expose-ports.c /systemd/src/nspawn/nspawn-mount.c /systemd/src/nspawn/nspawn-network.c /systemd/src/nspawn/nspawn-settings.c /systemd/src/nspawn/nspawn-setuid.c /systemd/src/nspawn/nspawn.c /systemd/src/nss-myhostname/nss-myhostname.c /systemd/src/nss-mymachines/nss-mymachines.c /systemd/src/path/path.c /systemd/src/random-seed/random-seed.c /systemd/src/rc-local-generator/rc-local-generator.c /systemd/src/resolve-host/resolve-host.c /systemd/src/resolve/resolved-bus.c /systemd/src/resolve/resolved-conf.c /systemd/src/resolve/resolved-dns-answer.c /systemd/src/resolve/resolved-dns-cache.c /systemd/src/resolve/resolved-dns-packet.c /systemd/src/resolve/resolved-dns-query.c /systemd/src/resolve/resolved-dns-question.c /systemd/src/resolve/resolved-dns-rr.c /systemd/src/resolve/resolved-dns-scope.c /systemd/src/resolve/resolved-dns-server.c /systemd/src/resolve/resolved-dns-stream.c /systemd/src/resolve/resolved-dns-transaction.c /systemd/src/resolve/resolved-dns-zone.c /systemd/src/resolve/resolved-link.c /systemd/src/resolve/resolved-manager.c /systemd/src/rfkill/rfkill.c /systemd/src/run/run.c /systemd/src/shared/acl-util.c /systemd/src/shared/acpi-fpdt.c /systemd/src/shared/apparmor-util.c /systemd/src/shared/ask-password-api.c /systemd/src/shared/base-filesystem.c /systemd/src/shared/bus-util.c /systemd/src/shared/cgroup-show.c /systemd/src/shared/condition.c /systemd/src/shared/conf-parser.c /systemd/src/shared/dev-setup.c /systemd/src/shared/dns-domain.c /systemd/src/shared/dropin.c /systemd/src/shared/efivars.c /systemd/src/shared/firewall-util.c /systemd/src/shared/fstab-util.c /systemd/src/shared/generator.c /systemd/src/shared/import-util.c /systemd/src/shared/install-printf.c /systemd/src/shared/install.c /systemd/src/shared/logs-show.c /systemd/src/shared/machine-image.c /systemd/src/shared/machine-pool.c /systemd/src/shared/path-lookup.c /systemd/src/shared/ptyfwd.c /systemd/src/shared/sleep-config.c /systemd/src/shared/specifier.c /systemd/src/shared/utmp-wtmp.c /systemd/src/socket-proxy/socket-proxyd.c /systemd/src/systemctl/systemctl.c /systemd/src/sysusers/sysusers.c /systemd/src/sysv-generator/sysv-generator.c /systemd/src/test/test-calendarspec.c /systemd/src/test/test-cap-list.c /systemd/src/test/test-cgroup-util.c /systemd/src/test/test-condition.c /systemd/src/test/test-conf-files.c /systemd/src/test/test-copy.c /systemd/src/test/test-date.c /systemd/src/test/test-device-nodes.c /systemd/src/test/test-dns-domain.c /systemd/src/test/test-ellipsize.c /systemd/src/test/test-fileio.c /systemd/src/test/test-fstab-util.c /systemd/src/test/test-hashmap-plain.c /systemd/src/test/test-hostname-util.c /systemd/src/test/test-id128.c /systemd/src/test/test-json.c /systemd/src/test/test-namespace.c /systemd/src/test/test-path-util.c /systemd/src/test/test-path.c /systemd/src/test/test-prioq.c /systemd/src/test/test-process-util.c /systemd/src/test/test-socket-util.c /systemd/src/test/test-strv.c /systemd/src/test/test-tmpfiles.c /systemd/src/test/test-uid-range.c /systemd/src/test/test-unit-file.c /systemd/src/test/test-unit-name.c /systemd/src/test/test-user-util.c /systemd/src/test/test-utf8.c /systemd/src/test/test-util.c /systemd/src/test/test-xml.c /systemd/src/timedate/timedated.c /systemd/src/timesync/timesyncd-conf.c /systemd/src/timesync/timesyncd-manager.c /systemd/src/timesync/timesyncd-server.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/tty-ask-password-agent/tty-ask-password-agent.c /systemd/src/udev/collect/collect.c /systemd/src/udev/net/link-config.c /systemd/src/udev/udev-builtin-blkid.c /systemd/src/udev/udev-builtin-hwdb.c /systemd/src/udev/udev-builtin-net_setup_link.c /systemd/src/udev/udev-builtin-path_id.c /systemd/src/udev/udev-builtin-usb_id.c /systemd/src/udev/udev-ctrl.c /systemd/src/udev/udev-event.c /systemd/src/udev/udev-rules.c /systemd/src/udev/udevadm-hwdb.c /systemd/src/udev/udevd.c /systemd/src/update-utmp/update-utmp.c /systemd/src/vconsole/vconsole-setup.c
a09561746f15b84da9471b5c4be74e53d19e4f3f 27-Oct-2015 Lennart Poettering <lennart@poettering.net>

util-lib: introduce dirent-util.[ch] for directory entry calls Also, move a couple of more path-related functions to path-util.c.

/systemd/Makefile.am /systemd/src/basic/cgroup-util.c /systemd/src/basic/conf-files.c /systemd/src/basic/copy.c /systemd/src/basic/dirent-util.c /systemd/src/basic/dirent-util.h /systemd/src/basic/fd-util.c /systemd/src/basic/fdset.c /systemd/src/basic/locale-util.c /systemd/src/basic/path-util.c /systemd/src/basic/path-util.h /systemd/src/basic/util.c /systemd/src/basic/util.h /systemd/src/bootchart/store.c /systemd/src/core/smack-setup.c /systemd/src/dbus1-generator/dbus1-generator.c /systemd/src/delta/delta.c /systemd/src/gpt-auto-generator/gpt-auto-generator.c /systemd/src/import/pull-common.c /systemd/src/journal/coredump-vacuum.c /systemd/src/journal/coredump.c /systemd/src/journal/journal-vacuum.c /systemd/src/journal/journald-server.c /systemd/src/journal/journald-stream.c /systemd/src/journal/sd-journal.c device-enumerator.c /systemd/src/libsystemd/sd-login/sd-login.c /systemd/src/login/logind-acl.c /systemd/src/login/logind-dbus.c /systemd/src/login/logind.c /systemd/src/machine/machined.c /systemd/src/shared/clean-ipc.c /systemd/src/shared/efivars.c /systemd/src/shared/install.c /systemd/src/shared/machine-image.c /systemd/src/test/test-cgroup-util.c /systemd/src/tty-ask-password-agent/tty-ask-password-agent.c
3ffd4af22052963e7a29431721ee204e634bea75 25-Oct-2015 Lennart Poettering <lennart@poettering.net>

util-lib: split out fd-related operations into fd-util.[ch] There are more than enough to deserve their own .c file, hence move them over.

/systemd/Makefile.am /systemd/src/activate/activate.c /systemd/src/basic/async.c /systemd/src/basic/audit.c /systemd/src/basic/barrier.c /systemd/src/basic/btrfs-util.c /systemd/src/basic/capability.c /systemd/src/basic/cgroup-util.c /systemd/src/basic/clock-util.c /systemd/src/basic/clock-util.h /systemd/src/basic/conf-files.c /systemd/src/basic/copy.c /systemd/src/basic/extract-word.c /systemd/src/basic/fd-util.c /systemd/src/basic/fd-util.h /systemd/src/basic/fdset.c /systemd/src/basic/fileio.c /systemd/src/basic/hostname-util.c /systemd/src/basic/locale-util.c /systemd/src/basic/lockfile-util.c /systemd/src/basic/log.c /systemd/src/basic/memfd-util.c /systemd/src/basic/memfd-util.h /systemd/src/basic/path-util.c /systemd/src/basic/process-util.c /systemd/src/basic/random-util.c /systemd/src/basic/rm-rf.c /systemd/src/basic/socket-label.c /systemd/src/basic/terminal-util.c /systemd/src/basic/time-util.c /systemd/src/basic/util.c /systemd/src/basic/util.h /systemd/src/binfmt/binfmt.c /systemd/src/boot/bootctl.c /systemd/src/bootchart/bootchart.c /systemd/src/bootchart/store.c /systemd/src/bootchart/svg.c /systemd/src/bus-proxyd/bus-proxyd.c /systemd/src/bus-proxyd/proxy.c /systemd/src/cgtop/cgtop.c /systemd/src/core/audit-fd.c /systemd/src/core/automount.c /systemd/src/core/busname.c /systemd/src/core/cgroup.c /systemd/src/core/dbus-cgroup.c /systemd/src/core/dbus-execute.c /systemd/src/core/dbus-manager.c /systemd/src/core/dbus-service.c /systemd/src/core/dbus.c /systemd/src/core/execute.c /systemd/src/core/ima-setup.c /systemd/src/core/killall.c /systemd/src/core/load-fragment.c /systemd/src/core/machine-id-setup.c /systemd/src/core/main.c /systemd/src/core/manager.c /systemd/src/core/namespace.c /systemd/src/core/path.c /systemd/src/core/service.c /systemd/src/core/smack-setup.c /systemd/src/core/socket.c /systemd/src/core/swap.c /systemd/src/core/umount.c /systemd/src/cryptsetup/cryptsetup-generator.c /systemd/src/dbus1-generator/dbus1-generator.c /systemd/src/delta/delta.c /systemd/src/firstboot/firstboot.c /systemd/src/fsck/fsck.c /systemd/src/fstab-generator/fstab-generator.c /systemd/src/getty-generator/getty-generator.c /systemd/src/gpt-auto-generator/gpt-auto-generator.c /systemd/src/hwdb/hwdb.c /systemd/src/import/curl-util.c /systemd/src/import/export-raw.c /systemd/src/import/export-tar.c /systemd/src/import/export.c /systemd/src/import/import-common.c /systemd/src/import/import-raw.c /systemd/src/import/import-tar.c /systemd/src/import/import.c /systemd/src/import/importd.c /systemd/src/import/pull-common.c /systemd/src/import/pull-dkr.c /systemd/src/import/pull-job.c /systemd/src/import/pull-raw.c /systemd/src/import/pull-tar.c /systemd/src/import/test-qcow2.c /systemd/src/initctl/initctl.c /systemd/src/journal-remote/journal-gatewayd.c /systemd/src/journal-remote/journal-remote-parse.c /systemd/src/journal-remote/journal-remote.c /systemd/src/journal-remote/journal-upload.c /systemd/src/journal/cat.c /systemd/src/journal/catalog.c /systemd/src/journal/compress.c /systemd/src/journal/coredump-vacuum.c /systemd/src/journal/coredump.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/journal-authenticate.c /systemd/src/journal/journal-def.h /systemd/src/journal/journal-file.c /systemd/src/journal/journal-qrcode.h /systemd/src/journal/journal-send.c /systemd/src/journal/journal-vacuum.c /systemd/src/journal/journal-verify.c /systemd/src/journal/journalctl.c /systemd/src/journal/journald-audit.c /systemd/src/journal/journald-console.c /systemd/src/journal/journald-kmsg.c /systemd/src/journal/journald-native.c /systemd/src/journal/journald-server.c /systemd/src/journal/journald-stream.c /systemd/src/journal/journald-syslog.c /systemd/src/journal/sd-journal.c /systemd/src/journal/stacktrace.c /systemd/src/journal/test-catalog.c /systemd/src/journal/test-compress.c /systemd/src/journal/test-journal-init.c /systemd/src/journal/test-journal-send.c /systemd/src/journal/test-journal-verify.c /systemd/src/journal/test-mmap-cache.c /systemd/src/libsystemd-network/arp-util.c /systemd/src/libsystemd-network/dhcp-network.c /systemd/src/libsystemd-network/dhcp6-network.c /systemd/src/libsystemd-network/icmp6-util.c /systemd/src/libsystemd-network/lldp-network.c /systemd/src/libsystemd-network/sd-dhcp-lease.c /systemd/src/libsystemd-network/sd-dhcp-server.c /systemd/src/libsystemd-network/sd-dhcp6-client.c /systemd/src/libsystemd-network/sd-ipv4acd.c /systemd/src/libsystemd-network/sd-lldp.c /systemd/src/libsystemd-network/sd-pppoe.c /systemd/src/libsystemd-network/test-dhcp-client.c /systemd/src/libsystemd-network/test-dhcp6-client.c /systemd/src/libsystemd-network/test-ipv4ll.c /systemd/src/libsystemd-network/test-lldp.c /systemd/src/libsystemd/sd-bus/bus-container.c /systemd/src/libsystemd/sd-bus/bus-creds.c /systemd/src/libsystemd/sd-bus/bus-introspect.c /systemd/src/libsystemd/sd-bus/bus-kernel.c /systemd/src/libsystemd/sd-bus/bus-match.c /systemd/src/libsystemd/sd-bus/bus-message.c /systemd/src/libsystemd/sd-bus/bus-socket.c /systemd/src/libsystemd/sd-bus/bus-track.c /systemd/src/libsystemd/sd-bus/busctl.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-bus/test-bus-benchmark.c /systemd/src/libsystemd/sd-bus/test-bus-chat.c /systemd/src/libsystemd/sd-bus/test-bus-kernel-bloom.c /systemd/src/libsystemd/sd-bus/test-bus-kernel.c /systemd/src/libsystemd/sd-bus/test-bus-marshal.c /systemd/src/libsystemd/sd-bus/test-bus-zero-copy.c /systemd/src/libsystemd/sd-daemon/sd-daemon.c device-enumerator.c device-private.c sd-device.c /systemd/src/libsystemd/sd-event/sd-event.c /systemd/src/libsystemd/sd-event/test-event.c /systemd/src/libsystemd/sd-hwdb/sd-hwdb.c /systemd/src/libsystemd/sd-id128/sd-id128.c /systemd/src/libsystemd/sd-login/sd-login.c /systemd/src/libsystemd/sd-login/test-login.c /systemd/src/libsystemd/sd-netlink/sd-netlink.c /systemd/src/libsystemd/sd-network/network-util.c /systemd/src/libsystemd/sd-network/sd-network.c /systemd/src/libsystemd/sd-path/sd-path.c /systemd/src/libsystemd/sd-resolve/sd-resolve.c /systemd/src/libudev/libudev-monitor.c /systemd/src/libudev/libudev-queue.c /systemd/src/libudev/libudev.c /systemd/src/locale/localectl.c /systemd/src/locale/localed.c /systemd/src/login/inhibit.c /systemd/src/login/logind-acl.c /systemd/src/login/logind-button.c /systemd/src/login/logind-core.c /systemd/src/login/logind-dbus.c /systemd/src/login/logind-inhibit.c /systemd/src/login/logind-seat.c /systemd/src/login/logind-session-dbus.c /systemd/src/login/logind-session-device.c /systemd/src/login/logind-session.c /systemd/src/login/logind-user.c /systemd/src/login/logind.c /systemd/src/login/pam_systemd.c /systemd/src/login/test-inhibit.c /systemd/src/machine/machine-dbus.c /systemd/src/machine/machine.c /systemd/src/machine/machinectl.c /systemd/src/machine/machined-dbus.c /systemd/src/machine/machined.c /systemd/src/modules-load/modules-load.c /systemd/src/network/networkd-link.c /systemd/src/network/networkd-manager.c /systemd/src/network/networkd-netdev-tuntap.c /systemd/src/network/networkd-netdev.c /systemd/src/network/networkd-network.c /systemd/src/nspawn/nspawn-cgroup.c /systemd/src/nspawn/nspawn-expose-ports.c /systemd/src/nspawn/nspawn-setuid.c /systemd/src/nspawn/nspawn.c /systemd/src/random-seed/random-seed.c /systemd/src/reply-password/reply-password.c /systemd/src/resolve/resolved-dns-scope.c /systemd/src/resolve/resolved-dns-stream.c /systemd/src/resolve/resolved-dns-transaction.c /systemd/src/resolve/resolved-llmnr.c /systemd/src/resolve/resolved-manager.c /systemd/src/rfkill/rfkill.c /systemd/src/run/run.c /systemd/src/shared/acpi-fpdt.c /systemd/src/shared/ask-password-api.c /systemd/src/shared/base-filesystem.c /systemd/src/shared/bus-util.c /systemd/src/shared/cgroup-show.c /systemd/src/shared/clean-ipc.c /systemd/src/shared/condition.c /systemd/src/shared/conf-parser.c /systemd/src/shared/dropin.c /systemd/src/shared/efivars.c /systemd/src/shared/generator.c /systemd/src/shared/install.c /systemd/src/shared/logs-show.c /systemd/src/shared/machine-image.c /systemd/src/shared/machine-pool.c /systemd/src/shared/pager.c /systemd/src/shared/ptyfwd.c /systemd/src/shared/sleep-config.c /systemd/src/shared/spawn-polkit-agent.c /systemd/src/shared/switch-root.c /systemd/src/shared/utmp-wtmp.c /systemd/src/shared/watchdog.c /systemd/src/sleep/sleep.c /systemd/src/socket-proxy/socket-proxyd.c /systemd/src/sysctl/sysctl.c /systemd/src/systemctl/systemctl.c /systemd/src/sysusers/sysusers.c /systemd/src/sysv-generator/sysv-generator.c /systemd/src/test/test-btrfs.c /systemd/src/test/test-capability.c /systemd/src/test/test-cgroup-util.c /systemd/src/test/test-copy.c /systemd/src/test/test-fdset.c /systemd/src/test/test-fileio.c /systemd/src/test/test-namespace.c /systemd/src/test/test-path-util.c /systemd/src/test/test-path.c /systemd/src/test/test-sigbus.c /systemd/src/test/test-socket-util.c /systemd/src/test/test-terminal-util.c /systemd/src/test/test-tmpfiles.c /systemd/src/test/test-unit-file.c /systemd/src/test/test-util.c /systemd/src/timesync/timesyncd-manager.c /systemd/src/timesync/timesyncd.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/tty-ask-password-agent/tty-ask-password-agent.c /systemd/src/udev/ata_id/ata_id.c /systemd/src/udev/net/link-config.c /systemd/src/udev/scsi_id/scsi_id.c /systemd/src/udev/udev-builtin-blkid.c /systemd/src/udev/udev-builtin-btrfs.c /systemd/src/udev/udev-builtin-input_id.c /systemd/src/udev/udev-builtin-keyboard.c /systemd/src/udev/udev-builtin-net_id.c /systemd/src/udev/udev-builtin-usb_id.c /systemd/src/udev/udev-ctrl.c /systemd/src/udev/udev-event.c /systemd/src/udev/udev-rules.c /systemd/src/udev/udevadm-info.c /systemd/src/udev/udevadm-monitor.c /systemd/src/udev/udevd.c /systemd/src/udev/v4l_id/v4l_id.c /systemd/src/update-done/update-done.c /systemd/src/vconsole/vconsole-setup.c
07630cea1f3a845c09309f197ac7c4f11edd3b62 24-Oct-2015 Lennart Poettering <lennart@poettering.net>

util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] There are more than enough calls doing string manipulations to deserve its own files, hence do something about it. This patch also sorts the #include blocks of all files that needed to be updated, according to the sorting suggestions from CODING_STYLE. Since pretty much every file needs our string manipulation functions this effectively means that most files have sorted #include blocks now. Also touches a few unrelated include files.

/systemd/Makefile.am /systemd/src/activate/activate.c /systemd/src/backlight/backlight.c /systemd/src/basic/btrfs-util.c /systemd/src/basic/calendarspec.c /systemd/src/basic/cgroup-util.c /systemd/src/basic/clock-util.c /systemd/src/basic/conf-files.c /systemd/src/basic/copy.c /systemd/src/basic/env-util.c /systemd/src/basic/fdset.c /systemd/src/basic/fileio.c /systemd/src/basic/hostname-util.c /systemd/src/basic/json.c /systemd/src/basic/locale-util.c /systemd/src/basic/log.c /systemd/src/basic/log.h /systemd/src/basic/login-util.c /systemd/src/basic/memfd-util.c /systemd/src/basic/path-util.c /systemd/src/basic/process-util.c /systemd/src/basic/rm-rf.c /systemd/src/basic/signal-util.c /systemd/src/basic/socket-util.c /systemd/src/basic/string-util.c /systemd/src/basic/string-util.h /systemd/src/basic/strv.c /systemd/src/basic/terminal-util.c /systemd/src/basic/time-util.c /systemd/src/basic/unit-name.c /systemd/src/basic/util.c /systemd/src/basic/util.h /systemd/src/basic/verbs.c /systemd/src/basic/virt.c /systemd/src/basic/xml.c /systemd/src/binfmt/binfmt.c /systemd/src/boot/bootctl.c /systemd/src/bootchart/bootchart.c /systemd/src/bootchart/store.c /systemd/src/bus-proxyd/bus-proxyd.c /systemd/src/bus-proxyd/bus-xml-policy.c /systemd/src/bus-proxyd/driver.c /systemd/src/bus-proxyd/proxy.h /systemd/src/bus-proxyd/synthesize.c /systemd/src/bus-proxyd/synthesize.h /systemd/src/bus-proxyd/test-bus-xml-policy.c /systemd/src/cgroups-agent/cgroups-agent.c /systemd/src/core/automount.c /systemd/src/core/busname.c /systemd/src/core/busname.h /systemd/src/core/cgroup.c /systemd/src/core/dbus-automount.c /systemd/src/core/dbus-busname.c /systemd/src/core/dbus-cgroup.h /systemd/src/core/dbus-execute.h /systemd/src/core/dbus-job.c /systemd/src/core/dbus-job.h /systemd/src/core/dbus-kill.h /systemd/src/core/dbus-manager.c /systemd/src/core/dbus-mount.c /systemd/src/core/dbus-mount.h /systemd/src/core/dbus-path.c /systemd/src/core/dbus-service.c /systemd/src/core/dbus-socket.c /systemd/src/core/dbus-swap.c /systemd/src/core/dbus-target.h /systemd/src/core/dbus-unit.c /systemd/src/core/dbus.c /systemd/src/core/device.c /systemd/src/core/execute.c /systemd/src/core/hostname-setup.c /systemd/src/core/job.c /systemd/src/core/job.h /systemd/src/core/killall.c /systemd/src/core/load-fragment.c /systemd/src/core/locale-setup.c /systemd/src/core/loopback-setup.c /systemd/src/core/machine-id-setup.c /systemd/src/core/manager.c /systemd/src/core/mount.c /systemd/src/core/namespace.c /systemd/src/core/path.c /systemd/src/core/scope.c /systemd/src/core/selinux-setup.c /systemd/src/core/service.c /systemd/src/core/show-status.c /systemd/src/core/shutdown.c /systemd/src/core/slice.c /systemd/src/core/smack-setup.c /systemd/src/core/snapshot.c /systemd/src/core/socket.c /systemd/src/core/swap.c /systemd/src/core/swap.h /systemd/src/core/target.c /systemd/src/core/timer.c /systemd/src/core/umount.c /systemd/src/core/unit-printf.c /systemd/src/core/unit.c /systemd/src/cryptsetup/cryptsetup-generator.c /systemd/src/cryptsetup/cryptsetup.c /systemd/src/debug-generator/debug-generator.c /systemd/src/delta/delta.c /systemd/src/escape/escape.c /systemd/src/firstboot/firstboot.c /systemd/src/fstab-generator/fstab-generator.c /systemd/src/getty-generator/getty-generator.c /systemd/src/gpt-auto-generator/gpt-auto-generator.c /systemd/src/hibernate-resume/hibernate-resume-generator.c /systemd/src/hwdb/hwdb.c /systemd/src/import/aufs-util.c /systemd/src/import/curl-util.c /systemd/src/import/curl-util.h /systemd/src/import/export-raw.c /systemd/src/import/export-tar.c /systemd/src/import/export.c /systemd/src/import/import-raw.c /systemd/src/import/import-tar.c /systemd/src/import/import.c /systemd/src/import/pull-common.c /systemd/src/import/pull-dkr.c /systemd/src/import/pull-job.c /systemd/src/import/pull-raw.c /systemd/src/import/pull-tar.c /systemd/src/import/pull.c /systemd/src/journal-remote/journal-remote-parse.c /systemd/src/journal-remote/journal-remote.c /systemd/src/journal-remote/journal-upload.c /systemd/src/journal-remote/microhttpd-util.c /systemd/src/journal/cat.c /systemd/src/journal/catalog.c /systemd/src/journal/compress.c /systemd/src/journal/coredump-vacuum.c /systemd/src/journal/coredump.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/journal-file.c /systemd/src/journal/journal-internal.h /systemd/src/journal/journal-send.c /systemd/src/journal/journal-vacuum.c /systemd/src/journal/journald-audit.c /systemd/src/journal/journald-kmsg.c /systemd/src/journal/journald-native.c /systemd/src/journal/journald-rate-limit.c /systemd/src/journal/journald-server.c /systemd/src/journal/journald-stream.c /systemd/src/journal/journald-syslog.c /systemd/src/journal/journald-wall.c /systemd/src/journal/sd-journal.c /systemd/src/journal/stacktrace.c /systemd/src/journal/test-catalog.c /systemd/src/journal/test-compress-benchmark.c /systemd/src/journal/test-journal-enum.c /systemd/src/journal/test-journal-flush.c /systemd/src/journal/test-journal-match.c /systemd/src/journal/test-journal-syslog.c /systemd/src/libsystemd-network/dhcp-identifier.c /systemd/src/libsystemd-network/dhcp-identifier.h /systemd/src/libsystemd-network/dhcp-internal.h /systemd/src/libsystemd-network/dhcp6-internal.h /systemd/src/libsystemd-network/lldp-internal.c /systemd/src/libsystemd-network/lldp-internal.h /systemd/src/libsystemd-network/network-internal.c /systemd/src/libsystemd-network/sd-dhcp-client.c /systemd/src/libsystemd-network/sd-dhcp-lease.c /systemd/src/libsystemd-network/sd-dhcp-server.c /systemd/src/libsystemd-network/sd-dhcp6-client.c /systemd/src/libsystemd-network/sd-ipv4acd.c /systemd/src/libsystemd-network/sd-ipv4ll.c /systemd/src/libsystemd-network/sd-lldp.c /systemd/src/libsystemd-network/sd-ndisc.c /systemd/src/libsystemd-network/sd-pppoe.c /systemd/src/libsystemd-network/test-dhcp-client.c /systemd/src/libsystemd-network/test-dhcp-server.c /systemd/src/libsystemd-network/test-dhcp6-client.c /systemd/src/libsystemd-network/test-ipv4ll-manual.c /systemd/src/libsystemd-network/test-ipv4ll.c /systemd/src/libsystemd-network/test-lldp.c /systemd/src/libsystemd-network/test-ndisc-rs.c /systemd/src/libsystemd/sd-bus/bus-control.c /systemd/src/libsystemd/sd-bus/bus-convenience.c /systemd/src/libsystemd/sd-bus/bus-creds.c /systemd/src/libsystemd/sd-bus/bus-dump.c /systemd/src/libsystemd/sd-bus/bus-error.c /systemd/src/libsystemd/sd-bus/bus-internal.c /systemd/src/libsystemd/sd-bus/bus-internal.h /systemd/src/libsystemd/sd-bus/bus-introspect.c /systemd/src/libsystemd/sd-bus/bus-kernel.c /systemd/src/libsystemd/sd-bus/bus-match.c /systemd/src/libsystemd/sd-bus/bus-match.h /systemd/src/libsystemd/sd-bus/bus-message.c /systemd/src/libsystemd/sd-bus/bus-message.h /systemd/src/libsystemd/sd-bus/bus-objects.c /systemd/src/libsystemd/sd-bus/bus-slot.c /systemd/src/libsystemd/sd-bus/bus-socket.c /systemd/src/libsystemd/sd-bus/bus-type.h /systemd/src/libsystemd/sd-bus/busctl-introspect.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-bus/test-bus-benchmark.c /systemd/src/libsystemd/sd-bus/test-bus-chat.c /systemd/src/libsystemd/sd-bus/test-bus-cleanup.c /systemd/src/libsystemd/sd-bus/test-bus-gvariant.c /systemd/src/libsystemd/sd-bus/test-bus-kernel-bloom.c /systemd/src/libsystemd/sd-bus/test-bus-kernel.c /systemd/src/libsystemd/sd-bus/test-bus-marshal.c /systemd/src/libsystemd/sd-bus/test-bus-objects.c /systemd/src/libsystemd/sd-bus/test-bus-proxy.c /systemd/src/libsystemd/sd-bus/test-bus-server.c /systemd/src/libsystemd/sd-bus/test-bus-signature.c /systemd/src/libsystemd/sd-bus/test-bus-zero-copy.c /systemd/src/libsystemd/sd-daemon/sd-daemon.c device-enumerator.c device-private.c device-private.h sd-device.c /systemd/src/libsystemd/sd-event/event-util.h /systemd/src/libsystemd/sd-event/sd-event.c /systemd/src/libsystemd/sd-hwdb/hwdb-util.h /systemd/src/libsystemd/sd-hwdb/sd-hwdb.c /systemd/src/libsystemd/sd-id128/sd-id128.c /systemd/src/libsystemd/sd-login/sd-login.c /systemd/src/libsystemd/sd-login/test-login.c /systemd/src/libsystemd/sd-netlink/netlink-internal.h /systemd/src/libsystemd/sd-netlink/netlink-message.c /systemd/src/libsystemd/sd-netlink/netlink-socket.c /systemd/src/libsystemd/sd-netlink/netlink-util.c /systemd/src/libsystemd/sd-netlink/netlink-util.h /systemd/src/libsystemd/sd-netlink/rtnl-message.c /systemd/src/libsystemd/sd-netlink/sd-netlink.c /systemd/src/libsystemd/sd-netlink/test-netlink.c /systemd/src/libsystemd/sd-network/sd-network.c /systemd/src/libsystemd/sd-path/sd-path.c /systemd/src/libsystemd/sd-resolve/resolve-util.h /systemd/src/libsystemd/sd-resolve/sd-resolve.c /systemd/src/libsystemd/sd-resolve/test-resolve.c /systemd/src/libsystemd/sd-utf8/sd-utf8.c /systemd/src/libudev/libudev-device-internal.h /systemd/src/libudev/libudev-device-private.c /systemd/src/libudev/libudev-device.c /systemd/src/libudev/libudev-enumerate.c /systemd/src/libudev/libudev-hwdb.c /systemd/src/libudev/libudev-monitor.c /systemd/src/libudev/libudev-private.h /systemd/src/libudev/libudev-util.c /systemd/src/libudev/libudev.c /systemd/src/login/logind-acl.c /systemd/src/login/logind-acl.h /systemd/src/login/logind-action.h /systemd/src/login/logind-button.c /systemd/src/login/logind-inhibit.c /systemd/src/login/logind-seat.c /systemd/src/login/logind-session-device.c /systemd/src/login/logind.c /systemd/src/login/logind.h /systemd/src/login/sysfs-show.c /systemd/src/login/test-inhibit.c /systemd/src/machine/machined.h /systemd/src/modules-load/modules-load.c /systemd/src/network/networkctl.c /systemd/src/network/networkd-address-pool.c /systemd/src/network/networkd-address.c /systemd/src/network/networkd-dhcp6.c /systemd/src/network/networkd-link.h /systemd/src/network/networkd-manager.c /systemd/src/network/networkd-ndisc.c /systemd/src/network/networkd-netdev-bond.c /systemd/src/network/networkd-netdev-tunnel.c /systemd/src/network/networkd-netdev.c /systemd/src/network/networkd-network-bus.c /systemd/src/network/networkd-network.c /systemd/src/network/networkd-route.c /systemd/src/network/networkd-util.c /systemd/src/network/networkd-wait-online-link.c /systemd/src/notify/notify.c /systemd/src/nspawn/nspawn-cgroup.c /systemd/src/nspawn/nspawn-expose-ports.c /systemd/src/nspawn/nspawn-mount.c /systemd/src/nspawn/nspawn-network.c /systemd/src/nspawn/nspawn-setuid.c /systemd/src/nspawn/nspawn.c /systemd/src/nss-myhostname/nss-myhostname.c /systemd/src/nss-mymachines/nss-mymachines.c /systemd/src/nss-resolve/nss-resolve.c /systemd/src/path/path.c /systemd/src/quotacheck/quotacheck.c /systemd/src/random-seed/random-seed.c /systemd/src/rc-local-generator/rc-local-generator.c /systemd/src/reply-password/reply-password.c /systemd/src/resolve/resolved-conf.c /systemd/src/resolve/resolved-dns-answer.c /systemd/src/resolve/resolved-dns-rr.c /systemd/src/resolve/resolved-dns-zone.c /systemd/src/resolve/resolved-link.c /systemd/src/resolve/resolved-manager.c /systemd/src/rfkill/rfkill.c /systemd/src/shared/acl-util.c /systemd/src/shared/architecture.c /systemd/src/shared/ask-password-api.c /systemd/src/shared/base-filesystem.c /systemd/src/shared/bus-util.c /systemd/src/shared/bus-util.h /systemd/src/shared/cgroup-show.c /systemd/src/shared/clean-ipc.c /systemd/src/shared/condition.c /systemd/src/shared/conf-parser.c /systemd/src/shared/dns-domain.c /systemd/src/shared/dropin.c /systemd/src/shared/fstab-util.c /systemd/src/shared/generator.c /systemd/src/shared/import-util.c /systemd/src/shared/install.c /systemd/src/shared/logs-show.c /systemd/src/shared/machine-image.c /systemd/src/shared/machine-pool.c /systemd/src/shared/pager.c /systemd/src/shared/path-lookup.c /systemd/src/shared/seccomp-util.c /systemd/src/shared/sleep-config.c /systemd/src/shared/specifier.c /systemd/src/shared/switch-root.c /systemd/src/shared/sysctl-util.c /systemd/src/shared/utmp-wtmp.c /systemd/src/sleep/sleep.c /systemd/src/socket-proxy/socket-proxyd.c /systemd/src/sysctl/sysctl.c /systemd/src/system-update-generator/system-update-generator.c /systemd/src/systemd/sd-dhcp6-client.h /systemd/src/systemd/sd-lldp.h /systemd/src/sysusers/sysusers.c /systemd/src/sysv-generator/sysv-generator.c /systemd/src/test/test-af-list.c /systemd/src/test/test-arphrd-list.c /systemd/src/test/test-btrfs.c /systemd/src/test/test-calendarspec.c /systemd/src/test/test-cgroup-util.c /systemd/src/test/test-cgroup.c /systemd/src/test/test-condition.c /systemd/src/test/test-conf-files.c /systemd/src/test/test-conf-parser.c /systemd/src/test/test-copy.c /systemd/src/test/test-date.c /systemd/src/test/test-device-nodes.c /systemd/src/test/test-dns-domain.c /systemd/src/test/test-ellipsize.c /systemd/src/test/test-env-replace.c /systemd/src/test/test-fileio.c /systemd/src/test/test-fstab-util.c /systemd/src/test/test-hashmap-plain.c /systemd/src/test/test-hostname-util.c /systemd/src/test/test-id128.c /systemd/src/test/test-json.c /systemd/src/test/test-libudev.c /systemd/src/test/test-namespace.c /systemd/src/test/test-netlink-manual.c /systemd/src/test/test-path-lookup.c /systemd/src/test/test-path-util.c /systemd/src/test/test-path.c /systemd/src/test/test-process-util.c /systemd/src/test/test-replace-var.c /systemd/src/test/test-socket-util.c /systemd/src/test/test-strbuf.c /systemd/src/test/test-strip-tab-ansi.c /systemd/src/test/test-strv.c /systemd/src/test/test-strxcpyx.c /systemd/src/test/test-tmpfiles.c /systemd/src/test/test-udev.c /systemd/src/test/test-unit-file.c /systemd/src/test/test-unit-name.c /systemd/src/test/test-utf8.c /systemd/src/test/test-util.c /systemd/src/test/test-xml.c /systemd/src/timesync/timesyncd-conf.c /systemd/src/timesync/timesyncd-manager.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/tty-ask-password-agent/tty-ask-password-agent.c /systemd/src/udev/ata_id/ata_id.c /systemd/src/udev/cdrom_id/cdrom_id.c /systemd/src/udev/collect/collect.c /systemd/src/udev/net/link-config.c /systemd/src/udev/net/link-config.h /systemd/src/udev/scsi_id/scsi_id.c /systemd/src/udev/scsi_id/scsi_serial.c /systemd/src/udev/udev-builtin-blkid.c /systemd/src/udev/udev-builtin-btrfs.c /systemd/src/udev/udev-builtin-hwdb.c /systemd/src/udev/udev-builtin-input_id.c /systemd/src/udev/udev-builtin-keyboard.c /systemd/src/udev/udev-builtin-kmod.c /systemd/src/udev/udev-builtin-net_id.c /systemd/src/udev/udev-builtin-path_id.c /systemd/src/udev/udev-builtin-usb_id.c /systemd/src/udev/udev-builtin.c /systemd/src/udev/udev-event.c /systemd/src/udev/udev-node.c /systemd/src/udev/udev-rules.c /systemd/src/udev/udev.h /systemd/src/udev/udevadm-hwdb.c /systemd/src/udev/udevadm-info.c /systemd/src/udev/udevadm-test-builtin.c /systemd/src/udev/udevadm-test.c /systemd/src/udev/udevadm-trigger.c /systemd/src/udev/udevadm-util.c /systemd/src/udev/udevadm.c /systemd/src/udev/udevd.c /systemd/src/user-sessions/user-sessions.c /systemd/src/vconsole/vconsole-setup.c
e53fc357a9bb9d0a5362ccc4246d598cb0febd5e 30-Sep-2015 Lennart Poettering <lennart@poettering.net>

tree-wide: remove a number of invocations of strerror() and replace by %m Let's clean up our tree a bit, and reduce invocations of the thread-unsafe strerror() by replacing it with printf()'s %m specifier.

9a9c7dc2cbbe3c26cfbbcb02475d95ff3afe507e 22-Aug-2015 Maxim Mikityanskiy <maxtram95@gmail.com>

sd-device: fix enumeration of devices without subsystem Prior to commit c32eb440bab953a0169cd207dfef5cad16dfb340, libudev's function udev_enumerate_scan_devices() had behaved differently. If parent match was added with udev_enumerate_add_match_parent(), udev_enumerate_scan_devices() did not return error if some child devices had no subsystem symlink in sysfs. An example of such devices is USB endpoints /sys/bus/usb/devices/*/ep_*. If there was a parent match against USB device, old implementation of udev_enumerate_scan_devices() did not treat ep_* device directories without subsystem symlink as error and just ignored them, but new implementation returns -ENOENT (also ignoring these devices) though correctly enumerates all other matching devices. To compare, you could look at 96df036fe3d25525a44f5efdb2fc8560e82e6cfd, in src/libudev/libudev-enumerate.c, function parent_add_child(): if (!match_subsystem(enumerate, udev_device_get_subsystem(dev))) goto nomatch; udev_device_get_subsystem() was returning NULL, match_subsystem() was returning false, and USB endpoint device was ignored. New parent_add_child() from src/libsystemd/sd-device/device-enumerator.c checks return value of sd_device_get_subsystem() and fails if subsystem was not found. Absence of subsystem symlink should not be really treated as error because all enumerations of children of USB devices will fail with -ENOENT. This new behavior also breaks system-config-printer. So restore old behavior and treat absence of subsystem symlink as no match.

54f0b4d9a3e3e1b955d0b0021d9678571d91a5ef 03-Jun-2015 Tom Gundersen <teg@jklm.no>

libudev: enumerate - accept NULL parameters in add_match() This was a regression introduced when moving to sd-device.

5f529f4c97a141457301477505ae7eb4c28cf610 28-May-2015 Tom Gundersen <teg@jklm.no>

sd-device: enumerator - fix matching on properties and sysattrs This was a regression that broke $ udevadm trigger -nv --property-match=DEVNAME=/dev/sda1 --attr-match=size=409600 Reported by David Reisner.

53fae771bcf1623cd28791c48fa60d9d5e5086e4 21-May-2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

sd-device: fix return codes on error asprintf() does not set errno.

18ae3d98d97ca35da106f66f547bce64b4be31ee 17-Apr-2015 David Herrmann <dh.herrmann@gmail.com>

sd-device: simplify enumerator hacks Boolean arithmetic is great, use it! if (a && !b) return 1; if (!a && b) return -1, is equivalent to if (a != b) return a - b; Furthermore: r = false; if (condition) r = true; is equivalent to: r = condition;

08232a020bd2571088d3ee06dda07732c5e963d1 17-Apr-2015 Tom Gundersen <teg@jklm.no>

sd-device: uniformly handle missing devices sd_device_new_from_* now returns -ENODEV when the device does not exist, and the enumerator silently drops these errors as missing devices is exepected.

dee5e0b6c29ca22cbf67d28fbee195d70b0dde72 17-Apr-2015 Tom Gundersen <teg@jklm.no>

sd-device: enumerator - match only on initialized devices by default It is still possible to include uninitialized ones, but now that is opt-in. In most cases people only want initialized devices. Exception is if you want to work without udev running. Suggested by David Herrmann.

19c9df44921bd4788bba608e9d0756f4fb1d5f89 17-Apr-2015 Tom Gundersen <teg@jklm.no>

sd-device: enumerator - don't expose add_device() This is rarely, if ever, used. Drop it from the new public API and only keep it for the legacy API. Suggested by David Herrmann.

96df036fe3d25525a44f5efdb2fc8560e82e6cfd 16-Apr-2015 Tom Gundersen <teg@jklm.no>

sd-device: add device-enumerator library