History log of /systemd/src/login/logind-session.c
Revision Date Author Comments Expand
b26fa1a2fbcfee7d03b0c8fd15ec3aa64ae70b9f 10-Feb-2016 Daniel Mack <daniel@zonque.org>

tree-wide: remove Emacs lines from all files This should be handled fine now by .dir-locals.el, so need to carry that stuff in every file.

/systemd/src/ac-power/ac-power.c /systemd/src/activate/activate.c /systemd/src/analyze/analyze-verify.c /systemd/src/analyze/analyze-verify.h /systemd/src/analyze/analyze.c /systemd/src/ask-password/ask-password.c /systemd/src/backlight/backlight.c /systemd/src/basic/af-list.c /systemd/src/basic/af-list.h /systemd/src/basic/alloc-util.c /systemd/src/basic/alloc-util.h /systemd/src/basic/arphrd-list.c /systemd/src/basic/arphrd-list.h /systemd/src/basic/async.c /systemd/src/basic/async.h /systemd/src/basic/audit-util.c /systemd/src/basic/audit-util.h /systemd/src/basic/barrier.c /systemd/src/basic/barrier.h /systemd/src/basic/bitmap.c /systemd/src/basic/bitmap.h /systemd/src/basic/blkid-util.h /systemd/src/basic/btrfs-ctree.h /systemd/src/basic/btrfs-util.c /systemd/src/basic/btrfs-util.h /systemd/src/basic/build.h /systemd/src/basic/bus-label.c /systemd/src/basic/bus-label.h /systemd/src/basic/calendarspec.c /systemd/src/basic/calendarspec.h /systemd/src/basic/cap-list.c /systemd/src/basic/cap-list.h /systemd/src/basic/capability-util.c /systemd/src/basic/capability-util.h /systemd/src/basic/cgroup-util.c /systemd/src/basic/cgroup-util.h /systemd/src/basic/chattr-util.c /systemd/src/basic/chattr-util.h /systemd/src/basic/clock-util.c /systemd/src/basic/clock-util.h /systemd/src/basic/conf-files.c /systemd/src/basic/conf-files.h /systemd/src/basic/copy.c /systemd/src/basic/copy.h /systemd/src/basic/cpu-set-util.c /systemd/src/basic/cpu-set-util.h /systemd/src/basic/def.h /systemd/src/basic/device-nodes.c /systemd/src/basic/device-nodes.h /systemd/src/basic/dirent-util.c /systemd/src/basic/dirent-util.h /systemd/src/basic/env-util.c /systemd/src/basic/env-util.h /systemd/src/basic/errno-list.c /systemd/src/basic/errno-list.h /systemd/src/basic/escape.c /systemd/src/basic/escape.h /systemd/src/basic/ether-addr-util.c /systemd/src/basic/ether-addr-util.h /systemd/src/basic/exit-status.c /systemd/src/basic/exit-status.h /systemd/src/basic/extract-word.c /systemd/src/basic/extract-word.h /systemd/src/basic/fd-util.c /systemd/src/basic/fd-util.h /systemd/src/basic/fdset.c /systemd/src/basic/fdset.h /systemd/src/basic/fileio-label.c /systemd/src/basic/fileio-label.h /systemd/src/basic/fileio.c /systemd/src/basic/fileio.h /systemd/src/basic/fs-util.c /systemd/src/basic/fs-util.h /systemd/src/basic/glob-util.c /systemd/src/basic/glob-util.h /systemd/src/basic/hash-funcs.c /systemd/src/basic/hash-funcs.h /systemd/src/basic/hashmap.c /systemd/src/basic/hashmap.h /systemd/src/basic/hexdecoct.c /systemd/src/basic/hexdecoct.h /systemd/src/basic/hostname-util.c /systemd/src/basic/hostname-util.h /systemd/src/basic/in-addr-util.c /systemd/src/basic/in-addr-util.h /systemd/src/basic/io-util.c /systemd/src/basic/io-util.h /systemd/src/basic/json.c /systemd/src/basic/json.h /systemd/src/basic/label.c /systemd/src/basic/label.h /systemd/src/basic/list.h /systemd/src/basic/locale-util.c /systemd/src/basic/locale-util.h /systemd/src/basic/lockfile-util.c /systemd/src/basic/lockfile-util.h /systemd/src/basic/log.c /systemd/src/basic/log.h /systemd/src/basic/login-util.c /systemd/src/basic/login-util.h /systemd/src/basic/macro.h /systemd/src/basic/memfd-util.c /systemd/src/basic/memfd-util.h /systemd/src/basic/mempool.c /systemd/src/basic/mempool.h /systemd/src/basic/missing.h /systemd/src/basic/mkdir-label.c /systemd/src/basic/mkdir.c /systemd/src/basic/mkdir.h /systemd/src/basic/mount-util.c /systemd/src/basic/mount-util.h /systemd/src/basic/nss-util.h /systemd/src/basic/ordered-set.h /systemd/src/basic/parse-util.c /systemd/src/basic/parse-util.h /systemd/src/basic/path-util.c /systemd/src/basic/path-util.h /systemd/src/basic/prioq.c /systemd/src/basic/prioq.h /systemd/src/basic/proc-cmdline.c /systemd/src/basic/proc-cmdline.h /systemd/src/basic/ratelimit.c /systemd/src/basic/ratelimit.h /systemd/src/basic/refcnt.h /systemd/src/basic/replace-var.c /systemd/src/basic/replace-var.h /systemd/src/basic/rlimit-util.c /systemd/src/basic/rlimit-util.h /systemd/src/basic/rm-rf.c /systemd/src/basic/rm-rf.h /systemd/src/basic/selinux-util.c /systemd/src/basic/selinux-util.h /systemd/src/basic/set.h /systemd/src/basic/sigbus.c /systemd/src/basic/sigbus.h /systemd/src/basic/signal-util.c /systemd/src/basic/signal-util.h /systemd/src/basic/smack-util.c /systemd/src/basic/smack-util.h /systemd/src/basic/socket-label.c /systemd/src/basic/socket-util.c /systemd/src/basic/socket-util.h /systemd/src/basic/special.h /systemd/src/basic/stat-util.c /systemd/src/basic/stat-util.h /systemd/src/basic/stdio-util.h /systemd/src/basic/strbuf.c /systemd/src/basic/strbuf.h /systemd/src/basic/string-table.c /systemd/src/basic/string-table.h /systemd/src/basic/string-util.c /systemd/src/basic/string-util.h /systemd/src/basic/strv.c /systemd/src/basic/strv.h /systemd/src/basic/strxcpyx.c /systemd/src/basic/strxcpyx.h /systemd/src/basic/syslog-util.c /systemd/src/basic/syslog-util.h /systemd/src/basic/time-util.c /systemd/src/basic/time-util.h /systemd/src/basic/umask-util.h /systemd/src/basic/unaligned.h /systemd/src/basic/unit-name.c /systemd/src/basic/unit-name.h /systemd/src/basic/user-util.c /systemd/src/basic/user-util.h /systemd/src/basic/utf8.c /systemd/src/basic/utf8.h /systemd/src/basic/util.c /systemd/src/basic/util.h /systemd/src/basic/verbs.c /systemd/src/basic/verbs.h /systemd/src/basic/virt.c /systemd/src/basic/virt.h /systemd/src/basic/web-util.c /systemd/src/basic/web-util.h /systemd/src/basic/xattr-util.c /systemd/src/basic/xattr-util.h /systemd/src/basic/xml.c /systemd/src/basic/xml.h /systemd/src/binfmt/binfmt.c /systemd/src/boot/bootctl.c /systemd/src/boot/efi/boot.c /systemd/src/boot/efi/console.c /systemd/src/boot/efi/console.h /systemd/src/boot/efi/disk.c /systemd/src/boot/efi/disk.h /systemd/src/boot/efi/graphics.c /systemd/src/boot/efi/graphics.h /systemd/src/boot/efi/linux.c /systemd/src/boot/efi/linux.h /systemd/src/boot/efi/pefile.c /systemd/src/boot/efi/pefile.h /systemd/src/boot/efi/splash.c /systemd/src/boot/efi/splash.h /systemd/src/boot/efi/stub.c /systemd/src/boot/efi/util.c /systemd/src/boot/efi/util.h /systemd/src/bootchart/bootchart.c /systemd/src/bootchart/bootchart.h /systemd/src/bootchart/store.c /systemd/src/bootchart/store.h /systemd/src/bootchart/svg.c /systemd/src/bootchart/svg.h /systemd/src/bus-proxyd/bus-proxyd.c /systemd/src/bus-proxyd/bus-xml-policy.c /systemd/src/bus-proxyd/bus-xml-policy.h /systemd/src/bus-proxyd/driver.c /systemd/src/bus-proxyd/driver.h /systemd/src/bus-proxyd/proxy.c /systemd/src/bus-proxyd/proxy.h /systemd/src/bus-proxyd/stdio-bridge.c /systemd/src/bus-proxyd/synthesize.c /systemd/src/bus-proxyd/synthesize.h /systemd/src/bus-proxyd/test-bus-xml-policy.c /systemd/src/cgls/cgls.c /systemd/src/cgroups-agent/cgroups-agent.c /systemd/src/cgtop/cgtop.c /systemd/src/core/audit-fd.c /systemd/src/core/audit-fd.h /systemd/src/core/automount.c /systemd/src/core/automount.h /systemd/src/core/bus-endpoint.h /systemd/src/core/bus-policy.h /systemd/src/core/busname.c /systemd/src/core/busname.h /systemd/src/core/cgroup.c /systemd/src/core/cgroup.h /systemd/src/core/dbus-automount.c /systemd/src/core/dbus-automount.h /systemd/src/core/dbus-busname.c /systemd/src/core/dbus-busname.h /systemd/src/core/dbus-cgroup.c /systemd/src/core/dbus-cgroup.h /systemd/src/core/dbus-device.c /systemd/src/core/dbus-device.h /systemd/src/core/dbus-execute.c /systemd/src/core/dbus-execute.h /systemd/src/core/dbus-job.c /systemd/src/core/dbus-job.h /systemd/src/core/dbus-kill.c /systemd/src/core/dbus-kill.h /systemd/src/core/dbus-manager.c /systemd/src/core/dbus-manager.h /systemd/src/core/dbus-mount.c /systemd/src/core/dbus-mount.h /systemd/src/core/dbus-path.c /systemd/src/core/dbus-path.h /systemd/src/core/dbus-scope.c /systemd/src/core/dbus-scope.h /systemd/src/core/dbus-service.c /systemd/src/core/dbus-service.h /systemd/src/core/dbus-slice.c /systemd/src/core/dbus-slice.h /systemd/src/core/dbus-socket.c /systemd/src/core/dbus-socket.h /systemd/src/core/dbus-swap.c /systemd/src/core/dbus-swap.h /systemd/src/core/dbus-target.c /systemd/src/core/dbus-target.h /systemd/src/core/dbus-timer.c /systemd/src/core/dbus-timer.h /systemd/src/core/dbus-unit.c /systemd/src/core/dbus-unit.h /systemd/src/core/dbus.c /systemd/src/core/dbus.h /systemd/src/core/device.c /systemd/src/core/device.h /systemd/src/core/execute.c /systemd/src/core/execute.h /systemd/src/core/failure-action.c /systemd/src/core/failure-action.h /systemd/src/core/hostname-setup.c /systemd/src/core/hostname-setup.h /systemd/src/core/ima-setup.c /systemd/src/core/ima-setup.h /systemd/src/core/job.c /systemd/src/core/job.h /systemd/src/core/kill.c /systemd/src/core/kill.h /systemd/src/core/killall.c /systemd/src/core/killall.h /systemd/src/core/kmod-setup.c /systemd/src/core/kmod-setup.h /systemd/src/core/load-dropin.c /systemd/src/core/load-dropin.h /systemd/src/core/load-fragment.c /systemd/src/core/load-fragment.h /systemd/src/core/locale-setup.c /systemd/src/core/locale-setup.h /systemd/src/core/loopback-setup.c /systemd/src/core/loopback-setup.h /systemd/src/core/machine-id-setup.c /systemd/src/core/machine-id-setup.h /systemd/src/core/main.c /systemd/src/core/manager.c /systemd/src/core/manager.h /systemd/src/core/mount-setup.c /systemd/src/core/mount-setup.h /systemd/src/core/mount.c /systemd/src/core/mount.h /systemd/src/core/namespace.c /systemd/src/core/namespace.h /systemd/src/core/path.c /systemd/src/core/path.h /systemd/src/core/scope.c /systemd/src/core/scope.h /systemd/src/core/selinux-access.c /systemd/src/core/selinux-access.h /systemd/src/core/selinux-setup.c /systemd/src/core/selinux-setup.h /systemd/src/core/service.c /systemd/src/core/service.h /systemd/src/core/show-status.c /systemd/src/core/show-status.h /systemd/src/core/shutdown.c /systemd/src/core/slice.c /systemd/src/core/slice.h /systemd/src/core/smack-setup.c /systemd/src/core/smack-setup.h /systemd/src/core/socket.c /systemd/src/core/socket.h /systemd/src/core/swap.c /systemd/src/core/swap.h /systemd/src/core/target.c /systemd/src/core/target.h /systemd/src/core/timer.c /systemd/src/core/timer.h /systemd/src/core/transaction.c /systemd/src/core/transaction.h /systemd/src/core/umount.c /systemd/src/core/umount.h /systemd/src/core/unit-printf.c /systemd/src/core/unit-printf.h /systemd/src/core/unit.c /systemd/src/core/unit.h /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/detect-virt/detect-virt.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/import/aufs-util.c /systemd/src/import/aufs-util.h /systemd/src/import/curl-util.c /systemd/src/import/curl-util.h /systemd/src/import/export-raw.c /systemd/src/import/export-raw.h /systemd/src/import/export-tar.c /systemd/src/import/export-tar.h /systemd/src/import/export.c /systemd/src/import/import-common.c /systemd/src/import/import-common.h /systemd/src/import/import-compress.c /systemd/src/import/import-compress.h /systemd/src/import/import-raw.c /systemd/src/import/import-raw.h /systemd/src/import/import-tar.c /systemd/src/import/import-tar.h /systemd/src/import/import.c /systemd/src/import/importd.c /systemd/src/import/pull-common.c /systemd/src/import/pull-common.h /systemd/src/import/pull-job.c /systemd/src/import/pull-job.h /systemd/src/import/pull-raw.c /systemd/src/import/pull-raw.h /systemd/src/import/pull-tar.c /systemd/src/import/pull-tar.h /systemd/src/import/pull.c /systemd/src/import/qcow2-util.c /systemd/src/import/qcow2-util.h /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-parse.h /systemd/src/journal-remote/journal-remote-write.c /systemd/src/journal-remote/journal-remote-write.h /systemd/src/journal-remote/journal-remote.c /systemd/src/journal-remote/journal-remote.h /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-remote/microhttpd-util.h /systemd/src/journal/audit-type.c /systemd/src/journal/audit-type.h /systemd/src/journal/cat.c /systemd/src/journal/catalog.c /systemd/src/journal/catalog.h /systemd/src/journal/compress.c /systemd/src/journal/compress.h /systemd/src/journal/coredump-vacuum.c /systemd/src/journal/coredump-vacuum.h /systemd/src/journal/coredump.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/fsprg.c /systemd/src/journal/fsprg.h /systemd/src/journal/journal-authenticate.c /systemd/src/journal/journal-authenticate.h /systemd/src/journal/journal-def.h /systemd/src/journal/journal-file.c /systemd/src/journal/journal-file.h /systemd/src/journal/journal-internal.h /systemd/src/journal/journal-qrcode.c /systemd/src/journal/journal-qrcode.h /systemd/src/journal/journal-send.c /systemd/src/journal/journal-vacuum.c /systemd/src/journal/journal-vacuum.h /systemd/src/journal/journal-verify.c /systemd/src/journal/journal-verify.h /systemd/src/journal/journalctl.c /systemd/src/journal/journald-audit.c /systemd/src/journal/journald-audit.h /systemd/src/journal/journald-console.c /systemd/src/journal/journald-console.h /systemd/src/journal/journald-kmsg.c /systemd/src/journal/journald-kmsg.h /systemd/src/journal/journald-native.c /systemd/src/journal/journald-native.h /systemd/src/journal/journald-rate-limit.c /systemd/src/journal/journald-rate-limit.h /systemd/src/journal/journald-server.c /systemd/src/journal/journald-server.h /systemd/src/journal/journald-stream.c /systemd/src/journal/journald-stream.h /systemd/src/journal/journald-syslog.c /systemd/src/journal/journald-syslog.h /systemd/src/journal/journald-wall.c /systemd/src/journal/journald-wall.h /systemd/src/journal/journald.c /systemd/src/journal/lookup3.h /systemd/src/journal/mmap-cache.c /systemd/src/journal/mmap-cache.h /systemd/src/journal/sd-journal.c /systemd/src/journal/stacktrace.c /systemd/src/journal/stacktrace.h /systemd/src/journal/test-audit-type.c /systemd/src/journal/test-catalog.c /systemd/src/journal/test-compress-benchmark.c /systemd/src/journal/test-coredump-vacuum.c /systemd/src/journal/test-journal-enum.c /systemd/src/journal/test-journal-flush.c /systemd/src/journal/test-journal-init.c /systemd/src/journal/test-journal-interleaving.c /systemd/src/journal/test-journal-match.c /systemd/src/journal/test-journal-send.c /systemd/src/journal/test-journal-stream.c /systemd/src/journal/test-journal-syslog.c /systemd/src/journal/test-journal-verify.c /systemd/src/journal/test-journal.c /systemd/src/journal/test-mmap-cache.c /systemd/src/libsystemd-network/arp-util.h /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/dhcp-lease-internal.h /systemd/src/libsystemd-network/dhcp-option.c /systemd/src/libsystemd-network/dhcp-protocol.h /systemd/src/libsystemd-network/dhcp-server-internal.h /systemd/src/libsystemd-network/dhcp6-internal.h /systemd/src/libsystemd-network/dhcp6-lease-internal.h /systemd/src/libsystemd-network/dhcp6-option.c /systemd/src/libsystemd-network/dhcp6-protocol.h /systemd/src/libsystemd-network/icmp6-util.h /systemd/src/libsystemd-network/lldp-internal.c /systemd/src/libsystemd-network/lldp-internal.h /systemd/src/libsystemd-network/lldp-network.c /systemd/src/libsystemd-network/lldp-network.h /systemd/src/libsystemd-network/lldp-port.c /systemd/src/libsystemd-network/lldp-port.h /systemd/src/libsystemd-network/lldp-tlv.c /systemd/src/libsystemd-network/lldp-tlv.h /systemd/src/libsystemd-network/lldp.h /systemd/src/libsystemd-network/network-internal.c /systemd/src/libsystemd-network/network-internal.h /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-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-option.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-bloom.c /systemd/src/libsystemd/sd-bus/bus-bloom.h /systemd/src/libsystemd/sd-bus/bus-common-errors.c /systemd/src/libsystemd/sd-bus/bus-common-errors.h /systemd/src/libsystemd/sd-bus/bus-container.c /systemd/src/libsystemd/sd-bus/bus-container.h /systemd/src/libsystemd/sd-bus/bus-control.c /systemd/src/libsystemd/sd-bus/bus-control.h /systemd/src/libsystemd/sd-bus/bus-convenience.c /systemd/src/libsystemd/sd-bus/bus-creds.c /systemd/src/libsystemd/sd-bus/bus-creds.h /systemd/src/libsystemd/sd-bus/bus-dump.c /systemd/src/libsystemd/sd-bus/bus-dump.h /systemd/src/libsystemd/sd-bus/bus-error.c /systemd/src/libsystemd/sd-bus/bus-error.h /systemd/src/libsystemd/sd-bus/bus-gvariant.c /systemd/src/libsystemd/sd-bus/bus-gvariant.h /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-introspect.h /systemd/src/libsystemd/sd-bus/bus-kernel.c /systemd/src/libsystemd/sd-bus/bus-kernel.h /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-objects.h /systemd/src/libsystemd/sd-bus/bus-protocol.h /systemd/src/libsystemd/sd-bus/bus-signature.c /systemd/src/libsystemd/sd-bus/bus-signature.h /systemd/src/libsystemd/sd-bus/bus-slot.c /systemd/src/libsystemd/sd-bus/bus-slot.h /systemd/src/libsystemd/sd-bus/bus-socket.c /systemd/src/libsystemd/sd-bus/bus-socket.h /systemd/src/libsystemd/sd-bus/bus-track.c /systemd/src/libsystemd/sd-bus/bus-track.h /systemd/src/libsystemd/sd-bus/bus-type.c /systemd/src/libsystemd/sd-bus/bus-type.h /systemd/src/libsystemd/sd-bus/busctl-introspect.c /systemd/src/libsystemd/sd-bus/busctl-introspect.h /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-introspect.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 /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 /systemd/src/libsystemd/sd-device/device-enumerator-private.h /systemd/src/libsystemd/sd-device/device-private.h /systemd/src/libsystemd/sd-device/device-util.h /systemd/src/libsystemd/sd-event/sd-event.c /systemd/src/libsystemd/sd-event/test-event.c /systemd/src/libsystemd/sd-hwdb/hwdb-util.h /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/local-addresses.c /systemd/src/libsystemd/sd-netlink/local-addresses.h /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-types.c /systemd/src/libsystemd/sd-netlink/netlink-types.h /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-local-addresses.c /systemd/src/libsystemd/sd-netlink/test-netlink.c /systemd/src/libsystemd/sd-network/network-util.c /systemd/src/libsystemd/sd-network/network-util.h /systemd/src/libsystemd/sd-network/sd-network.c /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/locale/localectl.c /systemd/src/locale/localed.c inhibit.c loginctl.c logind-acl.c logind-acl.h logind-action.c logind-action.h logind-button.c logind-button.h logind-core.c logind-dbus.c logind-device.c logind-device.h logind-inhibit.c logind-inhibit.h logind-seat-dbus.c logind-seat.c logind-seat.h logind-session-dbus.c logind-session-device.c logind-session-device.h logind-session.c logind-session.h logind-user-dbus.c logind-user.c logind-user.h logind-utmp.c logind.c logind.h pam_systemd.c sysfs-show.c sysfs-show.h test-inhibit.c test-login-shared.c /systemd/src/machine-id-setup/machine-id-setup-main.c /systemd/src/machine/image-dbus.c /systemd/src/machine/image-dbus.h /systemd/src/machine/machine-dbus.c /systemd/src/machine/machine-dbus.h /systemd/src/machine/machine.c /systemd/src/machine/machine.h /systemd/src/machine/machinectl.c /systemd/src/machine/machined-dbus.c /systemd/src/machine/machined.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-pool.h /systemd/src/network/networkd-address.c /systemd/src/network/networkd-address.h /systemd/src/network/networkd-dhcp4.c /systemd/src/network/networkd-dhcp6.c /systemd/src/network/networkd-fdb.c /systemd/src/network/networkd-fdb.h /systemd/src/network/networkd-ipv4ll.c /systemd/src/network/networkd-link-bus.c /systemd/src/network/networkd-link.c /systemd/src/network/networkd-link.h /systemd/src/network/networkd-manager-bus.c /systemd/src/network/networkd-manager.c /systemd/src/network/networkd-ndisc.c /systemd/src/network/networkd-netdev-bond.c /systemd/src/network/networkd-netdev-bond.h /systemd/src/network/networkd-netdev-bridge.c /systemd/src/network/networkd-netdev-bridge.h /systemd/src/network/networkd-netdev-dummy.c /systemd/src/network/networkd-netdev-dummy.h /systemd/src/network/networkd-netdev-ipvlan.c /systemd/src/network/networkd-netdev-ipvlan.h /systemd/src/network/networkd-netdev-macvlan.c /systemd/src/network/networkd-netdev-macvlan.h /systemd/src/network/networkd-netdev-tunnel.c /systemd/src/network/networkd-netdev-tunnel.h /systemd/src/network/networkd-netdev-tuntap.c /systemd/src/network/networkd-netdev-tuntap.h /systemd/src/network/networkd-netdev-veth.c /systemd/src/network/networkd-netdev-veth.h /systemd/src/network/networkd-netdev-vlan.c /systemd/src/network/networkd-netdev-vlan.h /systemd/src/network/networkd-netdev-vxlan.c /systemd/src/network/networkd-netdev-vxlan.h /systemd/src/network/networkd-netdev.c /systemd/src/network/networkd-netdev.h /systemd/src/network/networkd-network-bus.c /systemd/src/network/networkd-network.c /systemd/src/network/networkd-network.h /systemd/src/network/networkd-route.c /systemd/src/network/networkd-route.h /systemd/src/network/networkd-util.c /systemd/src/network/networkd-util.h /systemd/src/network/networkd-wait-online-link.c /systemd/src/network/networkd-wait-online-link.h /systemd/src/network/networkd-wait-online-manager.c /systemd/src/network/networkd-wait-online.h /systemd/src/network/networkd.c /systemd/src/network/networkd.h /systemd/src/network/test-network.c /systemd/src/notify/notify.c /systemd/src/nspawn/nspawn-cgroup.c /systemd/src/nspawn/nspawn-cgroup.h /systemd/src/nspawn/nspawn-expose-ports.c /systemd/src/nspawn/nspawn-expose-ports.h /systemd/src/nspawn/nspawn-mount.c /systemd/src/nspawn/nspawn-mount.h /systemd/src/nspawn/nspawn-network.c /systemd/src/nspawn/nspawn-network.h /systemd/src/nspawn/nspawn-register.c /systemd/src/nspawn/nspawn-register.h /systemd/src/nspawn/nspawn-settings.c /systemd/src/nspawn/nspawn-settings.h /systemd/src/nspawn/nspawn-setuid.c /systemd/src/nspawn/nspawn-setuid.h /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/remount-fs/remount-fs.c /systemd/src/reply-password/reply-password.c /systemd/src/resolve/dns-type.c /systemd/src/resolve/dns-type.h /systemd/src/resolve/resolve-tool.c /systemd/src/resolve/resolved-bus.c /systemd/src/resolve/resolved-bus.h /systemd/src/resolve/resolved-conf.c /systemd/src/resolve/resolved-conf.h /systemd/src/resolve/resolved-def.h /systemd/src/resolve/resolved-dns-answer.c /systemd/src/resolve/resolved-dns-answer.h /systemd/src/resolve/resolved-dns-cache.c /systemd/src/resolve/resolved-dns-cache.h /systemd/src/resolve/resolved-dns-dnssec.c /systemd/src/resolve/resolved-dns-dnssec.h /systemd/src/resolve/resolved-dns-packet.c /systemd/src/resolve/resolved-dns-packet.h /systemd/src/resolve/resolved-dns-query.c /systemd/src/resolve/resolved-dns-query.h /systemd/src/resolve/resolved-dns-question.c /systemd/src/resolve/resolved-dns-question.h /systemd/src/resolve/resolved-dns-rr.c /systemd/src/resolve/resolved-dns-rr.h /systemd/src/resolve/resolved-dns-scope.c /systemd/src/resolve/resolved-dns-scope.h /systemd/src/resolve/resolved-dns-search-domain.c /systemd/src/resolve/resolved-dns-search-domain.h /systemd/src/resolve/resolved-dns-server.c /systemd/src/resolve/resolved-dns-server.h /systemd/src/resolve/resolved-dns-stream.c /systemd/src/resolve/resolved-dns-stream.h /systemd/src/resolve/resolved-dns-transaction.c /systemd/src/resolve/resolved-dns-transaction.h /systemd/src/resolve/resolved-dns-trust-anchor.c /systemd/src/resolve/resolved-dns-trust-anchor.h /systemd/src/resolve/resolved-dns-zone.c /systemd/src/resolve/resolved-dns-zone.h /systemd/src/resolve/resolved-link-bus.c /systemd/src/resolve/resolved-link-bus.h /systemd/src/resolve/resolved-link.c /systemd/src/resolve/resolved-link.h /systemd/src/resolve/resolved-llmnr.c /systemd/src/resolve/resolved-llmnr.h /systemd/src/resolve/resolved-manager.c /systemd/src/resolve/resolved-manager.h /systemd/src/resolve/resolved-mdns.c /systemd/src/resolve/resolved-mdns.h /systemd/src/resolve/resolved-resolv-conf.c /systemd/src/resolve/resolved-resolv-conf.h /systemd/src/resolve/resolved.c /systemd/src/resolve/test-dnssec-complex.c /systemd/src/resolve/test-dnssec.c /systemd/src/rfkill/rfkill.c /systemd/src/run/run.c /systemd/src/shared/acl-util.c /systemd/src/shared/acl-util.h /systemd/src/shared/acpi-fpdt.c /systemd/src/shared/acpi-fpdt.h /systemd/src/shared/apparmor-util.c /systemd/src/shared/apparmor-util.h /systemd/src/shared/architecture.c /systemd/src/shared/architecture.h /systemd/src/shared/ask-password-api.c /systemd/src/shared/ask-password-api.h /systemd/src/shared/base-filesystem.c /systemd/src/shared/base-filesystem.h /systemd/src/shared/boot-timestamps.c /systemd/src/shared/boot-timestamps.h /systemd/src/shared/bus-util.c /systemd/src/shared/bus-util.h /systemd/src/shared/cgroup-show.c /systemd/src/shared/cgroup-show.h /systemd/src/shared/clean-ipc.c /systemd/src/shared/clean-ipc.h /systemd/src/shared/condition.c /systemd/src/shared/condition.h /systemd/src/shared/conf-parser.c /systemd/src/shared/conf-parser.h /systemd/src/shared/dev-setup.c /systemd/src/shared/dev-setup.h /systemd/src/shared/dns-domain.c /systemd/src/shared/dns-domain.h /systemd/src/shared/dropin.c /systemd/src/shared/dropin.h /systemd/src/shared/efivars.c /systemd/src/shared/efivars.h /systemd/src/shared/firewall-util.c /systemd/src/shared/firewall-util.h /systemd/src/shared/fstab-util.c /systemd/src/shared/fstab-util.h /systemd/src/shared/generator.c /systemd/src/shared/generator.h /systemd/src/shared/gpt.h /systemd/src/shared/ima-util.c /systemd/src/shared/ima-util.h /systemd/src/shared/import-util.c /systemd/src/shared/import-util.h /systemd/src/shared/install-printf.c /systemd/src/shared/install-printf.h /systemd/src/shared/install.c /systemd/src/shared/install.h /systemd/src/shared/logs-show.c /systemd/src/shared/logs-show.h /systemd/src/shared/machine-image.c /systemd/src/shared/machine-image.h /systemd/src/shared/machine-pool.c /systemd/src/shared/machine-pool.h /systemd/src/shared/output-mode.h /systemd/src/shared/pager.c /systemd/src/shared/pager.h /systemd/src/shared/path-lookup.c /systemd/src/shared/path-lookup.h /systemd/src/shared/ptyfwd.c /systemd/src/shared/ptyfwd.h /systemd/src/shared/resolve-util.c /systemd/src/shared/resolve-util.h /systemd/src/shared/seccomp-util.c /systemd/src/shared/seccomp-util.h /systemd/src/shared/sleep-config.c /systemd/src/shared/sleep-config.h /systemd/src/shared/spawn-ask-password-agent.c /systemd/src/shared/spawn-ask-password-agent.h /systemd/src/shared/spawn-polkit-agent.c /systemd/src/shared/spawn-polkit-agent.h /systemd/src/shared/specifier.c /systemd/src/shared/specifier.h /systemd/src/shared/switch-root.c /systemd/src/shared/switch-root.h /systemd/src/shared/sysctl-util.c /systemd/src/shared/sysctl-util.h /systemd/src/shared/udev-util.h /systemd/src/shared/uid-range.c /systemd/src/shared/uid-range.h /systemd/src/shared/utmp-wtmp.c /systemd/src/shared/utmp-wtmp.h /systemd/src/shared/watchdog.c /systemd/src/shared/watchdog.h /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/systemctl/systemctl.c /systemd/src/systemd/_sd-common.h /systemd/src/systemd/sd-bus-protocol.h /systemd/src/systemd/sd-bus-vtable.h /systemd/src/systemd/sd-bus.h /systemd/src/systemd/sd-daemon.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-id128.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-messages.h /systemd/src/systemd/sd-ndisc.h /systemd/src/systemd/sd-netlink.h /systemd/src/systemd/sd-network.h /systemd/src/systemd/sd-path.h /systemd/src/systemd/sd-resolve.h /systemd/src/systemd/sd-utf8.h /systemd/src/sysusers/sysusers.c /systemd/src/sysv-generator/sysv-generator.c /systemd/src/test/test-acl-util.c /systemd/src/test/test-architecture.c /systemd/src/test/test-ask-password-api.c /systemd/src/test/test-barrier.c /systemd/src/test/test-boot-timestamps.c /systemd/src/test/test-btrfs.c /systemd/src/test/test-calendarspec.c /systemd/src/test/test-cap-list.c /systemd/src/test/test-cgroup-mask.c /systemd/src/test/test-cgroup-util.c /systemd/src/test/test-cgroup.c /systemd/src/test/test-conf-files.c /systemd/src/test/test-daemon.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-engine.c /systemd/src/test/test-env-replace.c /systemd/src/test/test-extract-word.c /systemd/src/test/test-fileio.c /systemd/src/test/test-firewall-util.c /systemd/src/test/test-fstab-util.c /systemd/src/test/test-helper.h /systemd/src/test/test-hostname-util.c /systemd/src/test/test-hostname.c /systemd/src/test/test-id128.c /systemd/src/test/test-install-root.c /systemd/src/test/test-install.c /systemd/src/test/test-ipcrm.c /systemd/src/test/test-job-type.c /systemd/src/test/test-json.c /systemd/src/test/test-libudev.c /systemd/src/test/test-log.c /systemd/src/test/test-loopback.c /systemd/src/test/test-namespace.c /systemd/src/test/test-netlink-manual.c /systemd/src/test/test-ns.c /systemd/src/test/test-parse-util.c /systemd/src/test/test-path-lookup.c /systemd/src/test/test-path-util.c /systemd/src/test/test-prioq.c /systemd/src/test/test-replace-var.c /systemd/src/test/test-sched-prio.c /systemd/src/test/test-sigbus.c /systemd/src/test/test-siphash24.c /systemd/src/test/test-sleep.c /systemd/src/test/test-strbuf.c /systemd/src/test/test-string-util.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-time.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-watchdog.c /systemd/src/test/test-xml.c /systemd/src/timedate/timedatectl.c /systemd/src/timedate/timedated.c /systemd/src/timesync/timesyncd-conf.c /systemd/src/timesync/timesyncd-conf.h /systemd/src/timesync/timesyncd-manager.c /systemd/src/timesync/timesyncd-manager.h /systemd/src/timesync/timesyncd-server.c /systemd/src/timesync/timesyncd-server.h /systemd/src/timesync/timesyncd.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/tty-ask-password-agent/tty-ask-password-agent.c /systemd/src/udev/net/ethtool-util.c /systemd/src/udev/net/ethtool-util.h /systemd/src/udev/net/link-config.c /systemd/src/udev/net/link-config.h /systemd/src/udev/scsi_id/scsi.h /systemd/src/udev/scsi_id/scsi_id.c /systemd/src/udev/scsi_id/scsi_id.h /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-net_setup_link.c /systemd/src/udev/udev-builtin-path_id.c /systemd/src/udev/udev-builtin-uaccess.c /systemd/src/udev/udev-builtin-usb_id.c /systemd/src/udev/udev-builtin.c /systemd/src/udev/udev-ctrl.c /systemd/src/udev/udev-event.c /systemd/src/udev/udev-node.c /systemd/src/udev/udev-rules.c /systemd/src/udev/udev-watch.c /systemd/src/udev/udev.h /systemd/src/udev/udevadm-control.c /systemd/src/udev/udevadm-hwdb.c /systemd/src/udev/udevadm-info.c /systemd/src/udev/udevadm-monitor.c /systemd/src/udev/udevadm-settle.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-util.h /systemd/src/udev/udevadm.c /systemd/src/udev/udevd.c /systemd/src/udev/v4l_id/v4l_id.c /systemd/src/update-done/update-done.c /systemd/src/update-utmp/update-utmp.c /systemd/src/user-sessions/user-sessions.c /systemd/src/vconsole/vconsole-setup.c
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 /systemd/src/libsystemd/sd-device/device-enumerator.c /systemd/src/libsystemd/sd-device/device-private.c /systemd/src/libsystemd/sd-device/device-util.h /systemd/src/libsystemd/sd-device/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 inhibit.c loginctl.c logind-action.c logind-core.c logind-dbus.c logind-seat-dbus.c logind-session-dbus.c logind-session-device.c logind-session.c logind-user-dbus.c logind-user.c logind.c pam_systemd.c 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
cf0fbc49e67b55f8d346fc94de28c90113505297 16-Nov-2015 Thomas Hindoe Paaboel Andersen <phomes@gmail.com>

tree-wide: sort includes Sort the includes accoding to the new coding style.

/systemd/src/backlight/backlight.c /systemd/src/basic/af-list.c /systemd/src/basic/arphrd-list.c /systemd/src/basic/calendarspec.c /systemd/src/basic/cap-list.c /systemd/src/basic/errno-list.c /systemd/src/basic/exit-status.c /systemd/src/basic/fdset.c /systemd/src/basic/fileio-label.c /systemd/src/basic/json.c /systemd/src/basic/label.c /systemd/src/basic/lockfile-util.c /systemd/src/basic/login-util.c /systemd/src/basic/mempool.c /systemd/src/basic/mkdir-label.c /systemd/src/basic/mkdir.c /systemd/src/basic/selinux-util.c /systemd/src/basic/sigbus.c /systemd/src/basic/siphash24.c /systemd/src/basic/strv.c /systemd/src/basic/strxcpyx.c /systemd/src/basic/user-util.c /systemd/src/basic/utf8.c /systemd/src/basic/util.c /systemd/src/boot/efi/boot.c /systemd/src/boot/efi/console.c /systemd/src/boot/efi/graphics.c /systemd/src/boot/efi/linux.c /systemd/src/boot/efi/pefile.c /systemd/src/boot/efi/splash.c /systemd/src/boot/efi/stub.c /systemd/src/bootchart/svg.c /systemd/src/bus-proxyd/stdio-bridge.c /systemd/src/core/audit-fd.c /systemd/src/core/dbus-automount.c /systemd/src/core/dbus-busname.c /systemd/src/core/dbus-device.c /systemd/src/core/dbus-kill.c /systemd/src/core/dbus-mount.c /systemd/src/core/dbus-path.c /systemd/src/core/dbus-slice.c /systemd/src/core/dbus-swap.c /systemd/src/core/dbus-target.c /systemd/src/core/device.c /systemd/src/core/hostname-setup.c /systemd/src/core/ima-setup.c /systemd/src/core/kmod-setup.c /systemd/src/core/load-dropin.c /systemd/src/core/load-fragment.c /systemd/src/core/locale-setup.c /systemd/src/core/main.c /systemd/src/core/mount-setup.c /systemd/src/core/selinux-access.c /systemd/src/core/selinux-setup.c /systemd/src/core/slice.c /systemd/src/core/swap.c /systemd/src/core/transaction.c /systemd/src/core/umount.c /systemd/src/fsck/fsck.c /systemd/src/gpt-auto-generator/gpt-auto-generator.c /systemd/src/hibernate-resume/hibernate-resume.c /systemd/src/hostname/hostnamed.c /systemd/src/import/aufs-util.c /systemd/src/import/export-raw.c /systemd/src/import/pull-tar.c /systemd/src/initctl/initctl.c /systemd/src/journal-remote/journal-upload-journal.c /systemd/src/journal-remote/microhttpd-util.c /systemd/src/journal/audit-type.c /systemd/src/journal/journal-authenticate.c /systemd/src/journal/journal-qrcode.c /systemd/src/journal/journal-verify.c /systemd/src/journal/journald-console.c /systemd/src/journal/journald-kmsg.c /systemd/src/journal/journald-rate-limit.c /systemd/src/journal/journald-server.c /systemd/src/journal/journald-wall.c /systemd/src/journal/journald.c /systemd/src/journal/lookup3.c /systemd/src/journal/mmap-cache.c /systemd/src/journal/test-catalog.c /systemd/src/journal/test-journal-enum.c /systemd/src/journal/test-journal-interleaving.c /systemd/src/journal/test-journal-verify.c /systemd/src/journal/test-journal.c /systemd/src/libsystemd-network/dhcp-identifier.c /systemd/src/libsystemd-network/dhcp-option.c /systemd/src/libsystemd-network/dhcp-packet.c /systemd/src/libsystemd-network/dhcp6-option.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/test-acd.c /systemd/src/libsystemd-network/test-dhcp-client.c /systemd/src/libsystemd-network/test-dhcp-option.c /systemd/src/libsystemd/sd-bus/bus-bloom.c /systemd/src/libsystemd/sd-bus/bus-common-errors.c /systemd/src/libsystemd/sd-bus/bus-container.c /systemd/src/libsystemd/sd-bus/bus-control.c /systemd/src/libsystemd/sd-bus/bus-error.c /systemd/src/libsystemd/sd-bus/bus-gvariant.c /systemd/src/libsystemd/sd-bus/bus-objects.c /systemd/src/libsystemd/sd-bus/bus-slot.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-bus/test-bus-chat.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-introspect.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-signature.c /systemd/src/libsystemd/sd-bus/test-bus-zero-copy.c /systemd/src/libsystemd/sd-id128/sd-id128.c /systemd/src/libsystemd/sd-netlink/local-addresses.c /systemd/src/libsystemd/sd-netlink/netlink-util.c /systemd/src/libsystemd/sd-netlink/test-local-addresses.c /systemd/src/libsystemd/sd-utf8/sd-utf8.c /systemd/src/libudev/libudev-device-private.c /systemd/src/libudev/libudev-device.c /systemd/src/libudev/libudev-enumerate.c /systemd/src/libudev/libudev-monitor.c /systemd/src/libudev/libudev-queue.c /systemd/src/libudev/libudev-util.c /systemd/src/libudev/libudev.c logind-core.c logind-session-device.c logind-session.c logind-utmp.c logind.c sysfs-show.c test-login-shared.c test-login-tables.c /systemd/src/machine-id-setup/machine-id-setup-main.c /systemd/src/machine/machine.c /systemd/src/machine/test-machine-tables.c /systemd/src/network/networkctl.c /systemd/src/network/networkd-fdb.c /systemd/src/network/networkd-ipv4ll.c /systemd/src/network/networkd-link-bus.c /systemd/src/network/networkd-netdev-bond.c /systemd/src/network/networkd-netdev-bridge.c /systemd/src/network/networkd-netdev-tuntap.c /systemd/src/network/networkd-netdev-veth.c /systemd/src/network/networkd-netdev-vxlan.c /systemd/src/network/test-network-tables.c /systemd/src/network/test-network.c /systemd/src/nspawn/nspawn-network.c /systemd/src/quotacheck/quotacheck.c /systemd/src/remount-fs/remount-fs.c /systemd/src/resolve-host/resolve-host.c /systemd/src/resolve/resolved-llmnr.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/architecture.c /systemd/src/shared/boot-timestamps.c /systemd/src/shared/clean-ipc.c /systemd/src/shared/efivars.c /systemd/src/shared/firewall-util.c /systemd/src/shared/path-lookup.c /systemd/src/shared/ptyfwd.c /systemd/src/shared/seccomp-util.c /systemd/src/shared/spawn-ask-password-agent.c /systemd/src/shared/spawn-polkit-agent.c /systemd/src/shared/sysctl-util.c /systemd/src/shared/watchdog.c /systemd/src/test/test-architecture.c /systemd/src/test/test-boot-timestamps.c /systemd/src/test/test-cgroup-mask.c /systemd/src/test/test-engine.c /systemd/src/test/test-fileio.c /systemd/src/test/test-firewall-util.c /systemd/src/test/test-hashmap.c /systemd/src/test/test-install.c /systemd/src/test/test-job-type.c /systemd/src/test/test-libudev.c /systemd/src/test/test-locale-util.c /systemd/src/test/test-log.c /systemd/src/test/test-loopback.c /systemd/src/test/test-ns.c /systemd/src/test/test-ratelimit.c /systemd/src/test/test-sched-prio.c /systemd/src/test/test-siphash24.c /systemd/src/test/test-sleep.c /systemd/src/test/test-tables.c /systemd/src/test/test-terminal-util.c /systemd/src/test/test-time.c /systemd/src/test/test-unaligned.c /systemd/src/test/test-utf8.c /systemd/src/test/test-watchdog.c /systemd/src/udev/ata_id/ata_id.c /systemd/src/udev/cdrom_id/cdrom_id.c /systemd/src/udev/mtd_probe/mtd_probe.c /systemd/src/udev/mtd_probe/probe_smartmedia.c /systemd/src/udev/scsi_id/scsi_id.c /systemd/src/udev/scsi_id/scsi_serial.c /systemd/src/udev/udev-builtin-uaccess.c /systemd/src/udev/udev-ctrl.c /systemd/src/udev/udev-watch.c /systemd/src/udev/udevadm-control.c /systemd/src/udev/udevadm-monitor.c /systemd/src/udev/udevadm-settle.c /systemd/src/udev/v4l_id/v4l_id.c
90558f315844ec35e3fd4f1a19ac38c8721c9354 13-Nov-2015 Lennart Poettering <lennart@poettering.net>

logind: add a new UserTasksMax= setting to logind.conf This new setting configures the TasksMax= field for the slice objects we create for each user. This alters logind to create the slice unit as transient unit explicitly instead of relying on implicit generation of slice units by simply starting them. This also enables us to set a friendly description for slice units that way.

38599489e49e840291516488a3ef1b4a56198c58 13-Nov-2015 Lennart Poettering <lennart@poettering.net>

logind: don't assert if the slice is missing After all, we don't actually really need the slice to work, it's just nice to have it.

709f6e46a35ec492b70eb92943d82a8d838ce918 05-Nov-2015 Michal Schmidt <mschmidt@redhat.com>

treewide: use the negative error codes returned by our functions Our functions return negative error codes. Do not rely on errno being set after calling our own functions.

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 /systemd/src/libsystemd/sd-device/device-enumerator.c /systemd/src/libsystemd/sd-device/device-private.c /systemd/src/libsystemd/sd-device/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 inhibit.c loginctl.c logind-acl.c logind-action.c logind-button.c logind-core.c logind-dbus.c logind-device.c logind-inhibit.c logind-seat-dbus.c logind-seat.c logind-session-dbus.c logind-session-device.c logind-session.c logind-user-dbus.c logind-user.c logind-utmp.c logind.c pam_systemd.c 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
430f0182b72373145c839dbfe99d2382855cb8f8 27-Oct-2015 Lennart Poettering <lennart@poettering.net>

src/basic: rename audit.[ch] → audit-util.[ch] and capability.[ch] → capability-util.[ch] The files are named too generically, so that they might conflict with the upstream project headers. Hence, let's add a "-util" suffix, to clarify that this are just our utility headers and not any official upstream headers.

/systemd/Makefile.am /systemd/src/basic/audit-util.c /systemd/src/basic/audit-util.h /systemd/src/basic/capability-util.c /systemd/src/basic/capability-util.h /systemd/src/bus-proxyd/bus-proxyd.c /systemd/src/core/dbus-execute.c /systemd/src/core/execute.c /systemd/src/core/kmod-setup.c /systemd/src/core/main.c /systemd/src/import/import-common.c /systemd/src/import/pull-common.c /systemd/src/journal/coredump.c /systemd/src/journal/journald-server.c /systemd/src/journal/journald-server.h /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-kernel.c logind-dbus.c logind-session.c logind-utmp.c pam_systemd.c /systemd/src/network/networkd.c /systemd/src/nspawn/nspawn.c /systemd/src/resolve/resolved.c /systemd/src/shared/condition.c /systemd/src/test/test-cap-list.c /systemd/src/test/test-capability.c /systemd/src/test/test-condition.c /systemd/src/timesync/timesyncd.c /systemd/src/tmpfiles/tmpfiles.c
8b43440b7ef4b81c69c31de7ff820dc07a780254 27-Oct-2015 Lennart Poettering <lennart@poettering.net>

util-lib: move string table stuff into its own string-table.[ch]

/systemd/Makefile.am /systemd/src/basic/cgroup-util.c /systemd/src/basic/locale-util.c /systemd/src/basic/log.c /systemd/src/basic/rlimit-util.c /systemd/src/basic/signal-util.c /systemd/src/basic/smack-util.c /systemd/src/basic/socket-util.c /systemd/src/basic/string-table.c /systemd/src/basic/string-table.h /systemd/src/basic/unit-name.c /systemd/src/basic/util.c /systemd/src/basic/util.h /systemd/src/basic/virt.c /systemd/src/bus-proxyd/bus-xml-policy.c /systemd/src/core/automount.c /systemd/src/core/bus-policy.c /systemd/src/core/busname.c /systemd/src/core/cgroup.c /systemd/src/core/execute.c /systemd/src/core/failure-action.c /systemd/src/core/job.c /systemd/src/core/kill.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/service.c /systemd/src/core/show-status.c /systemd/src/core/socket.c /systemd/src/core/swap.c /systemd/src/core/timer.c /systemd/src/import/import-compress.c /systemd/src/import/importd.c /systemd/src/journal-remote/journal-remote.c /systemd/src/journal/compress.c /systemd/src/journal/coredump.c /systemd/src/journal/journald-server.c /systemd/src/libsystemd-network/sd-dhcp6-client.c /systemd/src/libsystemd/sd-device/device-private.c /systemd/src/libsystemd/sd-netlink/netlink-types.c logind-action.c logind-inhibit.c logind-session.c logind-user.c /systemd/src/machine/machine.c /systemd/src/network/networkctl.c /systemd/src/network/networkd-link.c /systemd/src/network/networkd-netdev-bond.c /systemd/src/network/networkd-netdev-ipvlan.c /systemd/src/network/networkd-netdev-macvlan.c /systemd/src/network/networkd-netdev-tunnel.c /systemd/src/network/networkd-netdev.c /systemd/src/network/networkd-network.c /systemd/src/network/networkd-util.c /systemd/src/resolve/resolved-dns-packet.c /systemd/src/resolve/resolved-dns-transaction.c /systemd/src/resolve/resolved-manager.c /systemd/src/rfkill/rfkill.c /systemd/src/shared/architecture.c /systemd/src/shared/condition.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/tmpfiles/tmpfiles.c /systemd/src/udev/net/ethtool-util.c /systemd/src/udev/net/link-config.c
6bedfcbb2970e06a4d3280c8fb62083d252ede73 27-Oct-2015 Lennart Poettering <lennart@poettering.net>

util-lib: split string parsing related calls from util.[ch] into parse-util.[ch]

/systemd/Makefile.am /systemd/src/analyze/analyze.c /systemd/src/backlight/backlight.c /systemd/src/basic/audit.c /systemd/src/basic/cap-list.c /systemd/src/basic/capability.c /systemd/src/basic/cgroup-util.c /systemd/src/basic/cpu-set-util.c /systemd/src/basic/fd-util.c /systemd/src/basic/fdset.c /systemd/src/basic/log.c /systemd/src/basic/parse-util.c /systemd/src/basic/parse-util.h /systemd/src/basic/path-util.c /systemd/src/basic/signal-util.c /systemd/src/basic/signal-util.h /systemd/src/basic/socket-util.c /systemd/src/basic/terminal-util.c /systemd/src/basic/user-util.c /systemd/src/basic/util.c /systemd/src/basic/util.h /systemd/src/bootchart/bootchart.c /systemd/src/bootchart/store.c /systemd/src/cgtop/cgtop.c /systemd/src/core/automount.c /systemd/src/core/busname.c /systemd/src/core/cgroup.c /systemd/src/core/dbus-execute.c /systemd/src/core/device.c /systemd/src/core/execute.c /systemd/src/core/job.c /systemd/src/core/killall.c /systemd/src/core/load-fragment.c /systemd/src/core/main.c /systemd/src/core/manager.c /systemd/src/core/mount.c /systemd/src/core/service.c /systemd/src/core/show-status.c /systemd/src/core/shutdown.c /systemd/src/core/snapshot.c /systemd/src/core/snapshot.h /systemd/src/core/socket.c /systemd/src/core/swap.c /systemd/src/core/timer.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/firstboot/firstboot.c /systemd/src/fsck/fsck.c /systemd/src/fstab-generator/fstab-generator.c /systemd/src/gpt-auto-generator/gpt-auto-generator.c /systemd/src/hostname/hostnamed.c /systemd/src/import/importd.c /systemd/src/import/pull-job.c /systemd/src/import/pull.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/coredump.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/journal-file.c /systemd/src/journal/journal-vacuum.c /systemd/src/journal/journalctl.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/test-compress-benchmark.c /systemd/src/journal/test-journal-init.c /systemd/src/journal/test-journal-interleaving.c /systemd/src/journal/test-journal-stream.c /systemd/src/libsystemd-network/network-internal.c /systemd/src/libsystemd-network/sd-dhcp-lease.c /systemd/src/libsystemd-network/test-ipv4ll-manual.c /systemd/src/libsystemd/sd-bus/bus-creds.c /systemd/src/libsystemd/sd-bus/bus-kernel.c /systemd/src/libsystemd/sd-bus/busctl.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-daemon/sd-daemon.c /systemd/src/libsystemd/sd-device/device-private.c /systemd/src/libsystemd/sd-device/sd-device.c /systemd/src/libsystemd/sd-login/sd-login.c /systemd/src/libsystemd/sd-network/sd-network.c /systemd/src/libudev/libudev-device.c loginctl.c logind-inhibit.c logind-seat.c logind-session.c logind-user.c pam_systemd.c /systemd/src/machine/machine.c /systemd/src/machine/machinectl.c /systemd/src/network/networkctl.c /systemd/src/network/networkd-address.c /systemd/src/network/networkd-link-bus.c /systemd/src/network/networkd-netdev-tunnel.c /systemd/src/network/networkd-network.c /systemd/src/network/networkd-route.c /systemd/src/network/networkd-util.c /systemd/src/notify/notify.c /systemd/src/nspawn/nspawn-expose-ports.c /systemd/src/nspawn/nspawn-mount.c /systemd/src/nspawn/nspawn.c /systemd/src/resolve-host/resolve-host.c /systemd/src/resolve/resolved-conf.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/apparmor-util.c /systemd/src/shared/bus-util.c /systemd/src/shared/condition.c /systemd/src/shared/conf-parser.c /systemd/src/shared/dns-domain.c /systemd/src/shared/efivars.c /systemd/src/shared/fstab-util.c /systemd/src/shared/logs-show.c /systemd/src/shared/machine-pool.c /systemd/src/shared/sleep-config.c /systemd/src/systemctl/systemctl.c /systemd/src/test/test-btrfs.c /systemd/src/test/test-cap-list.c /systemd/src/test/test-cgroup-util.c /systemd/src/test/test-fileio.c /systemd/src/test/test-util.c /systemd/src/timedate/timedatectl.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/udev/net/link-config.c /systemd/src/udev/udev-builtin-keyboard.c /systemd/src/udev/udevadm-settle.c /systemd/src/udev/udevd.c
b1d4f8e154bf61b5de1b27461ef8e9c8c5e838a1 26-Oct-2015 Lennart Poettering <lennart@poettering.net>

util-lib: split out user/group/uid/gid calls into user-util.[ch]

/systemd/Makefile.am /systemd/src/basic/audit.c /systemd/src/basic/cgroup-util.c /systemd/src/basic/process-util.c /systemd/src/basic/user-util.c /systemd/src/basic/user-util.h /systemd/src/basic/util.c /systemd/src/basic/util.h /systemd/src/bus-proxyd/bus-proxyd.c /systemd/src/bus-proxyd/bus-xml-policy.c /systemd/src/bus-proxyd/stdio-bridge.c /systemd/src/core/bus-policy.c /systemd/src/core/execute.c /systemd/src/core/main.c /systemd/src/core/socket.c /systemd/src/core/timer.c /systemd/src/core/unit-printf.c /systemd/src/core/unit.c /systemd/src/journal/coredump-vacuum.c /systemd/src/journal/coredump.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/journalctl.c /systemd/src/libsystemd/sd-bus/bus-socket.c /systemd/src/libsystemd/sd-bus/busctl.c /systemd/src/libsystemd/sd-login/sd-login.c /systemd/src/libsystemd/sd-path/sd-path.c inhibit.c loginctl.c logind-action.c logind-core.c logind-dbus.c logind-inhibit.c logind-session.c logind-user-dbus.c logind-utmp.c /systemd/src/machine/machined-dbus.c /systemd/src/network/networkd-netdev-tuntap.c /systemd/src/network/networkd.c /systemd/src/nspawn/nspawn-setuid.c /systemd/src/nspawn/nspawn.c /systemd/src/nss-mymachines/nss-mymachines.c /systemd/src/resolve/resolved.c /systemd/src/run/run.c /systemd/src/shared/acl-util.c /systemd/src/shared/install-printf.c /systemd/src/shared/uid-range.c /systemd/src/shared/utmp-wtmp.c /systemd/src/systemctl/systemctl.c /systemd/src/sysusers/sysusers.c /systemd/src/test/test-ipcrm.c /systemd/src/test/test-util.c /systemd/src/timesync/timesyncd.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/udev/udev-rules.c
c004493cdefc1f43a3956ca529e8070f8d70be56 26-Oct-2015 Lennart Poettering <lennart@poettering.net>

util-lib: split out IO related calls to io-util.[ch]

/systemd/Makefile.am /systemd/src/basic/copy.c /systemd/src/basic/io-util.c /systemd/src/basic/io-util.h /systemd/src/basic/random-util.c /systemd/src/basic/terminal-util.c /systemd/src/basic/util.c /systemd/src/basic/util.h /systemd/src/bootchart/bootchart.c /systemd/src/core/automount.c /systemd/src/core/execute.c /systemd/src/core/machine-id-setup.c /systemd/src/core/manager.c /systemd/src/import/import-raw.c /systemd/src/import/import-tar.c /systemd/src/import/pull-common.c /systemd/src/import/pull-job.c /systemd/src/journal/compress.c /systemd/src/journal/journal-send.c /systemd/src/journal/journalctl.c /systemd/src/journal/sd-journal.c /systemd/src/libsystemd/sd-id128/sd-id128.c /systemd/src/libsystemd/sd-login/sd-login.c /systemd/src/libsystemd/sd-resolve/sd-resolve.c /systemd/src/libudev/libudev-queue.c logind-session.c /systemd/src/random-seed/random-seed.c /systemd/src/resolve/resolved-manager.c /systemd/src/rfkill/rfkill.c /systemd/src/shared/ask-password-api.c /systemd/src/shared/efivars.c /systemd/src/shared/logs-show.c /systemd/src/shared/spawn-polkit-agent.c /systemd/src/systemctl/systemctl.c /systemd/src/test/test-util.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/tty-ask-password-agent/tty-ask-password-agent.c /systemd/src/udev/udevd.c /systemd/src/update-done/update-done.c /systemd/src/vconsole/vconsole-setup.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 /systemd/src/libsystemd/sd-device/device-enumerator.c /systemd/src/libsystemd/sd-device/device-private.c /systemd/src/libsystemd/sd-device/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 inhibit.c logind-acl.c logind-button.c logind-core.c logind-dbus.c logind-inhibit.c logind-seat.c logind-session-dbus.c logind-session-device.c logind-session.c logind-user.c logind.c pam_systemd.c 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
4f5dd3943bef8a04be7e3b838b822bb9a7ad6cb3 24-Oct-2015 Lennart Poettering <lennart@poettering.net>

util: split out escaping code into escape.[ch] This really deserves its own file, given how much code this is now.

/systemd/Makefile.am /systemd/src/backlight/backlight.c /systemd/src/basic/escape.c /systemd/src/basic/escape.h /systemd/src/basic/extract-word.c /systemd/src/basic/fileio.c /systemd/src/basic/process-util.c /systemd/src/basic/strv.c /systemd/src/basic/util.c /systemd/src/basic/util.h /systemd/src/core/job.c /systemd/src/core/load-fragment.c /systemd/src/core/manager.c /systemd/src/core/mount.c /systemd/src/core/service.c /systemd/src/core/swap.c /systemd/src/core/umount.c /systemd/src/core/unit.c /systemd/src/cryptsetup/cryptsetup.c /systemd/src/import/pull-common.c /systemd/src/journal-remote/journal-remote.c /systemd/src/journal/coredump.c /systemd/src/journal/journald-kmsg.c /systemd/src/journal/journald-stream.c /systemd/src/libsystemd/sd-bus/busctl.c /systemd/src/libsystemd/sd-login/sd-login.c logind-acl.c logind-dbus.c logind-inhibit.c logind-session.c logind-user.c /systemd/src/machine/machine.c /systemd/src/nspawn/nspawn-mount.c /systemd/src/rfkill/rfkill.c /systemd/src/shared/bus-util.c /systemd/src/shared/dropin.c /systemd/src/shared/generator.c /systemd/src/test/test-util.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/udev/udev-rules.c
16597ac3903ddb68d5ef75e6aaa37e43866a376d 22-Oct-2015 Lennart Poettering <lennart@poettering.net>

logind: minor clean-ups

94c156cd452424ea59931920df2454d9da7cb774 09-Sep-2015 Lennart Poettering <lennart@poettering.net>

tree-wide: make use of log_error_errno() return value in more cases The previous coccinelle semantic patch that improved usage of log_error_errno()'s return value, only looked for log_error_errno() invocations with a single parameter after the error parameter. Update the patch to handle arbitrary numbers of additional arguments.

a1e58e8ee1c84b633d6d6d651d5328d4dd4eba5b 09-Sep-2015 Lennart Poettering <lennart@poettering.net>

tree-wide: use coccinelle to patch a lot of code to use mfree() This replaces this: free(p); p = NULL; by this: p = mfree(p); Change generated using coccinelle. Semantic patch is added to the sources.

/systemd/coccinelle/mfree.cocci /systemd/src/analyze/analyze.c /systemd/src/basic/bitmap.c /systemd/src/basic/lockfile-util.c /systemd/src/basic/strv.c /systemd/src/core/automount.c /systemd/src/core/busname.c /systemd/src/core/dbus-execute.c /systemd/src/core/device.c /systemd/src/core/execute.c /systemd/src/core/load-fragment.c /systemd/src/core/main.c /systemd/src/core/manager.c /systemd/src/core/mount.c /systemd/src/core/scope.c /systemd/src/core/service.c /systemd/src/core/socket.c /systemd/src/core/swap.c /systemd/src/hostname/hostnamed.c /systemd/src/import/export-tar.c /systemd/src/import/import-raw.c /systemd/src/import/import-tar.c /systemd/src/import/pull-dkr.c /systemd/src/journal-remote/journal-gatewayd.c /systemd/src/journal-remote/journal-remote-write.c /systemd/src/journal-remote/journal-upload-journal.c /systemd/src/libsystemd/sd-bus/bus-creds.c /systemd/src/libsystemd/sd-bus/bus-message.c /systemd/src/libsystemd/sd-bus/busctl-introspect.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-netlink/netlink-message.c /systemd/src/libudev/libudev-list.c logind-dbus.c logind-inhibit.c logind-session.c logind-user.c /systemd/src/machine/machine.c /systemd/src/network/networkd-netdev-tuntap.c /systemd/src/network/networkd-wait-online-link.c /systemd/src/shared/bus-util.c /systemd/src/shared/conf-parser.c /systemd/src/udev/udev-rules.c
128df4cfe93e6de6afb38a2160167339d88f4e1a 18-Aug-2015 Owen W. Taylor <otaylor@fishsoup.net>

logind: get a fresh file descriptor to clean up a VT When the controlling process exits, any existing file descriptors for that FD will be marked as hung-up and ioctls on them will file with EIO. To work around this, open a new file descriptor for the VT we want to clean up. Thanks to Ray Strode for help in sorting out the problem and coming up with a fix! https://github.com/systemd/systemd/issues/989

2235695335c56cf91df8dbae0ea49889b209da17 18-Aug-2015 Owen W. Taylor <otaylor@fishsoup.net>

logind: use open_terminal() instead of open() The open_terminal() function adds retries in case a terminal is in the process of being closed when we open it, and should generally be used to open a terminal. We especially need it for code that a subsequent commit adds that reopens the terminal at session shut-down time; such races would be more likely in that case. Found by Ray Strode.

491ac9f2c4aeda8c40edde35112404b737e38b60 06-Aug-2015 Lennart Poettering <lennart@poettering.net>

logind,machined: various smaller cleanups Use mfree() where we can. Drop unnecessary {}. Drop unnecessary variable declarations. Cast syscall invocations where explicitly don't care for the return value to (void). Reword a comment.

3cde9e8fa0ae2a424ae2e6e27e14668ca5d90c98 05-Aug-2015 Daniel Mack <daniel@zonque.org>

logind: switch to sd_bus_track helper Let logind use the sd_bus_track helper object to track the controllers of sessions. This does not only remove quite some code but also kills the unconditional matches for all NameOwnerChanged signals. The latter is something we should never ever do, as it wakes up the daemon every time a client connects, which doesn't scale.

10189fd6be0f547d75bc857860f3ecbbdbc447a6 31-Jul-2015 David Herrmann <dh.herrmann@gmail.com>

logind: release VT-positions when closing sessions Make sure we release VT-positions when a session is closed. Otherwise, lingering sessions will occupy VTs and prevent next logins from succeeding. Note that we already release session-devices when closing a session, so there cannot be anyone using the VT anymore.

dacd6cee76a08331b8c8616c5f30f70ee49aa2f9 29-Jul-2015 Lennart Poettering <lennart@poettering.net>

tree-wide: port everything over to fflush_and_check() Some places invoked fflush() directly with their own manual error checking, let's unify all that by using fflush_and_check(). This also unifies the general error paths of fflush()+rename() file writers.

/systemd/src/basic/calendarspec.c /systemd/src/basic/fileio.c /systemd/src/boot/bootctl.c /systemd/src/core/dbus-manager.c /systemd/src/core/manager.c /systemd/src/gpt-auto-generator/gpt-auto-generator.c /systemd/src/journal-remote/journal-upload.c /systemd/src/journal/catalog.c /systemd/src/journal/journald-stream.c /systemd/src/libsystemd-network/sd-dhcp-lease.c /systemd/src/libsystemd-network/sd-lldp.c /systemd/src/libsystemd/sd-bus/bus-dump.c /systemd/src/libsystemd/sd-bus/bus-introspect.c /systemd/src/libsystemd/sd-bus/bus-match.c /systemd/src/libsystemd/sd-device/device-private.c /systemd/src/locale/localed.c logind-dbus.c logind-inhibit.c logind-seat.c logind-session.c logind-user.c /systemd/src/machine/machine.c /systemd/src/network/networkd-link.c /systemd/src/network/networkd-manager.c /systemd/src/shared/ask-password-api.c
e6494a07cbbfa93dd83782fa1f8554aa4d2353bd 10-Jul-2015 David Herrmann <dh.herrmann@gmail.com>

logind: rename 'pos' to 'position' Spell out the proper name. Use 'pos' over 'position', and also update the logind state file to do the same. Note that this breaks live updates. However, we only save 'POSITION' on non-seat0, so this shouldn't bother anyone for real. If you run multi-seat setups, you better restart a machine on updates, anyway.

288a74cce597f81d3ba01d8a5ca7d2ba5b654b7e 11-Apr-2015 Ronny Chevalier <chevalier.ronny@gmail.com>

shared: add terminal-util.[ch]

/systemd/.gitignore /systemd/Makefile.am /systemd/src/analyze/analyze.c /systemd/src/cgtop/cgtop.c /systemd/src/core/execute.c /systemd/src/core/failure-action.c /systemd/src/core/job.c /systemd/src/core/killall.c /systemd/src/core/main.c /systemd/src/core/manager.c /systemd/src/core/shutdown.c /systemd/src/core/transaction.c /systemd/src/delta/delta.c /systemd/src/firstboot/firstboot.c /systemd/src/getty-generator/getty-generator.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/journal-verify.c /systemd/src/journal/journalctl.c /systemd/src/journal/journald-console.c /systemd/src/journal/test-journal-verify.c /systemd/src/libsystemd/sd-bus/bus-dump.c /systemd/src/libsystemd/sd-bus/busctl.c loginctl.c logind-action.c logind-core.c logind-dbus.c logind-seat.c logind-session.c pam_systemd.c sysfs-show.c /systemd/src/machine/machinectl.c /systemd/src/network/networkctl.c /systemd/src/nspawn/nspawn.c /systemd/src/shared/ask-password-api.c /systemd/src/shared/cgroup-show.c /systemd/src/shared/log.c /systemd/src/shared/logs-show.c /systemd/src/shared/pager.c /systemd/src/shared/terminal-util.c /systemd/src/shared/terminal-util.h /systemd/src/shared/util.c /systemd/src/shared/util.h /systemd/src/shared/utmp-wtmp.c /systemd/src/systemctl/systemctl.c /systemd/src/test/test-ellipsize.c /systemd/src/test/test-process-util.c /systemd/src/test/test-strip-tab-ansi.c /systemd/src/test/test-terminal-util.c /systemd/src/test/test-util.c /systemd/src/timedate/timedatectl.c /systemd/src/tty-ask-password-agent/tty-ask-password-agent.c /systemd/src/vconsole/vconsole-setup.c
6482f6269c87d2249e52e889a63adbdd50f2d691 10-Apr-2015 Ronny Chevalier <chevalier.ronny@gmail.com>

shared: add formats-util.h

/systemd/src/bus-proxyd/bus-proxyd.c /systemd/src/bus-proxyd/bus-xml-policy.c /systemd/src/bus-proxyd/proxy.c /systemd/src/bus-proxyd/stdio-bridge.c /systemd/src/core/automount.c /systemd/src/core/busname.c /systemd/src/core/dbus-manager.c /systemd/src/core/execute.c /systemd/src/core/killall.c /systemd/src/core/main.c /systemd/src/core/mount.c /systemd/src/core/service.c /systemd/src/core/socket.c /systemd/src/core/swap.c /systemd/src/core/unit-printf.c /systemd/src/core/unit.c /systemd/src/initctl/initctl.c /systemd/src/journal-remote/journal-upload.c /systemd/src/journal/journald-console.c /systemd/src/journal/journald-kmsg.c /systemd/src/journal/journald-server.c /systemd/src/journal/journald-syslog.c /systemd/src/journal/journald-wall.c /systemd/src/journal/journald.c /systemd/src/journal/sd-journal.c /systemd/src/journal/stacktrace.c /systemd/src/libsystemd/sd-bus/bus-creds.c /systemd/src/libsystemd/sd-bus/bus-dump.c /systemd/src/libsystemd/sd-bus/bus-kernel.c /systemd/src/libsystemd/sd-bus/bus-socket.c /systemd/src/libsystemd/sd-bus/test-bus-chat.c /systemd/src/libsystemd/sd-login/sd-login.c /systemd/src/libsystemd/sd-login/test-login.c /systemd/src/libsystemd/sd-rtnl/rtnl-message.c /systemd/src/libudev/libudev-monitor.c inhibit.c logind-acl.c logind-action.c logind-dbus.c logind-inhibit.c logind-seat.c logind-session.c logind-user-dbus.c logind-user.c logind.c pam_systemd.c /systemd/src/machine/machine-dbus.c /systemd/src/machine/machine.c /systemd/src/machine/machined-dbus.c /systemd/src/machine/machined.c /systemd/src/notify/notify.c /systemd/src/nspawn/nspawn.c /systemd/src/run/run.c /systemd/src/shared/ask-password-api.c /systemd/src/shared/cgroup-show.c /systemd/src/shared/cgroup-util.c /systemd/src/shared/clean-ipc.c /systemd/src/shared/formats-util.h /systemd/src/shared/install-printf.c /systemd/src/shared/log.c /systemd/src/shared/logs-show.c /systemd/src/shared/socket-util.c /systemd/src/shared/util.c /systemd/src/shared/util.h /systemd/src/shutdownd/shutdownd.c /systemd/src/systemctl/systemctl.c /systemd/src/sysusers/sysusers.c /systemd/src/test/test-cgroup-util.c /systemd/src/test/test-log.c /systemd/src/test/test-tmpfiles.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/udev/udev-ctrl.c /systemd/src/udev/udev-event.c /systemd/src/udev/udev-node.c /systemd/src/udev/udevadm-monitor.c /systemd/src/udev/udevd.c /systemd/src/update-utmp/update-utmp.c
ad8780c96999c99f5aefb00193f2e3d68b1db217 15-Mar-2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

logind: check return value of session_release It allocates memory, so it can fail. CID #1237527.

2bf105232f82ef5c9073b8f9809bd9d987257b1c 14-Mar-2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

logind: explicitly ignore errors we can do nothing about CID #1237545.

15411c0cb1192799b37ec8f25d6f30e8d7292fc6 13-Mar-2015 David Herrmann <dh.herrmann@gmail.com>

tree-wide: there is no ENOTSUP on linux Replace ENOTSUP by EOPNOTSUPP as this is what linux actually uses.

/systemd/man/sd_event_add_time.xml /systemd/src/bus-proxyd/driver.c /systemd/src/core/bus-policy.c /systemd/src/core/job.c /systemd/src/core/load-fragment.c /systemd/src/core/unit-printf.c /systemd/src/core/unit.c /systemd/src/import/import-compress.c /systemd/src/import/qcow2-util.c /systemd/src/journal-remote/journal-remote.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/journal-authenticate.c /systemd/src/journal/journal-verify.c /systemd/src/journal/journalctl.c /systemd/src/libsystemd-network/lldp-internal.c /systemd/src/libsystemd/sd-bus/bus-common-errors.c /systemd/src/libsystemd/sd-bus/bus-control.c /systemd/src/libsystemd/sd-bus/bus-creds.c /systemd/src/libsystemd/sd-bus/bus-error.c /systemd/src/libsystemd/sd-bus/bus-kernel.c /systemd/src/libsystemd/sd-bus/bus-message.c /systemd/src/libsystemd/sd-bus/bus-util.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-bus/test-bus-error.c /systemd/src/libsystemd/sd-event/sd-event.c /systemd/src/libsystemd/sd-path/sd-path.c /systemd/src/libsystemd/sd-rtnl/rtnl-message.c /systemd/src/libsystemd/sd-rtnl/rtnl-types.c /systemd/src/libsystemd/sd-rtnl/sd-rtnl.c logind-action.c logind-session.c /systemd/src/machine/machinectl.c /systemd/src/notify/notify.c /systemd/src/nspawn/nspawn.c /systemd/src/path/path.c /systemd/src/resolve/resolved-dns-scope.c /systemd/src/shared/copy.c /systemd/src/shared/fw-util.c /systemd/src/shared/fw-util.h /systemd/src/shared/install.c /systemd/src/shared/machine-image.c /systemd/src/shared/selinux-util.c /systemd/src/shared/smack-util.c /systemd/src/shared/socket-util.c /systemd/src/shared/util.c /systemd/src/systemctl/systemctl.c /systemd/src/timedate/timedated.c /systemd/src/tmpfiles/tmpfiles.c
2eec67acbb00593e414549a7e5b35eb7dd776b1b 23-Feb-2015 Thomas Hindoe Paaboel Andersen <phomes@gmail.com>

remove unused includes This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use.

/systemd/src/activate/activate.c /systemd/src/analyze/analyze-verify.c /systemd/src/analyze/analyze.c /systemd/src/ask-password/ask-password.c /systemd/src/binfmt/binfmt.c /systemd/src/boot/bootctl.c /systemd/src/bootchart/bootchart.c /systemd/src/bootchart/bootchart.h /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/bus-xml-policy.h /systemd/src/bus-proxyd/driver.c /systemd/src/bus-proxyd/proxy.c /systemd/src/bus-proxyd/proxy.h /systemd/src/bus-proxyd/stdio-bridge.c /systemd/src/bus-proxyd/synthesize.c /systemd/src/bus-proxyd/test-bus-xml-policy.c /systemd/src/cgls/cgls.c /systemd/src/console/consoled-display.c /systemd/src/console/consoled-manager.c /systemd/src/console/consoled-session.c /systemd/src/console/consoled-terminal.c /systemd/src/console/consoled-workspace.c /systemd/src/console/consoled.c /systemd/src/console/consoled.h /systemd/src/core/automount.c /systemd/src/core/busname.h /systemd/src/core/cgroup.h /systemd/src/core/dbus-automount.c /systemd/src/core/dbus-automount.h /systemd/src/core/dbus-busname.c /systemd/src/core/dbus-busname.h /systemd/src/core/dbus-device.c /systemd/src/core/dbus-device.h /systemd/src/core/dbus-manager.h /systemd/src/core/dbus-mount.c /systemd/src/core/dbus-path.c /systemd/src/core/dbus-path.h /systemd/src/core/dbus-service.c /systemd/src/core/dbus-slice.c /systemd/src/core/dbus-snapshot.c /systemd/src/core/dbus-socket.c /systemd/src/core/dbus-swap.c /systemd/src/core/dbus-target.c /systemd/src/core/dbus-target.h /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/device.h /systemd/src/core/execute.c /systemd/src/core/execute.h /systemd/src/core/failure-action.c /systemd/src/core/hostname-setup.c /systemd/src/core/ima-setup.c /systemd/src/core/job.c /systemd/src/core/job.h /systemd/src/core/kill.c /systemd/src/core/killall.c /systemd/src/core/kmod-setup.c /systemd/src/core/load-dropin.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/main.c /systemd/src/core/manager.c /systemd/src/core/manager.h /systemd/src/core/mount-setup.c /systemd/src/core/mount.c /systemd/src/core/mount.h /systemd/src/core/namespace.c /systemd/src/core/path.c /systemd/src/core/path.h /systemd/src/core/scope.c /systemd/src/core/scope.h /systemd/src/core/selinux-access.c /systemd/src/core/selinux-access.h /systemd/src/core/selinux-setup.c /systemd/src/core/service.c /systemd/src/core/service.h /systemd/src/core/shutdown.c /systemd/src/core/slice.c /systemd/src/core/slice.h /systemd/src/core/smack-setup.c /systemd/src/core/snapshot.h /systemd/src/core/socket.c /systemd/src/core/socket.h /systemd/src/core/swap.c /systemd/src/core/swap.h /systemd/src/core/target.c /systemd/src/core/target.h /systemd/src/core/timer.c /systemd/src/core/timer.h /systemd/src/core/transaction.c /systemd/src/core/umount.c /systemd/src/core/unit-printf.c /systemd/src/core/unit.c /systemd/src/core/unit.h /systemd/src/cryptsetup/cryptsetup-generator.c /systemd/src/cryptsetup/cryptsetup.c /systemd/src/delta/delta.c /systemd/src/detect-virt/detect-virt.c /systemd/src/efi-boot-generator/efi-boot-generator.c /systemd/src/fsck/fsck.c /systemd/src/fstab-generator/fstab-generator.c /systemd/src/gpt-auto-generator/gpt-auto-generator.c /systemd/src/gudev/gudevclient.c /systemd/src/gudev/gudevdevice.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/initctl/initctl.c /systemd/src/journal-remote/journal-remote-write.h /systemd/src/journal-remote/journal-remote.c /systemd/src/journal-remote/journal-remote.h /systemd/src/journal/cat.c /systemd/src/journal/catalog.c /systemd/src/journal/compress.c /systemd/src/journal/compress.h /systemd/src/journal/coredump.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/fsprg.c /systemd/src/journal/journal-authenticate.h /systemd/src/journal/journal-file.c /systemd/src/journal/journal-qrcode.h /systemd/src/journal/journal-vacuum.c /systemd/src/journal/journal-vacuum.h /systemd/src/journal/journal-verify.c /systemd/src/journal/journalctl.c /systemd/src/journal/journald-console.c /systemd/src/journal/journald-rate-limit.h /systemd/src/journal/journald-server.c /systemd/src/journal/journald-server.h /systemd/src/journal/journald-stream.c /systemd/src/journal/journald.c /systemd/src/journal/mmap-cache.c /systemd/src/journal/mmap-cache.h /systemd/src/journal/test-catalog.c /systemd/src/journal/test-journal-enum.c /systemd/src/journal/test-journal-interleaving.c /systemd/src/journal/test-journal-verify.c /systemd/src/journal/test-journal.c /systemd/src/journal/test-mmap-cache.c /systemd/src/libsystemd-network/dhcp-identifier.c /systemd/src/libsystemd-network/dhcp-identifier.h /systemd/src/libsystemd-network/dhcp-network.c /systemd/src/libsystemd-network/dhcp-packet.c /systemd/src/libsystemd-network/lldp-network.c /systemd/src/libsystemd-network/network-internal.c /systemd/src/libsystemd-network/network-internal.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-lldp.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-dhcp-server.c /systemd/src/libsystemd-network/test-lldp.c /systemd/src/libsystemd-network/test-pppoe.c /systemd/src/libsystemd-terminal/evcat.c /systemd/src/libsystemd-terminal/grdev-drm.c /systemd/src/libsystemd-terminal/grdev.c /systemd/src/libsystemd-terminal/grdev.h /systemd/src/libsystemd-terminal/idev-evdev.c /systemd/src/libsystemd-terminal/idev-keyboard.c /systemd/src/libsystemd-terminal/idev.c /systemd/src/libsystemd-terminal/idev.h /systemd/src/libsystemd-terminal/modeset.c /systemd/src/libsystemd-terminal/subterm.c /systemd/src/libsystemd-terminal/sysview.c /systemd/src/libsystemd-terminal/sysview.h /systemd/src/libsystemd-terminal/term-charset.c /systemd/src/libsystemd-terminal/term-page.c /systemd/src/libsystemd-terminal/term-wcwidth.c /systemd/src/libsystemd-terminal/test-term-page.c /systemd/src/libsystemd-terminal/test-term-parser.c /systemd/src/libsystemd-terminal/test-unifont.c /systemd/src/libsystemd-terminal/unifont.c /systemd/src/libsystemd-terminal/unifont.h /systemd/src/libsystemd/sd-bus/bus-bloom.h /systemd/src/libsystemd/sd-bus/bus-common-errors.h /systemd/src/libsystemd/sd-bus/bus-container.c /systemd/src/libsystemd/sd-bus/bus-control.c /systemd/src/libsystemd/sd-bus/bus-creds.c /systemd/src/libsystemd/sd-bus/bus-creds.h /systemd/src/libsystemd/sd-bus/bus-dump.c /systemd/src/libsystemd/sd-bus/bus-gvariant.c /systemd/src/libsystemd/sd-bus/bus-internal.h /systemd/src/libsystemd/sd-bus/bus-introspect.c /systemd/src/libsystemd/sd-bus/bus-introspect.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-message.h /systemd/src/libsystemd/sd-bus/bus-signature.h /systemd/src/libsystemd/sd-bus/bus-socket.c /systemd/src/libsystemd/sd-bus/bus-track.c /systemd/src/libsystemd/sd-bus/bus-type.c /systemd/src/libsystemd/sd-bus/bus-type.h /systemd/src/libsystemd/sd-bus/bus-util.h /systemd/src/libsystemd/sd-bus/busctl-introspect.h /systemd/src/libsystemd/sd-bus/busctl.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-bus/test-bus-chat.c /systemd/src/libsystemd/sd-bus/test-bus-creds.c /systemd/src/libsystemd/sd-bus/test-bus-introspect.c /systemd/src/libsystemd/sd-bus/test-bus-kernel-benchmark.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-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 /systemd/src/libsystemd/sd-event/sd-event.c /systemd/src/libsystemd/sd-hwdb/sd-hwdb.c /systemd/src/libsystemd/sd-network/network-util.h /systemd/src/libsystemd/sd-network/sd-network.c /systemd/src/libsystemd/sd-resolve/sd-resolve.c /systemd/src/libsystemd/sd-resolve/test-resolve.c /systemd/src/libsystemd/sd-rtnl/local-addresses.h /systemd/src/libsystemd/sd-rtnl/rtnl-message.c /systemd/src/libsystemd/sd-rtnl/rtnl-types.c /systemd/src/libsystemd/sd-rtnl/rtnl-util.c /systemd/src/libsystemd/sd-rtnl/rtnl-util.h /systemd/src/libsystemd/sd-rtnl/test-rtnl.c /systemd/src/libudev/libudev-device-private.c /systemd/src/libudev/libudev-enumerate.c /systemd/src/libudev/libudev-list.c /systemd/src/libudev/libudev-monitor.c /systemd/src/libudev/libudev-queue.c /systemd/src/libudev/libudev-util.c /systemd/src/libudev/libudev.c /systemd/src/libudev/libudev.h /systemd/src/locale/localectl.c /systemd/src/locale/localed.c inhibit.c loginctl.c logind-acl.c logind-action.c logind-action.h logind-button.c logind-button.h logind-core.c logind-dbus.c logind-device.c logind-device.h logind-inhibit.c logind-inhibit.h logind-seat.c logind-seat.h logind-session-device.c logind-session-device.h logind-session.c logind-session.h logind-user.c logind-user.h logind.c logind.h test-inhibit.c user-sessions.c /systemd/src/machine-id-commit/machine-id-commit.c /systemd/src/machine-id-setup/machine-id-setup-main.c /systemd/src/machine/image-dbus.c /systemd/src/machine/machine-dbus.c /systemd/src/machine/machine-dbus.h /systemd/src/machine/machine.c /systemd/src/machine/machine.h /systemd/src/machine/machinectl.c /systemd/src/machine/machined-dbus.c /systemd/src/machine/machined.c /systemd/src/machine/machined.h /systemd/src/modules-load/modules-load.c /systemd/src/network/networkd-address-pool.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-bond.c /systemd/src/network/networkd-netdev-bridge.c /systemd/src/network/networkd-netdev-dummy.c /systemd/src/network/networkd-netdev-ipvlan.c /systemd/src/network/networkd-netdev-macvlan.c /systemd/src/network/networkd-netdev-tunnel.c /systemd/src/network/networkd-netdev-veth.c /systemd/src/network/networkd-netdev-vlan.c /systemd/src/network/networkd-netdev-vxlan.c /systemd/src/network/networkd-netdev.c /systemd/src/network/networkd-netdev.h /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/networkd-wait-online.h /systemd/src/network/networkd.c /systemd/src/network/test-network-tables.c /systemd/src/notify/notify.c /systemd/src/nspawn/nspawn.c /systemd/src/nss-myhostname/nss-myhostname.c /systemd/src/nss-resolve/nss-resolve.c /systemd/src/path/path.c /systemd/src/quotacheck/quotacheck.c /systemd/src/remount-fs/remount-fs.c /systemd/src/reply-password/reply-password.c /systemd/src/resolve-host/resolve-host.c /systemd/src/resolve/resolved-dns-cache.h /systemd/src/resolve/resolved-dns-domain.h /systemd/src/resolve/resolved-dns-packet.h /systemd/src/resolve/resolved-dns-query.c /systemd/src/resolve/resolved-dns-query.h /systemd/src/resolve/resolved-dns-rr.h /systemd/src/resolve/resolved-dns-scope.h /systemd/src/resolve/resolved-dns-server.h /systemd/src/resolve/resolved-dns-stream.h /systemd/src/resolve/resolved-dns-transaction.h /systemd/src/resolve/resolved-link.h /systemd/src/resolve/resolved-manager.c /systemd/src/resolve/resolved-manager.h /systemd/src/resolve/resolved.c /systemd/src/resolve/test-dns-domain.c /systemd/src/shared/acl-util.c /systemd/src/shared/acpi-fpdt.c /systemd/src/shared/apparmor-util.c /systemd/src/shared/arphrd-list.c /systemd/src/shared/ask-password-api.h /systemd/src/shared/audit.c /systemd/src/shared/audit.h /systemd/src/shared/barrier.c /systemd/src/shared/barrier.h /systemd/src/shared/base-filesystem.c /systemd/src/shared/boot-timestamps.c /systemd/src/shared/btrfs-util.c /systemd/src/shared/bus-label.c /systemd/src/shared/cap-list.c /systemd/src/shared/capability.c /systemd/src/shared/capability.h /systemd/src/shared/cgroup-show.h /systemd/src/shared/cgroup-util.c /systemd/src/shared/clean-ipc.c /systemd/src/shared/clock-util.c /systemd/src/shared/clock-util.h /systemd/src/shared/condition.c /systemd/src/shared/conf-files.c /systemd/src/shared/conf-files.h /systemd/src/shared/conf-parser.c /systemd/src/shared/dev-setup.c /systemd/src/shared/device-nodes.c /systemd/src/shared/efivars.c /systemd/src/shared/efivars.h /systemd/src/shared/env-util.c /systemd/src/shared/env-util.h /systemd/src/shared/errno-list.c /systemd/src/shared/exit-status.c /systemd/src/shared/fdset.c /systemd/src/shared/fdset.h /systemd/src/shared/fileio-label.c /systemd/src/shared/generator.c /systemd/src/shared/hashmap.c /systemd/src/shared/install-printf.c /systemd/src/shared/install.c /systemd/src/shared/json.c /systemd/src/shared/json.h /systemd/src/shared/log.h /systemd/src/shared/logs-show.c /systemd/src/shared/logs-show.h /systemd/src/shared/machine-image.c /systemd/src/shared/memfd-util.c /systemd/src/shared/memfd-util.h /systemd/src/shared/mkdir-label.c /systemd/src/shared/mkdir.c /systemd/src/shared/mkdir.h /systemd/src/shared/pager.c /systemd/src/shared/path-lookup.c /systemd/src/shared/path-util.c /systemd/src/shared/pty.c /systemd/src/shared/pty.h /systemd/src/shared/ptyfwd.c /systemd/src/shared/ptyfwd.h /systemd/src/shared/ratelimit.c /systemd/src/shared/ring.c /systemd/src/shared/ring.h /systemd/src/shared/selinux-util.c /systemd/src/shared/selinux-util.h /systemd/src/shared/socket-label.c /systemd/src/shared/socket-util.c /systemd/src/shared/socket-util.h /systemd/src/shared/spawn-ask-password-agent.c /systemd/src/shared/spawn-polkit-agent.c /systemd/src/shared/strbuf.h /systemd/src/shared/strv.c /systemd/src/shared/strxcpyx.h /systemd/src/shared/time-dst.c /systemd/src/shared/unit-name.c /systemd/src/shared/util.c /systemd/src/shared/util.h /systemd/src/shared/utmp-wtmp.c /systemd/src/shutdownd/shutdownd.c /systemd/src/sleep/sleep.c /systemd/src/socket-proxy/socket-proxyd.c /systemd/src/system-update-generator/system-update-generator.c /systemd/src/systemctl/systemctl.c /systemd/src/sysusers/sysusers.c /systemd/src/sysv-generator/sysv-generator.c /systemd/src/test/test-barrier.c /systemd/src/test/test-btrfs.c /systemd/src/test/test-cap-list.c /systemd/src/test/test-capability.c /systemd/src/test/test-cgroup-mask.c /systemd/src/test/test-cgroup-util.c /systemd/src/test/test-cgroup.c /systemd/src/test/test-ellipsize.c /systemd/src/test/test-engine.c /systemd/src/test/test-env-replace.c /systemd/src/test/test-execute.c /systemd/src/test/test-hashmap.c /systemd/src/test/test-hostname.c /systemd/src/test/test-install.c /systemd/src/test/test-job-type.c /systemd/src/test/test-json.c /systemd/src/test/test-libudev.c /systemd/src/test/test-locale-util.c /systemd/src/test/test-loopback.c /systemd/src/test/test-ns.c /systemd/src/test/test-path-lookup.c /systemd/src/test/test-pty.c /systemd/src/test/test-ring.c /systemd/src/test/test-rtnl-manual.c /systemd/src/test/test-set.c /systemd/src/test/test-sleep.c /systemd/src/test/test-strxcpyx.c /systemd/src/test/test-tables.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-watchdog.c /systemd/src/timedate/timedatectl.c /systemd/src/timedate/timedated.c /systemd/src/timesync/timesyncd-conf.c /systemd/src/timesync/timesyncd-manager.c /systemd/src/timesync/timesyncd-manager.h /systemd/src/timesync/timesyncd.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/udev/accelerometer/accelerometer.c /systemd/src/udev/collect/collect.c /systemd/src/udev/net/link-config.c /systemd/src/udev/net/link-config.h /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-keyboard.c /systemd/src/udev/udev-builtin-kmod.c /systemd/src/udev/udev-builtin-uaccess.c /systemd/src/udev/udev-builtin.c /systemd/src/udev/udev-ctrl.c /systemd/src/udev/udev-event.c /systemd/src/udev/udev-node.c /systemd/src/udev/udev-watch.c /systemd/src/udev/udevadm-control.c /systemd/src/udev/udevadm-hwdb.c /systemd/src/udev/udevadm-info.c /systemd/src/udev/udevadm-monitor.c /systemd/src/udev/udevadm-settle.c /systemd/src/udev/udevadm-test-builtin.c /systemd/src/udev/udevadm-test.c /systemd/src/udev/udevadm-trigger.c /systemd/src/udev/udevadm.c /systemd/src/udev/udevd.c /systemd/src/update-done/update-done.c /systemd/src/update-utmp/update-utmp.c /systemd/src/vconsole/vconsole-setup.c
be94d95499bf9c63fe9331e9b9ecc64f32fe9d79 28-Jan-2015 Martin Pitt <martin.pitt@ubuntu.com>

logind: handle closing sessions over daemon restarts It may happen that you have several sessions with the same VT: - Open a session c1 which leaves some processes around, and log out. The session will stay in State=closing and become Active=no. - Log back in on the same VT, get a new session "c2" which is State=active and Active=yes. When restarting logind after that, the first session that matches the current VT becomes Active=yes, which will be c1; c2 thus is Active=no and does not get the usual polkit/device ACL privileges. Restore the "closing" state in session_load(), to avoid treating all restored sessions as State=active. In seat_active_vt_changed(), prefer active sessions over closing ones if more than one session matches the current VT. Finally, fix the confusing comment in session_load() and explain it a bit better. https://launchpad.net/bugs/1415104

8cb4ab0058e51f1fba93683d145ef95f97c2fa86 09-Jan-2015 Lennart Poettering <lennart@poettering.net>

logind: unify how we cast between uid_t and pointers for hashmap keys

4a62c710b62a5a3c7a8a278b810b9d5b5a0c8f4f 28-Nov-2014 Michal Schmidt <mschmidt@redhat.com>

treewide: another round of simplifications Using the same scripts as in f647962d64e "treewide: yet more log_*_errno + return simplifications".

/systemd/src/activate/activate.c /systemd/src/core/automount.c /systemd/src/core/cgroup.c /systemd/src/core/dbus.c /systemd/src/core/hostname-setup.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/namespace.c /systemd/src/core/path.c /systemd/src/core/selinux-access.c /systemd/src/core/shutdown.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/fstab-generator/fstab-generator.c /systemd/src/gpt-auto-generator/gpt-auto-generator.c /systemd/src/hibernate-resume/hibernate-resume-generator.c /systemd/src/journal-remote/journal-remote.c /systemd/src/journal-remote/journal-upload.c /systemd/src/journal/catalog.c /systemd/src/journal/coredump-vacuum.c /systemd/src/journal/coredump.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/journalctl.c /systemd/src/journal/journald-audit.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/libsystemd-terminal/evcat.c /systemd/src/libsystemd-terminal/modeset.c /systemd/src/libsystemd-terminal/subterm.c /systemd/src/libudev/libudev-device-private.c /systemd/src/libudev/libudev-device.c /systemd/src/locale/localectl.c logind-button.c logind-session.c /systemd/src/machine/machinectl.c /systemd/src/network/networkctl.c /systemd/src/nspawn/nspawn.c /systemd/src/reply-password/reply-password.c /systemd/src/resolve-host/resolve-host.c /systemd/src/run/run.c /systemd/src/shared/ask-password-api.c /systemd/src/shared/base-filesystem.c /systemd/src/shared/capability.c /systemd/src/shared/generator.c /systemd/src/shared/pager.c /systemd/src/shared/socket-util.c /systemd/src/shared/switch-root.c /systemd/src/shared/watchdog.c /systemd/src/sleep/sleep.c /systemd/src/socket-proxy/socket-proxyd.c /systemd/src/system-update-generator/system-update-generator.c /systemd/src/systemctl/systemctl.c /systemd/src/sysusers/sysusers.c /systemd/src/sysv-generator/sysv-generator.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/udev-rules.c /systemd/src/vconsole/vconsole-setup.c
56f64d95763a799ba4475daf44d8e9f72a1bd474 28-Nov-2014 Michal Schmidt <mschmidt@redhat.com>

treewide: use log_*_errno whenever %m is in the format string If the format string contains %m, clearly errno must have a meaningful value, so we might as well use log_*_errno to have ERRNO= logged. Using: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\((".*%m.*")/log_\1_errno(errno, \2/' Plus some whitespace, linewrap, and indent adjustments.

/systemd/src/activate/activate.c /systemd/src/backlight/backlight.c /systemd/src/binfmt/binfmt.c /systemd/src/bootchart/bootchart.c /systemd/src/bootchart/store.c /systemd/src/bus-proxyd/bus-proxyd.c /systemd/src/cgls/cgls.c /systemd/src/console/consoled-terminal.c /systemd/src/core/audit-fd.c /systemd/src/core/automount.c /systemd/src/core/cgroup.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/ima-setup.c /systemd/src/core/killall.c /systemd/src/core/load-dropin.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/namespace.c /systemd/src/core/path.c /systemd/src/core/selinux-access.c /systemd/src/core/shutdown.c /systemd/src/core/smack-setup.c /systemd/src/core/umount.c /systemd/src/cryptsetup/cryptsetup-generator.c /systemd/src/dbus1-generator/dbus1-generator.c /systemd/src/debug-generator/debug-generator.c /systemd/src/delta/delta.c /systemd/src/efi-boot-generator/efi-boot-generator.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/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/coredump-vacuum.c /systemd/src/journal/coredump.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/journal-authenticate.c /systemd/src/journal/journal-file.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/libsystemd-terminal/evcat.c /systemd/src/libsystemd-terminal/grdev-drm.c /systemd/src/libsystemd-terminal/idev-evdev.c /systemd/src/libsystemd-terminal/modeset.c /systemd/src/libsystemd-terminal/subterm.c /systemd/src/libsystemd/sd-bus/test-bus-chat.c /systemd/src/libudev/libudev-device-private.c /systemd/src/libudev/libudev-device.c /systemd/src/libudev/libudev-hwdb.c /systemd/src/libudev/libudev-monitor.c /systemd/src/locale/localectl.c inhibit.c logind-button.c logind-dbus.c logind-session.c logind-user.c logind.c user-sessions.c /systemd/src/machine/machinectl.c /systemd/src/machine/machined.c /systemd/src/modules-load/modules-load.c /systemd/src/network/networkctl.c /systemd/src/nspawn/nspawn.c /systemd/src/quotacheck/quotacheck.c /systemd/src/random-seed/random-seed.c /systemd/src/rc-local-generator/rc-local-generator.c /systemd/src/remount-fs/remount-fs.c /systemd/src/reply-password/reply-password.c /systemd/src/resolve-host/resolve-host.c /systemd/src/resolve/resolved-dns-stream.c /systemd/src/resolve/resolved-manager.c /systemd/src/rfkill/rfkill.c /systemd/src/run/run.c /systemd/src/shared/ask-password-api.c /systemd/src/shared/base-filesystem.c /systemd/src/shared/capability.c /systemd/src/shared/clean-ipc.c /systemd/src/shared/conf-parser.c /systemd/src/shared/generator.c /systemd/src/shared/pager.c /systemd/src/shared/ptyfwd.c /systemd/src/shared/smack-util.c /systemd/src/shared/socket-label.c /systemd/src/shared/socket-util.c /systemd/src/shared/switch-root.c /systemd/src/shared/util.c /systemd/src/shared/watchdog.c /systemd/src/shutdownd/shutdownd.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/systemctl/systemctl.c /systemd/src/sysusers/sysusers.c /systemd/src/sysv-generator/sysv-generator.c /systemd/src/test/test-capability.c /systemd/src/test/test-ns.c /systemd/src/timedate/timedated.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/scsi_id/scsi_id.c /systemd/src/udev/scsi_id/scsi_serial.c /systemd/src/udev/udev-builtin-keyboard.c /systemd/src/udev/udev-ctrl.c /systemd/src/udev/udev-event.c /systemd/src/udev/udev-node.c /systemd/src/udev/udev-rules.c /systemd/src/udev/udev-watch.c /systemd/src/udev/udevadm-monitor.c /systemd/src/udev/udevadm-trigger.c /systemd/src/udev/udevd.c /systemd/src/update-utmp/update-utmp.c /systemd/src/vconsole/vconsole-setup.c
f647962d64e844689f3e2acfce6102fc47e76df2 28-Nov-2014 Michal Schmidt <mschmidt@redhat.com>

treewide: yet more log_*_errno + return simplifications Using: find . -name '*.[ch]' | while read f; do perl -i.mmm -e \ 'local $/; local $_=<>; s/(if\s*\([^\n]+\))\s*{\n(\s*)(log_[a-z_]*_errno\(\s*([->a-zA-Z_]+)\s*,[^;]+);\s*return\s+\g4;\s+}/\1\n\2return \3;/msg; print;' $f done And a couple of manual whitespace fixups.

/systemd/src/journal-remote/journal-remote.c /systemd/src/libsystemd/sd-bus/test-bus-chat.c /systemd/src/libsystemd/sd-bus/test-bus-server.c /systemd/src/locale/localectl.c /systemd/src/locale/localed.c loginctl.c logind-session.c logind-user.c logind.c /systemd/src/machine/machinectl.c /systemd/src/machine/machined.c /systemd/src/modules-load/modules-load.c /systemd/src/network/networkctl.c /systemd/src/network/networkd-manager.c /systemd/src/network/networkd-netdev-veth.c /systemd/src/network/networkd-netdev.c /systemd/src/network/networkd-network.c /systemd/src/network/networkd-route.c /systemd/src/nspawn/nspawn.c /systemd/src/path/path.c /systemd/src/resolve/resolved-bus.c /systemd/src/resolve/resolved-dns-scope.c /systemd/src/run/run.c /systemd/src/shared/capability.c /systemd/src/shared/generator.c /systemd/src/shared/install.c /systemd/src/shared/logs-show.c /systemd/src/shared/socket-label.c /systemd/src/shared/socket-util.c /systemd/src/shared/util.c /systemd/src/shutdownd/shutdownd.c /systemd/src/socket-proxy/socket-proxyd.c /systemd/src/systemctl/systemctl.c /systemd/src/sysusers/sysusers.c /systemd/src/timedate/timedatectl.c /systemd/src/timedate/timedated.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/net/ethtool-util.c /systemd/src/udev/net/link-config.c /systemd/src/udev/udev-event.c /systemd/src/udev/udev-rules.c /systemd/src/update-utmp/update-utmp.c
da927ba997d68401563b927f92e6e40e021a8e5c 28-Nov-2014 Michal Schmidt <mschmidt@redhat.com>

treewide: no need to negate errno for log_*_errno() It corrrectly handles both positive and negative errno values.

/systemd/src/ac-power/ac-power.c /systemd/src/activate/activate.c /systemd/src/analyze/analyze-verify.c /systemd/src/analyze/analyze.c /systemd/src/backlight/backlight.c /systemd/src/binfmt/binfmt.c /systemd/src/bootchart/bootchart.c /systemd/src/bus-proxyd/bus-policy.c /systemd/src/bus-proxyd/bus-proxyd.c /systemd/src/cgls/cgls.c /systemd/src/cgroups-agent/cgroups-agent.c /systemd/src/cgtop/cgtop.c /systemd/src/console/consoled-session.c /systemd/src/console/consoled-terminal.c /systemd/src/console/consoled.c /systemd/src/core/busname.c /systemd/src/core/cgroup.c /systemd/src/core/dbus-job.c /systemd/src/core/dbus-manager.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/load-dropin.c /systemd/src/core/locale-setup.c /systemd/src/core/machine-id-setup.c /systemd/src/core/main.c /systemd/src/core/manager.c /systemd/src/core/mount.c /systemd/src/core/path.c /systemd/src/core/scope.c /systemd/src/core/shutdown.c /systemd/src/core/socket.c /systemd/src/core/swap.c /systemd/src/core/timer.c /systemd/src/core/transaction.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/detect-virt/detect-virt.c /systemd/src/efi-boot-generator/efi-boot-generator.c /systemd/src/firstboot/firstboot.c /systemd/src/fsck/fsck.c /systemd/src/fstab-generator/fstab-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/initctl/initctl.c /systemd/src/journal-remote/journal-gatewayd.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/cat.c /systemd/src/journal/catalog.c /systemd/src/journal/coredump.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/journalctl.c /systemd/src/journal/journald-audit.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/journald-wall.c /systemd/src/journal/journald.c /systemd/src/journal/sd-journal.c /systemd/src/journal/test-compress.c /systemd/src/libsystemd-network/sd-dhcp-lease.c /systemd/src/libsystemd-network/sd-pppoe.c /systemd/src/libsystemd-terminal/evcat.c /systemd/src/libsystemd-terminal/idev-keyboard.c /systemd/src/libsystemd-terminal/modeset.c /systemd/src/libsystemd-terminal/subterm.c /systemd/src/libsystemd-terminal/sysview.c /systemd/src/libsystemd/sd-bus/bus-dump.c /systemd/src/libsystemd/sd-bus/bus-kernel.c /systemd/src/libsystemd/sd-bus/bus-track.c /systemd/src/libsystemd/sd-bus/bus-util.c /systemd/src/libsystemd/sd-bus/busctl.c /systemd/src/libsystemd/sd-bus/test-bus-chat.c /systemd/src/libsystemd/sd-bus/test-bus-objects.c /systemd/src/libsystemd/sd-bus/test-bus-server.c /systemd/src/libsystemd/sd-event/sd-event.c /systemd/src/libsystemd/sd-rtnl/rtnl-util.c /systemd/src/libsystemd/sd-rtnl/test-rtnl.c /systemd/src/locale/localectl.c /systemd/src/locale/localed.c inhibit.c loginctl.c logind-button.c logind-core.c logind-inhibit.c logind-seat.c logind-session.c logind-user.c logind.c user-sessions.c /systemd/src/machine/machine.c /systemd/src/machine/machinectl.c /systemd/src/machine/machined.c /systemd/src/modules-load/modules-load.c /systemd/src/network/networkctl.c /systemd/src/network/networkd-address.c /systemd/src/network/networkd-manager.c /systemd/src/network/networkd-netdev-veth.c /systemd/src/network/networkd-netdev.c /systemd/src/network/networkd-network.c /systemd/src/network/networkd-route.c /systemd/src/network/networkd-wait-online-manager.c /systemd/src/network/networkd-wait-online.c /systemd/src/network/networkd.c /systemd/src/notify/notify.c /systemd/src/nspawn/nspawn.c /systemd/src/path/path.c /systemd/src/quotacheck/quotacheck.c /systemd/src/random-seed/random-seed.c /systemd/src/remount-fs/remount-fs.c /systemd/src/resolve-host/resolve-host.c /systemd/src/resolve/resolved-bus.c /systemd/src/resolve/resolved-dns-scope.c /systemd/src/resolve/resolved-dns-zone.c /systemd/src/resolve/resolved-link.c /systemd/src/resolve/resolved-manager.c /systemd/src/resolve/resolved.c /systemd/src/rfkill/rfkill.c /systemd/src/run/run.c /systemd/src/shared/capability.c /systemd/src/shared/generator.c /systemd/src/shared/install.c /systemd/src/shared/logs-show.c /systemd/src/shared/pager.c /systemd/src/shared/sleep-config.c /systemd/src/shared/socket-label.c /systemd/src/shared/socket-util.c /systemd/src/shared/spawn-ask-password-agent.c /systemd/src/shared/spawn-polkit-agent.c /systemd/src/shared/util.c /systemd/src/shutdownd/shutdownd.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/test/test-boot-timestamps.c /systemd/src/test/test-hostname.c /systemd/src/test/test-ns.c /systemd/src/test/test-socket-util.c /systemd/src/test/test-watchdog.c /systemd/src/timedate/timedatectl.c /systemd/src/timedate/timedated.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/net/ethtool-util.c /systemd/src/udev/net/link-config.c /systemd/src/udev/udev-builtin-keyboard.c /systemd/src/udev/udev-builtin-net_setup_link.c /systemd/src/udev/udev-builtin-uaccess.c /systemd/src/udev/udev-ctrl.c /systemd/src/udev/udev-node.c /systemd/src/udev/udev-rules.c /systemd/src/udev/udevadm-hwdb.c /systemd/src/udev/udevd.c /systemd/src/update-done/update-done.c /systemd/src/update-utmp/update-utmp.c /systemd/src/vconsole/vconsole-setup.c
0a1beeb64207eaa88ab9236787b1cbc2f704ae14 28-Nov-2014 Michal Schmidt <mschmidt@redhat.com>

treewide: auto-convert the simple cases to log_*_errno() As a followup to 086891e5c1 "log: add an "error" parameter to all low-level logging calls and intrdouce log_error_errno() as log calls that take error numbers", use sed to convert the simple cases to use the new macros: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\("(.*)%s"(.*), strerror\(-([a-zA-Z_]+)\)\);/log_\1_errno(-\4, "\2%m"\3);/' Multi-line log_*() invocations are not covered. And we also should add log_unit_*_errno().

/systemd/src/ac-power/ac-power.c /systemd/src/activate/activate.c /systemd/src/analyze/analyze-verify.c /systemd/src/analyze/analyze.c /systemd/src/backlight/backlight.c /systemd/src/binfmt/binfmt.c /systemd/src/bootchart/bootchart.c /systemd/src/bus-proxyd/bus-policy.c /systemd/src/bus-proxyd/bus-proxyd.c /systemd/src/cgls/cgls.c /systemd/src/cgroups-agent/cgroups-agent.c /systemd/src/cgtop/cgtop.c /systemd/src/console/consoled-session.c /systemd/src/console/consoled-terminal.c /systemd/src/console/consoled.c /systemd/src/core/busname.c /systemd/src/core/cgroup.c /systemd/src/core/dbus-job.c /systemd/src/core/dbus-manager.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/load-dropin.c /systemd/src/core/locale-setup.c /systemd/src/core/machine-id-setup.c /systemd/src/core/main.c /systemd/src/core/manager.c /systemd/src/core/mount.c /systemd/src/core/path.c /systemd/src/core/scope.c /systemd/src/core/shutdown.c /systemd/src/core/socket.c /systemd/src/core/swap.c /systemd/src/core/timer.c /systemd/src/core/transaction.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/detect-virt/detect-virt.c /systemd/src/efi-boot-generator/efi-boot-generator.c /systemd/src/firstboot/firstboot.c /systemd/src/fsck/fsck.c /systemd/src/fstab-generator/fstab-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/initctl/initctl.c /systemd/src/journal-remote/journal-gatewayd.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/cat.c /systemd/src/journal/catalog.c /systemd/src/journal/coredump.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/journalctl.c /systemd/src/journal/journald-audit.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/journald-wall.c /systemd/src/journal/journald.c /systemd/src/journal/sd-journal.c /systemd/src/journal/test-compress.c /systemd/src/libsystemd-network/sd-dhcp-lease.c /systemd/src/libsystemd-network/sd-pppoe.c /systemd/src/libsystemd-terminal/evcat.c /systemd/src/libsystemd-terminal/idev-keyboard.c /systemd/src/libsystemd-terminal/modeset.c /systemd/src/libsystemd-terminal/subterm.c /systemd/src/libsystemd-terminal/sysview.c /systemd/src/libsystemd/sd-bus/bus-dump.c /systemd/src/libsystemd/sd-bus/bus-kernel.c /systemd/src/libsystemd/sd-bus/bus-track.c /systemd/src/libsystemd/sd-bus/bus-util.c /systemd/src/libsystemd/sd-bus/busctl.c /systemd/src/libsystemd/sd-bus/test-bus-chat.c /systemd/src/libsystemd/sd-bus/test-bus-objects.c /systemd/src/libsystemd/sd-bus/test-bus-server.c /systemd/src/libsystemd/sd-event/sd-event.c /systemd/src/libsystemd/sd-rtnl/rtnl-util.c /systemd/src/libsystemd/sd-rtnl/test-rtnl.c /systemd/src/locale/localectl.c /systemd/src/locale/localed.c inhibit.c loginctl.c logind-button.c logind-core.c logind-inhibit.c logind-seat.c logind-session.c logind-user.c logind.c user-sessions.c /systemd/src/machine/machine.c /systemd/src/machine/machinectl.c /systemd/src/machine/machined.c /systemd/src/modules-load/modules-load.c /systemd/src/network/networkctl.c /systemd/src/network/networkd-address.c /systemd/src/network/networkd-manager.c /systemd/src/network/networkd-netdev-veth.c /systemd/src/network/networkd-netdev.c /systemd/src/network/networkd-network.c /systemd/src/network/networkd-route.c /systemd/src/network/networkd-wait-online-manager.c /systemd/src/network/networkd-wait-online.c /systemd/src/network/networkd.c /systemd/src/notify/notify.c /systemd/src/nspawn/nspawn.c /systemd/src/path/path.c /systemd/src/quotacheck/quotacheck.c /systemd/src/random-seed/random-seed.c /systemd/src/remount-fs/remount-fs.c /systemd/src/resolve-host/resolve-host.c /systemd/src/resolve/resolved-bus.c /systemd/src/resolve/resolved-dns-scope.c /systemd/src/resolve/resolved-dns-zone.c /systemd/src/resolve/resolved-link.c /systemd/src/resolve/resolved-manager.c /systemd/src/resolve/resolved.c /systemd/src/rfkill/rfkill.c /systemd/src/run/run.c /systemd/src/shared/capability.c /systemd/src/shared/generator.c /systemd/src/shared/install.c /systemd/src/shared/logs-show.c /systemd/src/shared/pager.c /systemd/src/shared/sleep-config.c /systemd/src/shared/socket-label.c /systemd/src/shared/socket-util.c /systemd/src/shared/spawn-ask-password-agent.c /systemd/src/shared/spawn-polkit-agent.c /systemd/src/shared/util.c /systemd/src/shutdownd/shutdownd.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/test/test-boot-timestamps.c /systemd/src/test/test-ns.c /systemd/src/test/test-socket-util.c /systemd/src/test/test-watchdog.c /systemd/src/timedate/timedatectl.c /systemd/src/timedate/timedated.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/net/ethtool-util.c /systemd/src/udev/net/link-config.c /systemd/src/udev/udev-builtin-keyboard.c /systemd/src/udev/udev-builtin-net_setup_link.c /systemd/src/udev/udev-builtin-uaccess.c /systemd/src/udev/udev-ctrl.c /systemd/src/udev/udev-node.c /systemd/src/udev/udev-rules.c /systemd/src/udev/udevadm-hwdb.c /systemd/src/udev/udevd.c /systemd/src/update-done/update-done.c /systemd/src/update-utmp/update-utmp.c /systemd/src/vconsole/vconsole-setup.c
e2cc6eca73cd1df8be552d7c23f9ff3d69c06f1e 28-Nov-2014 Lennart Poettering <lennart@poettering.net>

log: fix order of log_unit_struct() to match other logging calls Also, while we are at it, introduce some syntactic sugar for creating ERRNO= and MESSAGE= structured logging fields.

ce540a24d53e1751a5b69224d5a7f5a59f2de7ad 23-Sep-2014 David Herrmann <dh.herrmann@gmail.com>

Silence some "unchecked return-value" warnings This adds some log-messages to ioctl() calls where we don't really care for the return value. It isn't strictly necessary to look for those, but lets be sure and print warnings. This silences gcc and coverity, and also makes sure we get reports in case something goes wrong and we didn't expect it to fail that way.

2ec3ff668ff03410e94cfef8e3ee9384a8222211 19-Sep-2014 David Herrmann <dh.herrmann@gmail.com>

login: pause devices before acknowledging VT switches If a session controller does not need synchronous VT switches, we allow them to pass VT control to logind, which acknowledges all VT switches unconditionally. This works fine with all sessions using the dbus API, but causes out-of-sync device use if we switch to legacy sessions that are notified via VT signals. Those are processed before logind notices the session-switch via sysfs. Therefore, leaving the old session still active for a short amount of time. This, in fact, may cause the legacy session to prepare graphics devices before the old session was deactivated, and thus, maybe causing the old session to interfer with graphics device usage. Fix this by releasing devices immediately before acknowledging VT switches. This way, sessions without VT handlers are required to support async session switching (which they do in that case, anyway).

d5099efc47d4e6ac60816b5381a5f607ab03f06e 15-Sep-2014 Michal Schmidt <mschmidt@redhat.com>

hashmap: introduce hash_ops to make struct Hashmap smaller It is redundant to store 'hash' and 'compare' function pointers in struct Hashmap separately. The functions always comprise a pair. Store a single pointer to struct hash_ops instead. systemd keeps hundreds of hashmaps, so this saves a little bit of memory.

/systemd/src/analyze/analyze.c /systemd/src/bus-proxyd/bus-policy.c /systemd/src/cgtop/cgtop.c /systemd/src/core/automount.c /systemd/src/core/bus-endpoint.c /systemd/src/core/dbus-manager.c /systemd/src/core/dbus.c /systemd/src/core/device.c /systemd/src/core/killall.c /systemd/src/core/load-fragment.c /systemd/src/core/manager.c /systemd/src/core/mount-setup.c /systemd/src/core/swap.c /systemd/src/core/transaction.c /systemd/src/core/unit.c /systemd/src/delta/delta.c /systemd/src/journal-remote/journal-remote.c /systemd/src/journal/catalog.c /systemd/src/journal/catalog.h /systemd/src/journal/coredump-vacuum.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/journal-file.c /systemd/src/journal/journalctl.c /systemd/src/journal/journald-server.c /systemd/src/journal/mmap-cache.c /systemd/src/journal/sd-journal.c /systemd/src/journal/test-catalog.c /systemd/src/libsystemd-network/sd-dhcp-server.c /systemd/src/libsystemd/sd-bus/bus-match.c /systemd/src/libsystemd/sd-bus/bus-objects.c /systemd/src/libsystemd/sd-bus/bus-track.c /systemd/src/libsystemd/sd-bus/bus-util.c /systemd/src/libsystemd/sd-bus/busctl.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-event/sd-event.c /systemd/src/libsystemd/sd-rtnl/sd-rtnl.c /systemd/src/locale/localectl.c logind-acl.c logind-session.c logind.c /systemd/src/machine/machined.c /systemd/src/network/networkd-link.c /systemd/src/network/networkd-manager.c /systemd/src/network/networkd-network.c /systemd/src/network/networkd-wait-online-link.c /systemd/src/readahead/readahead-collect.c /systemd/src/remount-fs/remount-fs.c /systemd/src/resolve/resolved-dns-cache.c /systemd/src/resolve/resolved-dns-domain.c /systemd/src/resolve/resolved-dns-domain.h /systemd/src/resolve/resolved-dns-packet.c /systemd/src/resolve/resolved-dns-query.c /systemd/src/resolve/resolved-dns-rr.c /systemd/src/resolve/resolved-dns-rr.h /systemd/src/resolve/resolved-dns-scope.c /systemd/src/resolve/resolved-dns-server.c /systemd/src/resolve/resolved-dns-server.h /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/shared/cgroup-util.c /systemd/src/shared/conf-files.c /systemd/src/shared/fdset.c /systemd/src/shared/hashmap.c /systemd/src/shared/hashmap.h /systemd/src/shared/install.c /systemd/src/shared/locale-util.c /systemd/src/shared/logs-show.c /systemd/src/shared/set.c /systemd/src/shared/set.h /systemd/src/shared/util.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-hashmap.c /systemd/src/test/test-install.c /systemd/src/test/test-prioq.c /systemd/src/test/test-unit-file.c /systemd/src/tmpfiles/tmpfiles.c
b12e56156e5f363ebb8dc4ea5c10f5fd0665dc9d 01-Sep-2014 David Herrmann <dh.herrmann@gmail.com>

login: simplify controller handling Simplify the way we handler session-controllers and fix several shortcomings: * send ReleaseDevice() signals on forced session takeover * fix mem-leaks for busnames in case VT preparation fails (non-critical) * avoid passing pre-allocated names to helpers

13f493dc9ace9861c1f27c4d37e8cd6d52fe6a32 31-Aug-2014 Thomas Hindoe Paaboel Andersen <phomes@gmail.com>

login: fix mem leak

60240797a4ce464ec7a0537ccbec4c83f599251c 27-Aug-2014 David Herrmann <dh.herrmann@gmail.com>

login: fix memory-leak on DropController() Our bus-name watch helpers only remove a bus-name if it's not a controller, anymore. If we call manager_drop_busname() before unregistering the controller, the busname will not be dropped. Therefore, first drop the controller, then drop the bus-name.

de99c9dcbaf6e474551266d8f0b519bf2d8d0522 19-Aug-2014 Lennart Poettering <lennart@poettering.net>

hashmap: try to use the existing 64bit hash functions for dev_t if it is 64bit

e9e74f28d783a052dce7edfa94d7918bb591ba7a 14-Aug-2014 Lennart Poettering <lennart@poettering.net>

logind: add new session type "web" for PAM web clients, such as cockpit On request of Stef Walter.

92683ad2e28c79891e4123d9a421b018dc58870c 13-Aug-2014 David Herrmann <dh.herrmann@gmail.com>

login: share VT-signal handler between sessions sd-event does not allow multiple handlers for a single signal. However, logind sets up signal handlers for each session with VT_PROCESS set (that is, it has an active controller). Therefore, registering multiple such controllers will fail. Lets make the VT-handler global, as it's mostly trivial, anyway. This way, the sessions don't have to take care of that and we can simply acknowledge all VT-switch requests as we always did.

baccf3e40bab6c0b69992ae29c396930de4660c9 11-Aug-2014 Olivier Brunel <jjk@jjacky.com>

login: set_controller should fail if prepare_vt fails If controllers can expect logind to have "prepared" the VT (e.g. set it to graphics mode, etc) then TakeControl() should fail if said preparation failed (and session_restore_vt() was called). (David: fixed up !CONFIG_VT case and errno-numbers)

558c6490b1df7f82a63d0a747fda7412c4d28b0c 22-May-2014 Lennart Poettering <lennart@poettering.net>

logind: also escape external data when saving to /run Better be safe than sorry...

952d32609f9bceee444fa2690afb4d28539b4b92 19-May-2014 Lennart Poettering <lennart@poettering.net>

logind: fix Display property of user objects When we dropped support for creating a per-user to the "main" X11 display we stopped returning useful data in the "Display" user property. With this change this is fixed and we again expose an appropriate (graphical session) in the property that is useful as the "main" one, if one is needed.

de0671ee7fe465e108f62dcbbbe9366f81dd9e9a 15-May-2014 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

Remove unnecessary casts in printfs No functional change expected :)

/systemd/configure.ac /systemd/src/core/condition.c /systemd/src/core/dbus-scope.c /systemd/src/core/execute.c /systemd/src/core/socket.c /systemd/src/core/swap.c /systemd/src/core/unit-printf.c /systemd/src/dbus1-generator/dbus1-generator.c /systemd/src/initctl/initctl.c /systemd/src/journal/journal-remote.c /systemd/src/journal/journald-console.c /systemd/src/journal/journald-kmsg.c /systemd/src/journal/journald-server.c /systemd/src/journal/journald-syslog.c /systemd/src/journal/journald.c /systemd/src/journal/sd-journal.c /systemd/src/libsystemd/sd-bus/bus-creds.c /systemd/src/libsystemd/sd-bus/bus-dump.c /systemd/src/libsystemd/sd-bus/bus-kernel.c /systemd/src/libsystemd/sd-bus/bus-socket.c /systemd/src/libsystemd/sd-bus/bus-util.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-bus/test-bus-chat.c /systemd/src/libsystemd/sd-bus/test-bus-marshal.c /systemd/src/libsystemd/sd-login/sd-login.c /systemd/src/libsystemd/sd-login/test-login.c /systemd/src/libudev/libudev-device-private.c /systemd/src/libudev/libudev-device.c /systemd/src/libudev/libudev-hwdb.c inhibit.c logind-action.c logind-dbus.c logind-inhibit.c logind-session.c logind-user-dbus.c logind-user.c logind.c pam-module.c test-inhibit.c /systemd/src/machine/machine.c /systemd/src/machine/machined-dbus.c /systemd/src/machine/machined.c /systemd/src/notify/notify.c /systemd/src/readahead/readahead-common.c /systemd/src/run/run.c /systemd/src/shared/ask-password-api.c /systemd/src/shared/cgroup-util.c /systemd/src/shared/def.h /systemd/src/shared/log.c /systemd/src/shared/logs-show.c /systemd/src/shared/socket-util.c /systemd/src/shared/time-util.c /systemd/src/shared/util.c /systemd/src/shared/util.h /systemd/src/shutdownd/shutdownd.c /systemd/src/systemctl/systemctl.c /systemd/src/test/test-cgroup-util.c /systemd/src/test/test-log.c /systemd/src/test/test-time.c /systemd/src/test/test-util.c /systemd/src/timedate/timedated.c /systemd/src/udev/udev-builtin-blkid.c /systemd/src/udev/udevadm-monitor.c /systemd/src/update-utmp/update-utmp.c
8b8fa8b80c6b306b9ca249fa3ef64e83f49efa35 23-Apr-2014 David Herrmann <dh.herrmann@gmail.com>

login: rename session_mute_vt() to session_prepare_vt() This function is no longer just about muteing the VT. We do all kinds of VT setup for sessions using the controller-API. Rename the function to something more appropriate.

d6176c6c97bf0614c2e7caaf2156bf813b39337a 23-Apr-2014 Ray Strode <rstrode@redhat.com>

login: give session ownership of VT The tty associated with a VT should be owned by the owner of the session running on the VT. This is important for supporting a socket activated X server, since the X server will open the tty itself. This commit makes sure to chown the tty any time a session is created and and chown it back to root any time the session is removed. This behavior is copied from /bin/login.

9541666b8d97f107335dd7e3cb93b4d2cfbf19c9 09-Apr-2014 David Herrmann <dh.herrmann@gmail.com>

login: add 'mir' to the list of session types Add Mir to the list of session types. This is implemented for LightDM in lp:~robert-ancell/lightdm/xdg-session-desktop [1]. [1] https://code.launchpad.net/~robert-ancell/lightdm/xdg-session-desktop/+merge/214108 (david: adjusted commit-header and fixed whitespace issues)

6a0f1f6d5af7c7300d3db7a0ba2b068f8abd222b 24-Mar-2014 Lennart Poettering <lennart@poettering.net>

sd-event: rework API to support CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM, too

03e334a1c7dc8c20c38902aa039440763acc9b17 18-Mar-2014 Lennart Poettering <lennart@poettering.net>

util: replace close_nointr_nofail() by a more useful safe_close() safe_close() automatically becomes a NOP when a negative fd is passed, and returns -1 unconditionally. This makes it easy to write lines like this: fd = safe_close(fd); Which will close an fd if it is open, and reset the fd variable correctly. By making use of this new scheme we can drop a > 200 lines of code that was required to test for non-negative fds or to reset the closed fd variable afterwards.

/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.c /systemd/src/core/execute.c /systemd/src/core/ima-setup.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/path.c /systemd/src/core/service.c /systemd/src/core/smack-setup.c /systemd/src/core/socket.c /systemd/src/core/switch-root.c /systemd/src/core/umount.c /systemd/src/fsck/fsck.c /systemd/src/initctl/initctl.c /systemd/src/journal/cat.c /systemd/src/journal/catalog.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/journal-authenticate.c /systemd/src/journal/journal-file.c /systemd/src/journal/journal-send.c /systemd/src/journal/journal-verify.c /systemd/src/journal/journalctl.c /systemd/src/journal/journald-console.c /systemd/src/journal/journald-kmsg.c /systemd/src/journal/journald-server.c /systemd/src/journal/journald-stream.c /systemd/src/journal/sd-journal.c /systemd/src/journal/test-journal-verify.c /systemd/src/journal/test-mmap-cache.c /systemd/src/libsystemd-network/dhcp-network.c /systemd/src/libsystemd-network/ipv4ll-network.c /systemd/src/libsystemd-network/sd-dhcp-client.c /systemd/src/libsystemd-network/sd-ipv4ll.c /systemd/src/libsystemd/sd-bus/bus-container.c /systemd/src/libsystemd/sd-bus/bus-kernel.c /systemd/src/libsystemd/sd-bus/bus-message.c /systemd/src/libsystemd/sd-bus/bus-socket.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-bus/sd-memfd.c /systemd/src/libsystemd/sd-bus/test-bus-chat.c /systemd/src/libsystemd/sd-bus/test-bus-kernel-benchmark.c /systemd/src/libsystemd/sd-bus/test-bus-kernel.c /systemd/src/libsystemd/sd-event/sd-event.c /systemd/src/libsystemd/sd-login/sd-login.c /systemd/src/libsystemd/sd-resolve/sd-resolve.c /systemd/src/libsystemd/sd-rtnl/sd-rtnl.c logind-button.c logind-inhibit.c logind-session.c logind.c pam-module.c test-inhibit.c /systemd/src/machine/machinectl.c /systemd/src/network/sd-network.c /systemd/src/nspawn/nspawn.c /systemd/src/readahead/readahead-collect.c /systemd/src/readahead/readahead-common.c /systemd/src/readahead/readahead-replay.c /systemd/src/reply-password/reply-password.c /systemd/src/shared/ask-password-api.c /systemd/src/shared/fdset.c /systemd/src/shared/install.c /systemd/src/shared/log.c /systemd/src/shared/logs-show.c /systemd/src/shared/spawn-polkit-agent.c /systemd/src/shared/util.c /systemd/src/shared/util.h /systemd/src/shared/watchdog.c /systemd/src/shutdownd/shutdownd.c /systemd/src/socket-proxy/socket-proxyd.c /systemd/src/test/test-util.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/tty-ask-password-agent/tty-ask-password-agent.c /systemd/src/udev/net/link-config.c /systemd/src/vconsole/vconsole-setup.c
2c5859afecee81e345fc9526b1083bf79990ffb8 07-Mar-2014 Daniel Mack <zonque@gmail.com>

Make tables for DEFINE_STRING_TABLE_LOOKUP consistent Bring some arrays that are used for DEFINE_STRING_TABLE_LOOKUP() in the same order than the enums they reference. Also, pass the corresponding _MAX value to the array initalizer where appropriate.

646e392e10924454576f10b072f78d7676422816 06-Mar-2014 Lennart Poettering <lennart@poettering.net>

logind: fix reference to systemd-user-sessions.service

a0eb2a751c6f3e9c233772cd9af8e8ee1504d27a 21-Feb-2014 Jasper St. Pierre <jstpierre@mecheye.net>

logind-session: Fix invalid free in the error case utf8 needs to be initialized to NULL for the free for the early return, otherwise we try to free invalid data.

151b9b9662a90455262ce575a8a8ae74bf4ff336 20-Feb-2014 Lennart Poettering <lennart@poettering.net>

api: in constructor function calls, always put the returned object pointer first (or second) Previously the returned object of constructor functions where sometimes returned as last, sometimes as first and sometimes as second parameter. Let's clean this up a bit. Here are the new rules: 1. The object the new object is derived from is put first, if there is any 2. The object we are creating will be returned in the next arguments 3. This is followed by any additional arguments Rationale: For functions that operate on an object we always put that object first. Constructors should probably not be too different in this regard. Also, if the additional parameters might want to use varargs which suggests to put them last. Note that this new scheme only applies to constructor functions, not to all other functions. We do give a lot of freedom for those. Note that this commit only changes the order of the new functions we added, for old ones we accept the wrong order and leave it like that.

/systemd/src/bus-driverd/bus-driverd.c /systemd/src/bus-proxyd/bus-proxyd.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/device.c /systemd/src/core/job.c /systemd/src/core/loopback-setup.c /systemd/src/core/manager.c /systemd/src/core/mount.c /systemd/src/core/path.c /systemd/src/core/scope.c /systemd/src/core/service.c /systemd/src/core/socket.c /systemd/src/core/swap.c /systemd/src/core/timer.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/libsystemd-dhcp/sd-dhcp-client.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-kernel.c /systemd/src/libsystemd/sd-bus/bus-message.c /systemd/src/libsystemd/sd-bus/bus-objects.c /systemd/src/libsystemd/sd-bus/bus-util.c /systemd/src/libsystemd/sd-bus/busctl.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-bus/sd-memfd.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-gvariant.c /systemd/src/libsystemd/sd-bus/test-bus-kernel-benchmark.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-memfd.c /systemd/src/libsystemd/sd-bus/test-bus-server.c /systemd/src/libsystemd/sd-bus/test-bus-zero-copy.c /systemd/src/libsystemd/sd-event/sd-event.c /systemd/src/libsystemd/sd-event/test-event.c /systemd/src/libsystemd/sd-resolve/sd-resolve.c /systemd/src/libsystemd/sd-resolve/test-resolve.c /systemd/src/libsystemd/sd-rtnl/rtnl-message.c /systemd/src/libsystemd/sd-rtnl/rtnl-util.c /systemd/src/libsystemd/sd-rtnl/sd-rtnl.c /systemd/src/libsystemd/sd-rtnl/test-rtnl.c /systemd/src/locale/localectl.c /systemd/src/locale/localed.c logind-button.c logind-dbus.c logind-inhibit.c logind-session-device.c logind-session.c logind.c /systemd/src/machine/machined-dbus.c /systemd/src/network/networkd-address.c /systemd/src/network/networkd-link.c /systemd/src/network/networkd-manager.c /systemd/src/network/networkd-netdev.c /systemd/src/network/networkd-route.c /systemd/src/nspawn/nspawn.c /systemd/src/run/run.c /systemd/src/socket-proxy/socket-proxyd.c /systemd/src/systemctl/systemctl.c /systemd/src/systemd/sd-bus.h /systemd/src/systemd/sd-event.h /systemd/src/systemd/sd-journal.h /systemd/src/systemd/sd-memfd.h /systemd/src/systemd/sd-resolve.h /systemd/src/systemd/sd-rtnl.h /systemd/src/udev/net/link-config.c /systemd/src/udev/udev-event.c
39883f622f392d8579f4428fc5a789a102efbb10 19-Feb-2014 Lennart Poettering <lennart@poettering.net>

make gcc shut up If -flto is used then gcc will generate a lot more warnings than before, among them a number of use-without-initialization warnings. Most of them without are false positives, but let's make them go away, because it doesn't really matter.

/systemd/src/backlight/backlight.c /systemd/src/boot/boot-efi.c /systemd/src/cgtop/cgtop.c /systemd/src/core/dbus-manager.c /systemd/src/hostname/hostnamectl.c /systemd/src/journal/journal-gatewayd.c /systemd/src/journal/journalctl.c /systemd/src/journal/sd-journal.c /systemd/src/libsystemd/sd-bus/bus-control.c /systemd/src/libsystemd/sd-bus/bus-message.c /systemd/src/libsystemd/sd-bus/test-bus-memfd.c /systemd/src/libsystemd/sd-event/sd-event.c /systemd/src/libsystemd/sd-event/test-event.c logind-session.c test-login.c /systemd/src/machine/machine.c /systemd/src/network/networkd-link.c /systemd/src/nspawn/nspawn.c /systemd/src/shared/acpi-fpdt.c /systemd/src/shared/boot-timestamps.c /systemd/src/shared/efivars.c /systemd/src/shared/sleep-config.c /systemd/src/shared/socket-util.c /systemd/src/shared/util.c /systemd/src/test/test-cgroup-mask.c /systemd/src/test/test-sched-prio.c /systemd/src/test/test-unit-name.c /systemd/src/test/test-util.c /systemd/src/tty-ask-password-agent/tty-ask-password-agent.c /systemd/src/udev/udev-ctrl.c
8fe63cd4f16e1e7cdf528ff053f8eb4da7848455 17-Feb-2014 Djalal Harouni <tixxdz@opendz.org>

logind: close race on session state during logins At login there is a small race window where session_get_state() will return SESSION_ACTIVE instead of SESSION_OPENING. This must be fixed since during that time there are calls to session_save() to save session states and we want to write the correct state. When we queue the start scope and service jobs, we wait for both of them to finish before calling and continue processing in: "session_jobs_reply() => session_send_create_reply()" to create the session fifo and notify clients. However, in the match_job_removed() D-Bus signal, we may hit situations where the scope job has successfully finished and we are still waiting for the user service job to finish. During that time the "session->scope_job" will be freed and set to NULL, this makes session_get_state() return SESSION_ACTIVE before it is really active, it should return SESSION_OPENING since we are still waiting for the service job to finish in order to create the session fifo. To fix this, we also check if the session fifo fd was created, if so then the session has entered the SESSION_ACTIVE state, if not then it is still in the SESSION_OPENING state and it is waiting for the scope and service jobs to finish.

9bb69af4f2823fdd30902f5ffd959e9b041feb53 12-Feb-2014 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

logind: always kill session when termination is requested KillUserProcesses=yes/no should be ignored when termination is explicitly requested.

ba4c5d93b73ef7bba0ae0c6bf2b36a42360f7a34 07-Feb-2014 Lennart Poettering <lennart@poettering.net>

logind: order all scopes after both systemd-logind.service and systemd-user-sessions.service This way at shutdown we can be sure that the sessions go away before the network.

5f41d1f10fd97e93517b6a762b1bec247f4d1171 07-Feb-2014 Lennart Poettering <lennart@poettering.net>

logind: rework session shutdown logic Simplify the shutdown logic a bit: - Keep the session FIFO around in the PAM module, even after the session shutdown hook has been finished. This allows logind to track precisely when the PAM handler goes away. - In the ReleaseSession() call start a timer, that will stop terminate the session when elapsed. - Never fiddle with the KillMode of scopes to configure whether user processes should be killed or not. Instead, simply leave the scope units around when we terminate a session whose processes should not be killed. - When killing is enabled, stop the session scope on FIFO EOF or after the ReleaseSession() timeout. When killing is disabled, simply tell PID 1 to abandon the scope. Because the scopes stay around and hence all processes are always member of a scope, the system shutdown logic should be more robust, as the scopes can be shutdown as part of the usual shutdown logic.

90b2de37b80603168f4e9c9c81cff7eea4efa21a 06-Feb-2014 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

Update some message formats Use PID_FMT/USEC_FMT/... in more places. Also update logind error messages to print the full path to a file that failed. This should make debugging easier for people who do not know off the top of their head where logind stores it state.

a4cd87e9dce6d38846f23d44df9e21f322f946df 05-Feb-2014 Lennart Poettering <lennart@poettering.net>

man: introduce new "Desktop" property for sessions This is initialized from XDG_SESSION_DESKTOP and is useful for GNOME to recognize its own sessions. It's supposed to be set to a short string identifying the session, such as "kde" or "gnome".

d9eb81f9844f6d28b52e44b2c0e6e280a61d8200 05-Feb-2014 Lennart Poettering <lennart@poettering.net>

logind: add new "wayland" session type

49e6fdbf14b35d8840c3b263fd15259624b07818 20-Jan-2014 David Herrmann <dh.herrmann@gmail.com>

logind: introduce session "positions" logind has no concept of session ordering. Sessions have a unique name, some attributes about the capabilities and that's already it. There is currently no stable+total order on sessions. If we use the logind API to switch between sessions, we are faced with an unordered list of sessions we have no clue of. This used to be no problem on seats with VTs or on seats with only a single active session. However, with the introduction of multi-session capability for seats without VTs, we need to find a way to order sessions in a stable way. This patch introduces session "positions". A position is a simple integer assigned to a session which is never changed implicitly (currently, we also don't change it explicitly, but that may be changed someday). For seats with VTs, we force the position to be the same as the VTnr. Without VTs, we simply find the lowest unassigned number and use it as position. If position-assignment fails or if, for any reason, we decide to not assign a position to a session, the position is set to 0 (which is treated as invalid position). During session_load() or if two sessions have the same VTnr, we may end up with two sessions with the same position (this shouldn't happen, but lets be fail-safe in case some other part of the stack fails). This case is dealt with gracefully by ignoring any session but the first session assigned to the position. Thus, session->pos is a hint, seat->positions[i] is the definite position-assignment. Always verify both match in case you need to modify them! Additionally, we introduce SwitchTo(unsigned int) on the seat-dbus-API. You can call it with any integer value != 0 and logind will try to switch to the request position. If you implement a compositor or any other session-controller, you simply watch for ctrl+alt+F1 to F12 and call SwitchTo(Fx). logind will figure a way out deal with this number. For convenience, we also introduce SwitchToNext/Previous(). It should be called on ctrl+alt+Left/Right (like the kernel-console used to support). Note that the public API (SwitchTo*()) is *not* bound to the underlying logic that is implemented now. We don't export "session-positions" on the dbus/C API! They are an implementation detail. Instead, the SwitchTo*() API is supposed to be a hint to let logind choose the session-switching logic. Any foreground session-controller is free to enumerate/order existing sessions according to their needs and call Session.Activate() manually. But the SwitchTo*() API provides a uniform behavior across session-controllers. Background: Session-switching keys depend on the active keymap. The XKB specification provides the XKB_KEY_XF86Switch_VT_1-12 key-symbols which have to be mapped by all keymaps to allow session-switching. It is usually bound to ctrl+alt+Fx but may be set differently. A compositor passes any keyboard input to XKB before passing it to clients. In case a key-press invokes the XKB_KEY_XF86Switch_VT_x action, the keypress is *not* forwarded to clients, but instead a session-switch is scheduled. This actually prevents us from handling these keys outside of the session. If an active compositor has a keymap with a different mapping of these keys, and logind itself tries to catch these combinations, we end up with the key-press sent to the compositor's clients *and* handled by logind. This is *bad* and we must avoid this. The only situation where a background process is allowed to handle key-presses is debugging and emergency-keys. In these cases, we don't care for keymap mismatches and accept the double-event. Another exception is unmapped keys like PowerOff/Suspend (even though this one is controversial).

6a38d04a036475bfc222f40961e2adcaa70a6174 15-Jan-2014 Lennart Poettering <lennart@poettering.net>

logind: get rid of X11 display socket symlink X11 never made use of it anyway and it's probably better to just push $DISPLAY into the systemd daemon from gnome-session (or equivalent program) than to change libX11 to look for this socket. In particular since we won't need this for Wayland anyway and we shouldn't add infrastructure for stuff that's on its way out anyway.

9bf3b53533cdc9b95c921b71da755401f223f765 22-Dec-2013 Lennart Poettering <lennart@poettering.net>

shared: switch our hash table implementation over to SipHash SipHash appears to be the new gold standard for hashing smaller strings for hashtables these days, so let's make use of it.

2b6bf07dd23bb467099d213c97b3875c5e453491 07-Dec-2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

Get rid of our reimplementation of basename The only problem is that libgen.h #defines basename to point to it's own broken implementation instead of the GNU one. This can be fixed by #undefining basename.

486cd82c8f7642016895b72bcc09a1bfe885a783 28-Nov-2013 David Herrmann <dh.herrmann@gmail.com>

logind: remove unused session->closing field This field is always false, drop it. If you want a reliable way to get session state, call session_get_state(). Testing for any flags directly doesn't work currently so don't pretend it would.

c506027af881a9e4210845a7a8a6ec5910aa0f3b 28-Nov-2013 David Herrmann <dh.herrmann@gmail.com>

logind: require VTs on seat0 and forbid elsewhere Sessions on seat0 must pass us a vtnr, otherwise, you shouldn't try attaching it to seat0. For seats without VTs, we do the exact opposite: we forbid VTs. There can be odd situations if the session-files contain invalid combinations. However, we try to keep sessions alive and restore state as good as possible.

92bd5ff3a062c3f9475b9d9d39b9335bfeb7705e 28-Nov-2013 David Herrmann <dh.herrmann@gmail.com>

logind: make VT numbers unsigned Fix the whole code to use "unsigned int" for vtnr. 0 is an invalid vtnr so we don't need negative numbers at all. Note that most code already assumes it's unsigned so in case there's a negative vtnr, our code may, under special circumstances, silently break. So this patch makes sure all sources of vtnrs verify the validity. Also note that the dbus api already uses unsigned ints.

90a18413f8be577a649900eca977e060273f2b5b 28-Nov-2013 David Herrmann <dh.herrmann@gmail.com>

logind: mute/restore VT on behalf of session controllers If a session process calls TakeControl(), we now put the VT into KD_GRAPHICS+K_OFF mode. This way, the new session controller can solely rely on the logind-dbus API to manage the session. Once the controller exits or calls ReleaseControl(), we restore the VT. We also restore it, if we lost a controller during crash/restart (but only if there really *was* a controller previously). Note that we also must put the VT into VT_PROCESS mode. We want VT_AUTO semantics, but VT_AUTO+KD_GRAPHICS actually disables *all* VT switches (who came up with that great idea?). Hence, we set VT_PROCESS for logind but acknowledge *all* requests immediately. If a compositor wants custom VT setups, they can still get this by *first* calling TakeControl() and afterwards setting up the VT. logind doesn't touch the VT during controller runtime, only during setup/teardown. This is actually what weston already does.

6d33772f9ae6769c557e2267d16b7d31f67db914 28-Nov-2013 David Herrmann <dh.herrmann@gmail.com>

logind: restore session-controller after crash We now save the unique bus-name of a session-controller as CONTROLLER=%s in the session files. This allows us to restore the controller after a crash or restart. Note that we test whether the name is still valid (dbus guarantees that the name is unique as long as the machine is up and running). If it is, we know that the controller still exists and can safely restore it. Our dbus-name-tracking guarantees that we're notified once it exits. Also note that session-devices are *not* restored. We have no way to know which devices where used before the crash. We could store all these on disk, too, or mark them via udev. However, this seems to be rather cumbersome. Instead, we expect controllers to listen for NewSession signals for their own session. This is sent on session_load() and they can then re-request all devices. The only race I could find is if logind crashes, then the session controller tries calling ReleaseControl() (which will fail as logind is down) but keeps the bus-connection valid for other independent requests. If logind is restarted, it will restore the old controller and thus block the session. However, this seems unlikely for several reasons: - The ReleaseControl() call must occur exactly in the timespan where logind is dead. - A process which calls ReleaseControl() usually closes the bus-connection afterwards. Especially if ReleaseControl() fails, the process should notice that something is wrong and close the bus. - A process calling ReleaseControl() usually exits afterwards. There may be any cleanup pending, but other than that, usual compositors exit. - If a session-controller calls ReleaseControl(), a session is usually considered closing. There is no known use-case where we hand-over session-control in a single session. So we don't care whether the controller is locked afterwards. So this seems negligible.

718db96199eb307751264e4163555662c9a389fa 20-Nov-2013 Lennart Poettering <lennart@poettering.net>

core: convert PID 1 to libsystemd-bus This patch converts PID 1 to libsystemd-bus and thus drops the dependency on libdbus. The only remaining code using libdbus is a test case that validates our bus marshalling against libdbus' marshalling, and this dependency can be turned off. This patch also adds a couple of things to libsystem-bus, that are necessary to make the port work: - Synthesizing of "Disconnected" messages when bus connections are severed. - Support for attaching multiple vtables for the same interface on the same path. This patch also fixes the SetDefaultTarget() and GetDefaultTarget() bus calls which used an inappropriate signature. As a side effect we will now generate PropertiesChanged messages which carry property contents, rather than just invalidation information.

/systemd/Makefile.am /systemd/TODO /systemd/src/core/automount.c /systemd/src/core/automount.h /systemd/src/core/dbus-automount.c /systemd/src/core/dbus-automount.h /systemd/src/core/dbus-cgroup.c /systemd/src/core/dbus-cgroup.h /systemd/src/core/dbus-client-track.c /systemd/src/core/dbus-client-track.h /systemd/src/core/dbus-device.c /systemd/src/core/dbus-device.h /systemd/src/core/dbus-execute.c /systemd/src/core/dbus-execute.h /systemd/src/core/dbus-job.c /systemd/src/core/dbus-job.h /systemd/src/core/dbus-kill.c /systemd/src/core/dbus-kill.h /systemd/src/core/dbus-manager.c /systemd/src/core/dbus-manager.h /systemd/src/core/dbus-mount.c /systemd/src/core/dbus-mount.h /systemd/src/core/dbus-path.c /systemd/src/core/dbus-path.h /systemd/src/core/dbus-scope.c /systemd/src/core/dbus-scope.h /systemd/src/core/dbus-service.c /systemd/src/core/dbus-service.h /systemd/src/core/dbus-slice.c /systemd/src/core/dbus-slice.h /systemd/src/core/dbus-snapshot.c /systemd/src/core/dbus-snapshot.h /systemd/src/core/dbus-socket.c /systemd/src/core/dbus-socket.h /systemd/src/core/dbus-swap.c /systemd/src/core/dbus-swap.h /systemd/src/core/dbus-target.c /systemd/src/core/dbus-target.h /systemd/src/core/dbus-timer.c /systemd/src/core/dbus-timer.h /systemd/src/core/dbus-unit.c /systemd/src/core/dbus-unit.h /systemd/src/core/dbus.c /systemd/src/core/dbus.h /systemd/src/core/device.c /systemd/src/core/device.h /systemd/src/core/job.c /systemd/src/core/job.h /systemd/src/core/load-fragment-gperf.gperf.m4 /systemd/src/core/load-fragment.c /systemd/src/core/main.c /systemd/src/core/manager.c /systemd/src/core/manager.h /systemd/src/core/mount.c /systemd/src/core/mount.h /systemd/src/core/path.c /systemd/src/core/path.h /systemd/src/core/scope.c /systemd/src/core/scope.h /systemd/src/core/selinux-access.c /systemd/src/core/selinux-access.h /systemd/src/core/service.c /systemd/src/core/service.h /systemd/src/core/slice.c /systemd/src/core/snapshot.c /systemd/src/core/snapshot.h /systemd/src/core/socket.c /systemd/src/core/socket.h /systemd/src/core/swap.c /systemd/src/core/swap.h /systemd/src/core/target.c /systemd/src/core/timer.c /systemd/src/core/timer.h /systemd/src/core/transaction.c /systemd/src/core/transaction.h /systemd/src/core/unit.c /systemd/src/core/unit.h /systemd/src/libsystemd-bus/bus-error.h /systemd/src/libsystemd-bus/bus-internal.h /systemd/src/libsystemd-bus/bus-introspect.c /systemd/src/libsystemd-bus/bus-introspect.h /systemd/src/libsystemd-bus/bus-message.c /systemd/src/libsystemd-bus/bus-objects.c /systemd/src/libsystemd-bus/bus-signature.c /systemd/src/libsystemd-bus/bus-util.c /systemd/src/libsystemd-bus/bus-util.h /systemd/src/libsystemd-bus/sd-bus.c /systemd/src/libsystemd-bus/sd-event.c /systemd/src/libsystemd-bus/test-bus-introspect.c /systemd/src/libsystemd-bus/test-bus-marshal.c logind-dbus.c logind-inhibit.c logind-seat-dbus.c logind-session-dbus.c logind-session.c logind.c /systemd/src/machine/machined-dbus.c /systemd/src/shared/bus-errors.h /systemd/src/shared/dbus-common.c /systemd/src/shared/dbus-common.h /systemd/src/shared/install.c /systemd/src/shared/install.h /systemd/src/shared/prioq.c /systemd/src/systemctl/systemctl.c /systemd/src/systemd/sd-bus.h /systemd/src/systemd/sd-event.h
cc3773810855956bad92337cee8fa193584ab62e 05-Nov-2013 Lennart Poettering <lennart@poettering.net>

logind: port logind to libsystemd-bus

71fda00f320379f5cbee8e118848de98caaa229d 14-Oct-2013 Lennart Poettering <lennart@poettering.net>

list: make our list macros a bit easier to use by not requring type spec on each invocation We can determine the list entry type via the typeof() gcc construct, and so we should to make the macros much shorter to use.

/systemd/TODO /systemd/src/bootchart/bootchart.c /systemd/src/bootchart/svg.c /systemd/src/core/cgroup.c /systemd/src/core/dbus-cgroup.c /systemd/src/core/dbus-job.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/job.c /systemd/src/core/load-fragment.c /systemd/src/core/manager.c /systemd/src/core/path.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.c /systemd/src/initctl/initctl.c /systemd/src/journal/journald-rate-limit.c /systemd/src/journal/journald-stream.c /systemd/src/journal/mmap-cache.c /systemd/src/journal/sd-journal.c /systemd/src/libsystemd-bus/bus-objects.c /systemd/src/libsystemd-bus/sd-bus.c logind-device.c logind-seat.c logind-session-device.c logind-session.c logind-user.c logind.c /systemd/src/machine/machine.c /systemd/src/machine/machined.c /systemd/src/shared/list.h /systemd/src/systemctl/systemctl.c /systemd/src/test/test-list.c
1dc2ced4646a78b3dee9e3ea44130f938d6425bc 18-Sep-2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

Remove six unused variables and add annotation clang FTW!

831dedef66dbf2650a9dc41263e624fe08f3bb7a 18-Sep-2013 David Herrmann <dh.herrmann@gmail.com>

logind: fix build for ARM with sizeof(dev_t) > sizeof(void*) Unfortunately on ARM-32 systems dev_t can be 64bit and thus we cannot store it easily in void* keys for hashtables. Fix that by passing a pointer to the dev_t variable instead.

d7bd01b547bd91353513131561de9cc7d9f7d405 18-Sep-2013 David Herrmann <dh.herrmann@gmail.com>

logind: implement generic multi-session This enables the multi-session capability for seats that don't have VTs. For legacy seats with VTs, everything stays the same. However, all other seats now also get the multi-session capability. The only feature that was missing was session-switching. As logind can force a session-switch and signal that via the "Active" property, we only need a way to allow synchronized/delayed session switches. Compositors need to cleanup some devices before acknowledging the session switch. Therefore, we use the session-devices to give compositors a chance to block a session-switch until they cleaned everything up. If you activate a session on a seat without VTs, we send a PauseDevice signal to the active session for every active device. Only once the session acknowledged all these with a PauseDeviceComplete() call, we perform the final session switch. One important note is that delayed session-switching is meant for backwards compatibility. New compositors or other sessions should really try to deal correctly with forced session switches! They only need to handle EACCES/EPERM from syscalls and treat them as "PauseDevice" signal. Following logind patches will add a timeout to session-switches which forces the switch if the active session does not react in a timely fashion. Moreover, explicit ForceActivate() calls might also be supported. Hence, sessions must not crash if their devices get paused.

118ecf32425a590ea266b5c2b6de7962bb242356 18-Sep-2013 David Herrmann <dh.herrmann@gmail.com>

logind: introduce session-devices A session-device is a device that is bound to a seat and used by a session-controller to run the session. This currently includes DRM, fbdev and evdev devices. A session-device can be created via RequestDevice() on the dbus API of the session. You can drop it via ReleaseDevice() again. Once the session is destroyed or you drop control of the session, all session-devices are automatically destroyed. Session devices follow the session "active" state. A device can be active/running or inactive/paused. Whenever a session is not the active session, no session-device of it can be active. That is, if a session is not in foreground, all session-devices are paused. Whenever a session becomes active, all devices are resumed/activated by logind. If it fails, a device may stay paused. With every session-device you request, you also get a file-descriptor back. logind keeps a copy of this fd and uses kernel specific calls to pause/resume the file-descriptors. For example, a DRM fd is muted by logind as long as a given session is not active. Hence, the fd of the application is also muted. Once the session gets active, logind unmutes the fd and the application will get DRM access again. This, however, requires kernel support. DRM devices provide DRM-Master for synchronization, evdev devices have EVIOCREVOKE (pending on linux-input-ML). fbdev devices do not provide such synchronization methods (and never will). Note that for evdev devices, we call EVIOCREVOKE once a session gets inactive. However, this cannot be undone (the fd is still valid but mostly unusable). So we reopen a new fd once the session is activated and send it together with the ResumeDevice() signal. With this infrastructure in place, compositors can now run without CAP_SYS_ADMIN (that is, without being root). They use RequestControl() to acquire a session and listen for devices via udev_monitor. For every device they want to open, they call RequestDevice() on logind. This returns a fd which they can use now. They no longer have to open the devices themselves or call any privileged ioctls. This is all done by logind. Session-switches are still bound to VTs. Hence, compositors will get notified via the usual VT mechanisms and can cleanup their state. Once the VT switch is acknowledged as usual, logind will get notified via sysfs and pause the old-session's devices and resume the devices of the new session. To allow using this infrastructure with systems without VTs, we provide notification signals. logind sends PauseDevice("force") dbus signals to the current session controller for every device that it pauses. And it sends ResumeDevice signals for every device that it resumes. For seats with VTs this is sent _after_ the VT switch is acknowledged. Because the compositor already acknowledged that it cleaned-up all devices. However, for seats without VTs, this is used to notify the active compositor that the session is about to be deactivated. That is, logind sends PauseDevice("force") for each active device and then performs the session-switch. The session-switch changes the "Active" property of the session which can be monitored by the compositor. The new session is activated and the ResumeDevice events are sent. For seats without VTs, this is a forced session-switch. As this is not backwards-compatible (xserver actually crashes, weston drops the related devices, ..) we also provide an acknowledged session-switch. Note that this is never used for sessions with VTs. You use the acknowledged VT-switch on these seats. An acknowledged session switch sends PauseDevice("pause") instead of PauseDevice("force") to the active session. It schedules a short timeout and waits for the session to acknowledge each of them with PauseDeviceComplete(). Once all are acknowledged, or the session ran out of time, a PauseDevice("force") is sent for all remaining active devices and the session switch is performed. Note that this is only partially implemented, yet, as we don't allow multi-session without VTs, yet. A follow up commit will hook it up and implemented the acknowledgements+timeout. The implementation is quite simple. We use major/minor exclusively to identify devices on the bus. On RequestDevice() we retrieve the udev_device from the major/minor and search for an existing "Device" object. If no exists, we create it. This guarantees us that we are notified whenever the device changes seats or is removed. We create a new SessionDevice object and link it to the related Session and Device. Session->devices is a hashtable to lookup SessionDevice objects via major/minor. Device->session_devices is a linked list so we can release all linked session-devices once a device vanishes. Now we only have to hook this up in seat_set_active() so we correctly change device states during session-switches. As mentioned earlier, these are forced state-changes as VTs are currently used exclusively for multi-session implementations. Everything else are hooks to release all session-devices once the controller changes or a session is closed or removed.

bf7825ae69f53a7e80a740547919833e49ed1df4 17-Sep-2013 David Herrmann <dh.herrmann@gmail.com>

logind: extract has_vts() from can_multi_session() We currently use seat_can_multi_session() to test for two things: * whether the seat can handle session-switching * whether the seat has VTs As both are currently logically equivalent, we didn't care. However, we want to allow session-switching on seats without VTs, so split this helper into: * seat_can_multi_session(): whether session-switching is supported * seat_has_vts(): whether the seat has VTs Note that only one seat on a system can have VTs. There is only one set of them. We automatically assign them to seat0 as usual. With this patch in place, we can easily add new session-switching/tracking methods without breaking any VT code as it is now protected by has_vts(), no longer by can_multi_session().

9209d5121dfb3049cbf280139c4cc40c2038edcc 17-Sep-2013 David Herrmann <dh.herrmann@gmail.com>

logind: fix session_activate(vtnr = 0) VT numbers start with 1. If a session has vtnr == 0, we must not assume it is running on a VT. Note that this could trigger the assert() below as CreateSession() sets vtnr to 0, not <0.

92432fcc7f3a0320c07e99c5d395568a3aa216b6 17-Sep-2013 David Herrmann <dh.herrmann@gmail.com>

logind: rename vtconsole to seat0 The seat->vtconsole member always points to the default seat seat0. Even if VTs are disabled, it's used as default seat. Therefore, rename it to seat0 to correctly state what it is. This also changes the seat files in /run from IS_VTCONSOLE to IS_SEAT0. It wasn't used by any code, yet, so this seems fine. While we are at it, we also remove every "if (s->vtconsole)" as this pointer is always valid!

ab60f2ffb1a1fe2024aea077b3f42c3653bf1df1 17-Sep-2013 David Herrmann <dh.herrmann@gmail.com>

logind: make Session.Activate() lazy Currently, Activate() calls chvt(), which does an ioctl(VT_ACTIVATE) and immediately calls seat_set_active(). However, VTs are allowed to prevent being deactivated. Therefore, logind cannot be sure the VT_ACTIVATE call was actually successful. Furthermore, compositors often need to clean up their devices before they acknowledge the VT switch. The immediate call to seat_set_active() may modify underlying ACLs, though. Thus, some compositors may fail cleaning up their stuff. Moreover, the compositor being switched to (if listening to logind instead of VTs) will not be able to activate its devices if the old VT still has them active. We could simply add an VT_WAITACTIVE call, which blocks until the given VT is active. However, this can block forever if the compositor hangs. So to fix this, we make Activate() lazy. That is, it only schedules a session-switch but does not wait for it to complete. The caller can no longer rely on it being immediate. Instead, a caller is required to wait for the PropertiesChanged signal and read the "Active" field. We could make Activate() wait asynchronously for the session-switch to complete and then send the return-message afterwards. However, this would add a lot of state-tracking with no real gain: 1) Sessions normally don't care whether Activate() was actually successful as they currently _must_ wait for the VT activation to do anything for real. 2) Error messages for failed session switches can be printed by logind instead of the session issuing Activate(). 3) Sessions that require synchronous Activate() calls can simply issue the call and then wait for "Active" properties to change. This also allows them to implement their own timeout. This change prepares for multi-session on seats without VTs. Forced VT switches are always bad as compositors cannot perform any cleanup. This isn't strictly required, but may lead to loss of information and ambiguous error messages. So for multi-session on seats without VTs, we must wait for the current session to clean-up before finalizing the session-switch. This requires Activate() to be lazy as we cannot block here. Note that we can always implement a timeout which allows us to guarantee the session switch to happen. Nevertheless, this calls for a lazy Activate().

ae5e06bda24ebbb2ac00741738ad3a872fc577a5 17-Sep-2013 David Herrmann <dh.herrmann@gmail.com>

logind: add session controllers A session usually has only a single compositor or other application that controls graphics and input devices on it. To avoid multiple applications from hijacking each other's devices or even using the devices in parallel, we add session controllers. A session controller is an application that manages a session. Specific API calls may be limited to controllers to avoid others from getting unprivileged access to restricted resources. A session becomes a controller by calling the RequestControl() dbus API call. It can drop it via ReleaseControl(). logind tracks bus-names to release the controller once an application closes the bus. We use the new bus-name tracking to do that. Note that during ReleaseControl() we need to check whether some other session also tracks the name before we remove it from the bus-name tracking list. Currently, we only allow one controller at a time. However, the public API does not enforce this restriction. So if it makes sense, we can allow multiple controllers in parallel later. Or we can add a "scope" parameter, which allows a different controller for graphics-devices, sound-devices and whatever you want. Note that currently you get -EBUSY if there is already a controller. You can force the RequestControl() call (root-only) to drop the current controller and recover the session during an emergency. To recover a seat, this is not needed, though. You can simply create a new session or force-activate it. To become a session controller, a dbus caller must either be root or the same user as the user of the session. This allows us to run a session compositor as user and we no longer need any CAP_SYS_ADMIN.

4b549144d82ea0f368321d149215f577049fffa6 16-Sep-2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

Verify validity of session name when received from outside Only ASCII letters and digits are allowed.

5af726cced7f87d6f7b7d6bd1dd5ee44ded5aa7b 28-Aug-2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

logind-session.c: use _cleanup_

042f598892e2587d735e4de1f4aabcb3d89d05f1 28-Aug-2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

logind: be more verbose on errors

405e0255d5e6950180d9563f1a26294b5360db03 13-Aug-2013 Lennart Poettering <lennart@poettering.net>

logind: restore logic to kill user processes when session ends

7fb3ee51c1b37738fd0ea2c81dfd6c336144698a 10-Jul-2013 Lennart Poettering <lennart@poettering.net>

user-sessions: rely on PID 1 to kill sessions As we want to centralized cgroup access we should stop killing the user sessions directly from the systemd-user-sessions service. Instead, rely on PID 1 doing this by adding the right ordering dependencies to the session scope units.

f2d4f98d5873e0649b79b04b967fc9625ab3a350 10-Jul-2013 Lennart Poettering <lennart@poettering.net>

logind: when creating the scope job fails, return this immediately to the client that wants to register the session Otherwise we'll hanging for the job to finish without any job existing. Similar, for machined.

d0af76e68a5bab2e4fd9674b1c64a9f38d7afe97 02-Jul-2013 Lennart Poettering <lennart@poettering.net>

logind: after deserializatio readd systemd units to unit-to-object hashmap correctly

374ec6abf31ada6ca554cc8ea99b282373fac010 02-Jul-2013 Lennart Poettering <lennart@poettering.net>

libsystemd-logind: fix detection of session/user/machine of a PID

fb6becb4436ae4078337011b2017ce294e7361cf 02-Jul-2013 Lennart Poettering <lennart@poettering.net>

logind: port over to use scopes+slices for all cgroup stuff In order to prepare things for the single-writer cgroup scheme, let's make logind use systemd's own primitives for cgroup management. Every login user now gets his own private slice unit, in which his sessions live in a scope unit each. Also, add user@$UID.service to the same slice, and implicitly start it on first login.

4ad490007b70e6ac18d3cb04fa2ed92eba1451fa 27-Jun-2013 Lennart Poettering <lennart@poettering.net>

core: general cgroup rework Replace the very generic cgroup hookup with a much simpler one. With this change only the high-level cgroup settings remain, the ability to set arbitrary cgroup attributes is removed, so is support for adding units to arbitrary cgroup controllers or setting arbitrary paths for them (especially paths that are different for the various controllers). This also introduces a new -.slice root slice, that is the parent of system.slice and friends. This enables easy admin configuration of root-level cgrouo properties. This replaces DeviceDeny= by DevicePolicy=, and implicitly adds in /dev/null, /dev/zero and friends if DeviceAllow= is used (unless this is turned off by DevicePolicy=).

/systemd/Makefile.am /systemd/TODO /systemd/src/core/cgroup-attr.c /systemd/src/core/cgroup-attr.h /systemd/src/core/cgroup-semantics.c /systemd/src/core/cgroup-semantics.h /systemd/src/core/cgroup.c /systemd/src/core/cgroup.h /systemd/src/core/dbus-cgroup.c /systemd/src/core/dbus-cgroup.h /systemd/src/core/dbus-execute.c /systemd/src/core/dbus-execute.h /systemd/src/core/dbus-manager.c /systemd/src/core/dbus-mount.c /systemd/src/core/dbus-service.c /systemd/src/core/dbus-slice.c /systemd/src/core/dbus-socket.c /systemd/src/core/dbus-swap.c /systemd/src/core/dbus-unit.c /systemd/src/core/dbus-unit.h /systemd/src/core/dbus.c /systemd/src/core/execute.c /systemd/src/core/execute.h /systemd/src/core/load-fragment-gperf.gperf.m4 /systemd/src/core/load-fragment.c /systemd/src/core/load-fragment.h /systemd/src/core/main.c /systemd/src/core/manager.c /systemd/src/core/manager.h /systemd/src/core/mount.c /systemd/src/core/mount.h /systemd/src/core/service.c /systemd/src/core/service.h /systemd/src/core/slice.c /systemd/src/core/slice.h /systemd/src/core/socket.c /systemd/src/core/socket.h /systemd/src/core/special.h /systemd/src/core/swap.c /systemd/src/core/swap.h /systemd/src/core/unit.c /systemd/src/core/unit.h logind-machine.c logind-session.c logind-user.c /systemd/src/shared/cgroup-label.c /systemd/src/shared/cgroup-show.c /systemd/src/shared/cgroup-util.c /systemd/src/shared/cgroup-util.h /systemd/src/shared/fileio.c /systemd/src/shared/mkdir.c /systemd/src/shared/mkdir.h /systemd/src/systemctl/systemctl.c /systemd/src/test/test-cgroup.c /systemd/units/-.slice /systemd/units/slices.target /systemd/units/system.slice
9444b1f20e311f073864d81e913bd4f32fe95cfd 20-Jun-2013 Lennart Poettering <lennart@poettering.net>

logind: add infrastructure to keep track of machines, and move to slices - This changes all logind cgroup objects to use slice objects rather than fixed croup locations. - logind can now collect minimal information about running VMs/containers. As fixed cgroup locations can no longer be used we need an entity that keeps track of machine cgroups in whatever slice they might be located. Since logind already keeps track of users, sessions and seats this is a trivial addition. - nspawn will now register with logind and pass various bits of metadata along. A new option "--slice=" has been added to place the container in a specific slice. - loginctl gained commands to list, introspect and terminate machines. - user.slice and machine.slice will now be pulled in by logind.service, since only logind.service requires this slice.

/systemd/Makefile.am /systemd/TODO /systemd/catalog/systemd.catalog /systemd/src/cgls/cgls.c /systemd/src/core/cgroup.c /systemd/src/core/dbus-manager.c /systemd/src/core/dbus-unit.c /systemd/src/core/manager.h /systemd/src/core/service.c /systemd/src/core/socket.c /systemd/src/core/special.h /systemd/src/core/unit-printf.c /systemd/src/core/unit.c /systemd/src/core/unit.h loginctl.c logind-dbus.c logind-machine-dbus.c logind-machine.c logind-machine.h logind-seat-dbus.c logind-session-dbus.c logind-session.c logind-session.h logind-user-dbus.c logind-user.c logind-user.h logind.c logind.h sd-login.c user-sessions.c /systemd/src/nspawn/nspawn.c /systemd/src/shared/cgroup-util.c /systemd/src/shared/cgroup-util.h /systemd/src/shared/unit-name.c /systemd/src/systemd/sd-bus.h /systemd/src/systemd/sd-messages.h /systemd/src/test/test-cgroup-util.c /systemd/units/machine.slice /systemd/units/system.slice /systemd/units/systemd-logind.service.in /systemd/units/user.slice
507f22bd0172bff5e5d98145b1419bd472a2c57f 10-Jun-2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

Use stdint.h macros instead of casts to print uint64_t values Casts are visually heavy, and can obscure unwanted truncations.

ae018d9bc900d6355dea4af05119b49c67945184 23-Apr-2013 Lennart Poettering <lennart@poettering.net>

cgroup: make sure all our cgroup objects have a suffix and are properly escaped Session objects will now get the .session suffix, user objects the .user suffix, nspawn containers the .nspawn suffix. This also changes the user cgroups to be named after the numeric UID rather than the username, since this allows us the parse these paths standalone without requiring access to the cgroup file system. This also changes the mapping of instanced units to cgroups. Instead of mapping foo@bar.service to the cgroup path /user/foo@.service/bar we will now map it to /user/foo@.service/foo@bar.service, in order to ensure that all our objects are properly suffixed in the tree.

7027ff61a34a12487712b382a061c654acc3a679 16-Apr-2013 Lennart Poettering <lennart@poettering.net>

nspawn: introduce the new /machine/ tree in the cgroup tree and move containers there Containers will now carry a label (normally derived from the root directory name, but configurable by the user), and the container's root cgroup is /machine/<label>. This label is called "machine name", and can cover both containers and VMs (as soon as libvirt also makes use of /machine/). libsystemd-login can be used to query the machine name from a process. This patch also includes numerous clean-ups for the cgroup code.

a32360f1a5a85c12f00e9dfb7353280067cccb5b 15-Apr-2013 Lennart Poettering <lennart@poettering.net>

core: always create /user and /machine top-level cgroup dirs This allows clients to put inotify watches on these trees to watch for state changes, without having to wait until these dirs are created. This introduces the new top-level /machine cgroup dir as canonical location where OS containers and VMs shall be located (as discussed with the libvirt folks).

50fb97935d689a520251b2d543599be14bdfd0ed 10-Apr-2013 Fedora systemd team <systemd-maint@redhat.com>

logind: avoid creating stale session state files There were old session state files accumulating in /run/systemd/session. They confused e.g. "reboot", which thought there were still users logged in. The files got created like this: session_stop(Session *s) -> ... unlink(s->state_file); ... seat_set_active(s->seat, NULL) -> session_save(...); /* re-creates the state file we just unlinked */ Fix it simply by clearing the s->started flag earlier to prevent any further writes of the state file (session_save() checks the flag).

e2acb67baaa1d63685dcaf80becf10291f13d086 09-Apr-2013 Lennart Poettering <lennart@poettering.net>

logind: introduce an explicit session class for cronjobs and similar cronjobs are neither interactive user session, nor lock screens, nor login screens, hence they should get their own class.

b92bea5d2a9481de69bb627a7b442a9f58fca43d 06-Apr-2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

Use initalization instead of explicit zeroing Before, we would initialize many fields twice: first by filling the structure with zeros, and then a second time with the real values. We can let the compiler do the job for us, avoiding one copy. A downside of this patch is that text gets slightly bigger. This is because all zero() calls are effectively inlined: $ size build/.libs/systemd text data bss dec hex filename before 897737 107300 2560 1007597 f5fed build/.libs/systemd after 897873 107300 2560 1007733 f6075 build/.libs/systemd … actually less than 1‰. A few asserts that the parameter is not null had to be removed. I don't think this changes much, because first, it is quite unlikely for the assert to fail, and second, an immediate SEGV is almost as good as an assert.

/systemd/src/core/dbus-execute.c /systemd/src/core/dbus.c /systemd/src/core/device.c /systemd/src/core/execute.c /systemd/src/core/job.c /systemd/src/core/locale-setup.c /systemd/src/core/loopback-setup.c /systemd/src/core/main.c /systemd/src/core/manager.c /systemd/src/core/mount.c /systemd/src/core/service.c /systemd/src/core/swap.c /systemd/src/core/umount.c /systemd/src/core/unit.c /systemd/src/cryptsetup/cryptsetup.c /systemd/src/hostname/hostnamectl.c /systemd/src/journal/journald-server.c /systemd/src/journal/journald-stream.c /systemd/src/journal/journald-syslog.c /systemd/src/libsystemd-bus/bus-socket.c /systemd/src/libsystemd-bus/sd-bus.c /systemd/src/locale/localectl.c /systemd/src/locale/localed.c loginctl.c logind-inhibit.c logind-session.c logind.c pam-module.c /systemd/src/nspawn/nspawn.c /systemd/src/python-systemd/_reader.c /systemd/src/readahead/readahead-collect.c /systemd/src/remount-fs/remount-fs.c /systemd/src/reply-password/reply-password.c /systemd/src/shared/ask-password-api.c /systemd/src/shared/dbus-loop.c /systemd/src/shared/install.c /systemd/src/shared/log.c /systemd/src/shared/util.c /systemd/src/shared/utmp-wtmp.c /systemd/src/shared/virt.c /systemd/src/shutdownd/shutdownd.c /systemd/src/stdio-bridge/stdio-bridge.c /systemd/src/systemctl/systemctl.c /systemd/src/timedate/timedatectl.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/tty-ask-password-agent/tty-ask-password-agent.c /systemd/src/udev/udev-builtin-net_id.c /systemd/src/update-utmp/update-utmp.c /systemd/src/vconsole/vconsole-setup.c
a5c32cff1f56afe6f0c6c70d91a88a7a8238b2d7 14-Feb-2013 Harald Hoyer <harald@redhat.com>

honor SELinux labels, when creating and writing config files Also split out some fileio functions to fileio.c and provide a SELinux aware pendant in fileio-label.c see https://bugzilla.redhat.com/show_bug.cgi?id=881577

/systemd/Makefile.am /systemd/src/analyze/systemd-analyze.c /systemd/src/binfmt/binfmt.c /systemd/src/bootchart/bootchart.c /systemd/src/cgtop/cgtop.c /systemd/src/core/cgroup-attr.c /systemd/src/core/condition.c /systemd/src/core/dbus-execute.c /systemd/src/core/dbus-unit.c /systemd/src/core/execute.c /systemd/src/core/hostname-setup.c /systemd/src/core/locale-setup.c /systemd/src/core/machine-id-setup.c /systemd/src/core/main.c /systemd/src/core/service.c /systemd/src/core/unit.c /systemd/src/fsck/fsck.c /systemd/src/fstab-generator/fstab-generator.c /systemd/src/getty-generator/getty-generator.c /systemd/src/hostname/hostnamectl.c /systemd/src/hostname/hostnamed.c /systemd/src/journal/journald-server.c /systemd/src/locale/localed.c logind-dbus.c logind-inhibit.c logind-session.c logind-user.c pam-module.c sd-login.c user-sessions.c /systemd/src/modules-load/modules-load.c /systemd/src/nspawn/nspawn.c /systemd/src/quotacheck/quotacheck.c /systemd/src/readahead/readahead-common.c /systemd/src/shared/audit.c /systemd/src/shared/capability.c /systemd/src/shared/cgroup-util.c /systemd/src/shared/fileio-label.c /systemd/src/shared/fileio-label.h /systemd/src/shared/fileio.c /systemd/src/shared/fileio.h /systemd/src/shared/hwclock.c /systemd/src/shared/label.c /systemd/src/shared/label.h /systemd/src/shared/socket-util.c /systemd/src/shared/util.c /systemd/src/shared/util.h /systemd/src/shared/virt.c /systemd/src/shutdownd/shutdownd.c /systemd/src/sleep/sleep.c /systemd/src/sysctl/sysctl.c /systemd/src/systemctl/systemctl.c /systemd/src/test/test-unit-file.c /systemd/src/timedate/timedated.c /systemd/src/udev/udev-builtin-net_id.c /systemd/src/udev/udevd.c /systemd/src/vconsole/vconsole-setup.c
0762eaa3272b8c6d900737d610c9314c8610ef75 15-Jan-2013 Michal Sekletar <msekleta@redhat.com>

logind: remove unused variable

23406ce58aa7142e8df3c5c9e5ac34a01e90e3e0 24-Dec-2012 Lennart Poettering <lennart@poettering.net>

logind: add support for automatic suspend/hibernate/shutdown on idle

1ca6783f5ea3755bd83e723f529c2eda512c7fed 13-Oct-2012 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

log: introduce a macro to format message id The MESSAGE_ID=... stanza will appear in countless number of places. It is just too long to write it out in full each time. Incidentally, this also fixes a typo of MESSSAGE is three places.

5a165aa6b9aa921d8b069059026d84e879ac38cc 21-Sep-2012 Václav Pavlín < <vpavlin@redhat.com>

logind: check return value, log warning on error

4a271908f1d46e0549a4d9bfc5d0e34266887695 16-Sep-2012 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

logind: redefine idleness to start at last activity Before, after the timeout, a session would be timestamped as idle since 'last activity' + 'idle timeout'. Now, it is timestamped as idle since 'last activity'. Before, after all sessions were idle, the seat would be marked with as idle with the timestamp of the oldest idle session. Now it is marked with the timestamp of the youngest idle session. Both changes seem to me to be closer to natural understanding of idleness: the time since last activity counts.

23bd3b6263e4fd9c15cfb6c05e65fa425791374c 12-Sep-2012 Colin Guthrie <colin@mageia.org>

logind: Ensure the user, seat and session files are updated when the session is closing.

877d54e9b09e093c2102f519a84e2a52637ae035 04-Sep-2012 Lennart Poettering <lennart@poettering.net>

journal: generate structured journal messages for a number of events

0d0f0c50d3a1d90f03972a6abb82e6413daaa583 26-Jul-2012 Shawn Landden <shawnlandden@gmail.com>

log.h: new log_oom() -> int -ENOMEM, use it also a number of minor fixups and bug fixes: spelling, oom errors that didn't print errors, not properly forwarding error codes, few more consistency issues, et cetera

/systemd/src/cgtop/cgtop.c /systemd/src/core/cgroup.c /systemd/src/core/dbus.c /systemd/src/core/manager.c /systemd/src/cryptsetup/cryptsetup-generator.c /systemd/src/cryptsetup/cryptsetup.c /systemd/src/fsck/fsck.c /systemd/src/fstab-generator/fstab-generator.c /systemd/src/getty-generator/getty-generator.c /systemd/src/hostname/hostnamed.c /systemd/src/journal/cat.c /systemd/src/journal/coredump.c /systemd/src/journal/journalctl.c /systemd/src/journal/journald.c /systemd/src/locale/localed.c logind-button.c logind-session.c logind-user.c logind.c multi-seat-x.c /systemd/src/modules-load/modules-load.c /systemd/src/nspawn/nspawn.c /systemd/src/rc-local-generator/rc-local-generator.c /systemd/src/readahead/readahead-collect.c /systemd/src/readahead/readahead-replay.c /systemd/src/remount-fs/remount-fs.c /systemd/src/shared/ask-password-api.c /systemd/src/shared/dbus-common.c /systemd/src/shared/log.h /systemd/src/shared/logs-show.c /systemd/src/shared/util.c /systemd/src/shutdownd/shutdownd.c /systemd/src/sysctl/sysctl.c /systemd/src/system-update-generator/system-update-generator.c /systemd/src/systemctl/systemctl.c /systemd/src/timedate/timedated.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/tty-ask-password-agent/tty-ask-password-agent.c /systemd/src/udev/scsi_id/scsi_id.c /systemd/src/vconsole/vconsole-setup.c
669241a076108e0483d7d8475beaa506106d077e 25-Jul-2012 Shawn Landden <shawnlandden@gmail.com>

use "Out of memory." consistantly (or with "\n") glibc/glib both use "out of memory" consistantly so maybe we should consider that instead of this. Eliminates one string out of a number of binaries. Also fixes extra newline in udev/scsi_id

/systemd/src/cgtop/cgtop.c /systemd/src/core/cgroup.c /systemd/src/core/dbus.c /systemd/src/core/manager.c /systemd/src/cryptsetup/cryptsetup-generator.c /systemd/src/cryptsetup/cryptsetup.c /systemd/src/fsck/fsck.c /systemd/src/fstab-generator/fstab-generator.c /systemd/src/getty-generator/getty-generator.c /systemd/src/hostname/hostnamed.c /systemd/src/journal/coredump.c /systemd/src/journal/journalctl.c /systemd/src/journal/journald.c /systemd/src/locale/localed.c logind-button.c logind-session.c logind-user.c logind.c multi-seat-x.c /systemd/src/modules-load/modules-load.c /systemd/src/nspawn/nspawn.c /systemd/src/rc-local-generator/rc-local-generator.c /systemd/src/readahead/readahead-collect.c /systemd/src/readahead/readahead-replay.c /systemd/src/shared/ask-password-api.c /systemd/src/shared/dbus-common.c /systemd/src/shared/logs-show.c /systemd/src/shared/util.c /systemd/src/shutdownd/shutdownd.c /systemd/src/sysctl/sysctl.c /systemd/src/systemctl/systemctl.c /systemd/src/timedate/timedated.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/scsi_id/scsi_id.c
17804d7f0a4002d4f0b8f1dc6e25fcca9381c13e 22-Jul-2012 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

logind: fix operation precedence mix-up Since + has higher precedence than ?:, and u+b is unlikely to be exactly zero, the timestamp would usually be set to IDLE_THRESHOLD_USEC. Fix it by returning either 'last activity', or 'last activity+IDLE_THRESHOLD_USEC'.

0604381b9dbef4cc498b5a77311e1da99c1430b8 21-Jun-2012 Lennart Poettering <lennart@poettering.net>

logind: introduce a state for session, being one of online, active, closing online = logged in active = logged in and session is in the fg closing = nominally logged out but some left-over processes still around Related to: https://bugzilla.gnome.org/show_bug.cgi?id=677556

8c8c43515cee56dfc2298998a9e5958308c46f99 31-May-2012 Lennart Poettering <lennart@poettering.net>

logind: properly clean up user cgroups when they run empty

d2e54fae5ca7a0f71b5ac8b356a589ff0a09ea0a 31-May-2012 Kay Sievers <kay@vrfy.org>

mkdir: append _label to all mkdir() calls that explicitly set the selinux context

/systemd/src/core/automount.c /systemd/src/core/dbus.c /systemd/src/core/manager.c /systemd/src/core/mount-setup.c /systemd/src/core/mount.c /systemd/src/core/path.c /systemd/src/core/shutdown.c /systemd/src/core/socket.c /systemd/src/cryptsetup/cryptsetup-generator.c /systemd/src/fstab-generator/fstab-generator.c /systemd/src/getty-generator/getty-generator.c /systemd/src/journal/coredump.c /systemd/src/journal/journald.c /systemd/src/libudev/libudev-device-private.c /systemd/src/locale/localed.c logind-dbus.c logind-inhibit.c logind-seat.c logind-session.c logind-user.c multi-seat-x.c /systemd/src/nspawn/nspawn.c /systemd/src/random-seed/random-seed.c /systemd/src/rc-local-generator/rc-local-generator.c /systemd/src/shared/ask-password-api.c /systemd/src/shared/cgroup-label.c /systemd/src/shared/install.c /systemd/src/shared/mkdir.c /systemd/src/shared/mkdir.h /systemd/src/shared/path-lookup.c /systemd/src/shared/socket-label.c /systemd/src/shutdownd/shutdownd.c /systemd/src/test/test-udev.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/tty-ask-password-agent/tty-ask-password-agent.c /systemd/src/udev/udev-builtin-firmware.c /systemd/src/udev/udev-node.c /systemd/src/udev/udev-watch.c /systemd/src/udev/udevd.c
069cfc85f876bb6966cb5a9bbe0235f5064622cd 30-May-2012 Lennart Poettering <lennart@poettering.net>

logind: optionally handle power, sleep and lid switch events This takes handling of chassis power and sleep keys as well as the lid switch over from acpid. This logic is enabled by default for power and sleep keys, but not for the lid switch. If a graphical session is in the foreground no action is taken under the assumption that the graphical session does this.

6ccf7562da826fd82a25aacfbe193691180649d0 21-May-2012 Lennart Poettering <lennart@poettering.net>

login: minor typo fix

9eb977db5b89b44f254ab40c1876a76b7d7ea2d0 08-May-2012 Kay Sievers <kay@vrfy.org>

util: split-out path-util.[ch]

/systemd/Makefile.am /systemd/src/cgls/cgls.c /systemd/src/cgtop/cgtop.c /systemd/src/core/automount.c /systemd/src/core/cgroup.c /systemd/src/core/condition.c /systemd/src/core/device.c /systemd/src/core/execute.c /systemd/src/core/load-fragment.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/path.c /systemd/src/core/service.c /systemd/src/core/socket.c /systemd/src/core/swap.c /systemd/src/core/umount.c /systemd/src/core/unit.c /systemd/src/cryptsetup/cryptsetup.c /systemd/src/journal/sd-journal.c logind-dbus.c logind-inhibit.c logind-seat.c logind-session.c sysfs-show.c /systemd/src/nspawn/nspawn.c /systemd/src/remount-fs/remount-fs.c /systemd/src/shared/cgroup-show.c /systemd/src/shared/cgroup-util.c /systemd/src/shared/conf-files.c /systemd/src/shared/conf-parser.c /systemd/src/shared/install.c /systemd/src/shared/label.c /systemd/src/shared/path-lookup.c /systemd/src/shared/path-util.c /systemd/src/shared/path-util.h /systemd/src/shared/socket-util.c /systemd/src/shared/unit-name.c /systemd/src/shared/util.c /systemd/src/shared/util.h /systemd/src/shared/utmp-wtmp.c /systemd/src/sysctl/sysctl.c /systemd/src/systemctl/systemctl.c /systemd/src/test/test-cgroup.c /systemd/src/test/test-install.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/tty-ask-password-agent/tty-ask-password-agent.c /systemd/src/udev/udev-rules.c
b80efeb9ae23b493d03501caa7e6334d1db65dd9 07-May-2012 Frederic Crozat <fcrozat@suse.com>

logind: fix memory leak

f8e2fb7b14e53f5a4bcfd66d26910af1dee185c6 16-Apr-2012 Lennart Poettering <lennart@poettering.net>

logind: add shutdown/suspend/idle inhibition framework

5430f7f2bc7330f3088b894166bf3524a067e3d8 12-Apr-2012 Lennart Poettering <lennart@poettering.net>

relicense to LGPLv2.1 (with exceptions) We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.

/systemd/LICENSE.GPL2 /systemd/LICENSE.LGPL2.1 /systemd/LICENSE.MIT /systemd/Makefile.am /systemd/README /systemd/autogen.sh /systemd/configure.ac /systemd/man/binfmt.d.xml /systemd/man/custom-html.xsl /systemd/man/daemon.xml /systemd/man/halt.xml /systemd/man/hostname.xml /systemd/man/journalctl.xml /systemd/man/journald.conf.xml /systemd/man/locale.conf.xml /systemd/man/loginctl.xml /systemd/man/logind.conf.xml /systemd/man/machine-id.xml /systemd/man/machine-info.xml /systemd/man/modules-load.d.xml /systemd/man/os-release.xml /systemd/man/pam_systemd.xml /systemd/man/runlevel.xml /systemd/man/sd-daemon.xml /systemd/man/sd-login.xml /systemd/man/sd-readahead.xml /systemd/man/sd_booted.xml /systemd/man/sd_get_seats.xml /systemd/man/sd_is_fifo.xml /systemd/man/sd_listen_fds.xml /systemd/man/sd_login_monitor_new.xml /systemd/man/sd_notify.xml /systemd/man/sd_pid_get_session.xml /systemd/man/sd_readahead.xml /systemd/man/sd_seat_get_active.xml /systemd/man/sd_session_is_active.xml /systemd/man/sd_uid_get_state.xml /systemd/man/shutdown.xml /systemd/man/sysctl.d.xml /systemd/man/systemctl.xml /systemd/man/systemd-ask-password.xml /systemd/man/systemd-cat.xml /systemd/man/systemd-cgls.xml /systemd/man/systemd-cgtop.xml /systemd/man/systemd-machine-id-setup.xml /systemd/man/systemd-notify.xml /systemd/man/systemd-nspawn.xml /systemd/man/systemd-tmpfiles.xml /systemd/man/systemd.automount.xml /systemd/man/systemd.conf.xml /systemd/man/systemd.device.xml /systemd/man/systemd.exec.xml /systemd/man/systemd.journal-fields.xml /systemd/man/systemd.mount.xml /systemd/man/systemd.path.xml /systemd/man/systemd.service.xml /systemd/man/systemd.snapshot.xml /systemd/man/systemd.socket.xml /systemd/man/systemd.special.xml /systemd/man/systemd.swap.xml /systemd/man/systemd.target.xml /systemd/man/systemd.timer.xml /systemd/man/systemd.unit.xml /systemd/man/systemd.xml /systemd/man/telinit.xml /systemd/man/timezone.xml /systemd/man/tmpfiles.d.xml /systemd/man/vconsole.conf.xml /systemd/rules/99-systemd.rules.in /systemd/src/Makefile /systemd/src/ac-power.c /systemd/src/ask-password-api.c /systemd/src/ask-password.c /systemd/src/binfmt/binfmt.c /systemd/src/bridge.c /systemd/src/cgls.c /systemd/src/cgroup-show.c /systemd/src/cgroup-show.h /systemd/src/cgroups-agent.c /systemd/src/cgtop.c /systemd/src/core/ask-password-api.h /systemd/src/core/automount.c /systemd/src/core/automount.h /systemd/src/core/build.h /systemd/src/core/bus-errors.h /systemd/src/core/cgroup-attr.c /systemd/src/core/cgroup-attr.h /systemd/src/core/cgroup.c /systemd/src/core/cgroup.h /systemd/src/core/condition.c /systemd/src/core/condition.h /systemd/src/core/dbus-automount.c /systemd/src/core/dbus-automount.h /systemd/src/core/dbus-device.c /systemd/src/core/dbus-device.h /systemd/src/core/dbus-execute.c /systemd/src/core/dbus-execute.h /systemd/src/core/dbus-job.c /systemd/src/core/dbus-job.h /systemd/src/core/dbus-loop.h /systemd/src/core/dbus-manager.c /systemd/src/core/dbus-manager.h /systemd/src/core/dbus-mount.c /systemd/src/core/dbus-mount.h /systemd/src/core/dbus-path.c /systemd/src/core/dbus-path.h /systemd/src/core/dbus-service.c /systemd/src/core/dbus-service.h /systemd/src/core/dbus-snapshot.c /systemd/src/core/dbus-snapshot.h /systemd/src/core/dbus-socket.c /systemd/src/core/dbus-socket.h /systemd/src/core/dbus-swap.c /systemd/src/core/dbus-swap.h /systemd/src/core/dbus-target.c /systemd/src/core/dbus-target.h /systemd/src/core/dbus-timer.c /systemd/src/core/dbus-timer.h /systemd/src/core/dbus-unit.c /systemd/src/core/dbus-unit.h /systemd/src/core/dbus.c /systemd/src/core/dbus.h /systemd/src/core/device.c /systemd/src/core/device.h /systemd/src/core/execute.c /systemd/src/core/execute.h /systemd/src/core/fdset.c /systemd/src/core/fdset.h /systemd/src/core/ima-setup.c /systemd/src/core/ima-setup.h /systemd/src/core/job.c /systemd/src/core/job.h /systemd/src/core/kmod-setup.c /systemd/src/core/kmod-setup.h /systemd/src/core/load-dropin.c /systemd/src/core/load-dropin.h /systemd/src/core/load-fragment.c /systemd/src/core/load-fragment.h /systemd/src/core/locale-setup.c /systemd/src/core/locale-setup.h /systemd/src/core/manager.c /systemd/src/core/manager.h /systemd/src/core/mount.c /systemd/src/core/mount.h /systemd/src/core/namespace.c /systemd/src/core/namespace.h /systemd/src/core/path.c /systemd/src/core/path.h /systemd/src/core/polkit.h /systemd/src/core/selinux-setup.c /systemd/src/core/selinux-setup.h /systemd/src/core/service.c /systemd/src/core/service.h /systemd/src/core/snapshot.c /systemd/src/core/snapshot.h /systemd/src/core/socket.c /systemd/src/core/socket.h /systemd/src/core/special.h /systemd/src/core/swap.c /systemd/src/core/swap.h /systemd/src/core/sysfs-show.h /systemd/src/core/target.c /systemd/src/core/target.h /systemd/src/core/tcpwrap.c /systemd/src/core/tcpwrap.h /systemd/src/core/timer.c /systemd/src/core/timer.h /systemd/src/core/unit.c /systemd/src/core/unit.h /systemd/src/cryptsetup/cryptsetup-generator.c /systemd/src/cryptsetup/cryptsetup.c /systemd/src/dbus-common.c /systemd/src/dbus-common.h /systemd/src/dbus-loop.c /systemd/src/def.h /systemd/src/detect-virt.c /systemd/src/fsck.c /systemd/src/getty-generator.c /systemd/src/hostname-setup.c /systemd/src/hostname-setup.h /systemd/src/hostname/hostnamed.c /systemd/src/hostname/org.freedesktop.hostname1.conf /systemd/src/hostname/org.freedesktop.hostname1.policy.in /systemd/src/hostname/org.freedesktop.hostname1.service /systemd/src/initctl.c /systemd/src/install.c /systemd/src/install.h /systemd/src/journal/cat.c /systemd/src/journal/compress.c /systemd/src/journal/compress.h /systemd/src/journal/coredump.c /systemd/src/journal/journal-def.h /systemd/src/journal/journal-file.c /systemd/src/journal/journal-file.h /systemd/src/journal/journal-internal.h /systemd/src/journal/journal-rate-limit.c /systemd/src/journal/journal-rate-limit.h /systemd/src/journal/journal-send.c /systemd/src/journal/journalctl.c /systemd/src/journal/journald.c /systemd/src/journal/journald.conf /systemd/src/journal/journald.h /systemd/src/journal/libsystemd-journal.pc.in /systemd/src/journal/libsystemd-journal.sym /systemd/src/journal/sd-journal.c /systemd/src/journal/test-journal-send.c /systemd/src/journal/test-journal.c /systemd/src/libsystemd-id128.pc.in /systemd/src/libsystemd-id128.sym /systemd/src/locale/localed.c /systemd/src/locale/org.freedesktop.locale1.conf /systemd/src/locale/org.freedesktop.locale1.policy.in /systemd/src/locale/org.freedesktop.locale1.service 70-uaccess.rules 71-seat.rules 73-seat-late.rules.in libsystemd-login.pc.in libsystemd-login.sym loginctl.c logind-acl.c logind-acl.h logind-dbus.c logind-device.c logind-device.h logind-seat-dbus.c logind-seat.c logind-seat.h logind-session-dbus.c logind-session.c logind-session.h logind-user-dbus.c logind-user.c logind-user.h logind.c logind.conf logind.h multi-seat-x.c org.freedesktop.login1.conf org.freedesktop.login1.policy.in org.freedesktop.login1.service pam-module.c sd-login.c sysfs-show.c test-login.c uaccess.c user-sessions.c /systemd/src/logs-show.c /systemd/src/logs-show.h /systemd/src/loopback-setup.c /systemd/src/loopback-setup.h /systemd/src/machine-id-main.c /systemd/src/machine-id-setup.c /systemd/src/machine-id-setup.h /systemd/src/main.c /systemd/src/missing.h /systemd/src/modules-load.c /systemd/src/mount-setup.c /systemd/src/mount-setup.h /systemd/src/notify.c /systemd/src/nspawn.c /systemd/src/org.freedesktop.systemd1.conf /systemd/src/org.freedesktop.systemd1.policy.in.in /systemd/src/org.freedesktop.systemd1.service /systemd/src/path-lookup.c /systemd/src/path-lookup.h /systemd/src/polkit.c /systemd/src/quotacheck.c /systemd/src/random-seed.c /systemd/src/rc-local-generator.c /systemd/src/readahead/readahead-collect.c /systemd/src/readahead/readahead-common.c /systemd/src/readahead/readahead-common.h /systemd/src/readahead/readahead-replay.c /systemd/src/remount-api-vfs.c /systemd/src/reply-password.c /systemd/src/sd-id128.c /systemd/src/shared/acl-util.c /systemd/src/shared/acl-util.h /systemd/src/shared/audit.c /systemd/src/shared/audit.h /systemd/src/shared/capability.c /systemd/src/shared/capability.h /systemd/src/shared/cgroup-label.c /systemd/src/shared/cgroup-util.c /systemd/src/shared/cgroup-util.h /systemd/src/shared/conf-parser.c /systemd/src/shared/conf-parser.h /systemd/src/shared/exit-status.c /systemd/src/shared/exit-status.h /systemd/src/shared/hashmap.c /systemd/src/shared/hashmap.h /systemd/src/shared/label.c /systemd/src/shared/label.h /systemd/src/shared/list.h /systemd/src/shared/log.c /systemd/src/shared/log.h /systemd/src/shared/macro.h /systemd/src/shared/mkdir.c /systemd/src/shared/mkdir.h /systemd/src/shared/pager.c /systemd/src/shared/pager.h /systemd/src/shared/ratelimit.c /systemd/src/shared/ratelimit.h /systemd/src/shared/set.c /systemd/src/shared/set.h /systemd/src/shared/socket-label.c /systemd/src/shared/socket-util.c /systemd/src/shared/socket-util.h /systemd/src/shared/strv.c /systemd/src/shared/strv.h /systemd/src/shared/utf8.c /systemd/src/shared/utf8.h /systemd/src/shared/util.c /systemd/src/shared/util.h /systemd/src/shared/virt.c /systemd/src/shared/virt.h /systemd/src/shutdown.c /systemd/src/shutdownd.c /systemd/src/spawn-ask-password-agent.c /systemd/src/spawn-ask-password-agent.h /systemd/src/spawn-polkit-agent.c /systemd/src/spawn-polkit-agent.h /systemd/src/specifier.c /systemd/src/specifier.h /systemd/src/sysctl.c /systemd/src/system.conf /systemd/src/systemctl.c /systemd/src/systemd-bash-completion.sh /systemd/src/systemd.pc.in /systemd/src/systemd/sd-id128.h /systemd/src/systemd/sd-journal.h /systemd/src/systemd/sd-login.h /systemd/src/systemd/sd-messages.h /systemd/src/systemd/sd-shutdown.h /systemd/src/test-cgroup.c /systemd/src/test-daemon.c /systemd/src/test-engine.c /systemd/src/test-env-replace.c /systemd/src/test-hostname.c /systemd/src/test-id128.c /systemd/src/test-install.c /systemd/src/test-job-type.c /systemd/src/test-loopback.c /systemd/src/test-ns.c /systemd/src/test-strv.c /systemd/src/test-watchdog.c /systemd/src/timedate/org.freedesktop.timedate1.conf /systemd/src/timedate/org.freedesktop.timedate1.policy.in /systemd/src/timedate/org.freedesktop.timedate1.service /systemd/src/timedate/timedated.c /systemd/src/timestamp.c /systemd/src/tmpfiles.c /systemd/src/tty-ask-password-agent.c /systemd/src/umount.c /systemd/src/umount.h /systemd/src/unit-name.c /systemd/src/unit-name.h /systemd/src/update-utmp.c /systemd/src/user.conf /systemd/src/utmp-wtmp.c /systemd/src/utmp-wtmp.h /systemd/src/vconsole/vconsole-setup.c /systemd/src/watchdog.c /systemd/src/watchdog.h /systemd/sysctl.d/coredump.conf.in /systemd/tmpfiles.d/legacy.conf /systemd/tmpfiles.d/systemd.conf /systemd/tmpfiles.d/tmp.conf /systemd/tmpfiles.d/x11.conf /systemd/units/basic.target /systemd/units/bluetooth.target /systemd/units/console-shell.service.m4.in /systemd/units/cryptsetup.target /systemd/units/dev-hugepages.mount /systemd/units/dev-mqueue.mount /systemd/units/emergency.service.in /systemd/units/emergency.target /systemd/units/fedora/halt-local.service /systemd/units/fedora/prefdm.service /systemd/units/fedora/rc-local.service /systemd/units/final.target /systemd/units/frugalware/display-manager.service /systemd/units/fsck-root.service.in /systemd/units/fsck@.service.in /systemd/units/getty.target /systemd/units/getty@.service.m4 /systemd/units/graphical.target /systemd/units/halt.service.in /systemd/units/halt.target /systemd/units/http-daemon.target /systemd/units/kexec.service.in /systemd/units/kexec.target /systemd/units/local-fs-pre.target /systemd/units/local-fs.target /systemd/units/mageia/prefdm.service /systemd/units/mail-transfer-agent.target /systemd/units/mandriva/prefdm.service /systemd/units/multi-user.target /systemd/units/network.target /systemd/units/nss-lookup.target /systemd/units/nss-user-lookup.target /systemd/units/plymouth-halt.service /systemd/units/plymouth-kexec.service /systemd/units/plymouth-poweroff.service /systemd/units/plymouth-quit-wait.service /systemd/units/plymouth-quit.service /systemd/units/plymouth-read-write.service /systemd/units/plymouth-reboot.service /systemd/units/plymouth-start.service /systemd/units/poweroff.service.in /systemd/units/poweroff.target /systemd/units/printer.target /systemd/units/proc-sys-fs-binfmt_misc.automount /systemd/units/proc-sys-fs-binfmt_misc.mount /systemd/units/quotacheck.service.in /systemd/units/quotaon.service /systemd/units/reboot.service.in /systemd/units/reboot.target /systemd/units/remote-fs-pre.target /systemd/units/remote-fs.target /systemd/units/remount-rootfs.service /systemd/units/rescue.service.m4.in /systemd/units/rescue.target /systemd/units/rpcbind.target /systemd/units/serial-getty@.service.m4 /systemd/units/shutdown.target /systemd/units/sigpwr.target /systemd/units/smartcard.target /systemd/units/sockets.target /systemd/units/sound.target /systemd/units/suse/halt-local.service /systemd/units/suse/rc-local.service /systemd/units/swap.target /systemd/units/sys-fs-fuse-connections.mount /systemd/units/sys-kernel-config.mount /systemd/units/sys-kernel-debug.mount /systemd/units/sysinit.target /systemd/units/syslog.socket /systemd/units/syslog.target /systemd/units/systemd-ask-password-console.path /systemd/units/systemd-ask-password-console.service.in /systemd/units/systemd-ask-password-plymouth.path /systemd/units/systemd-ask-password-plymouth.service.in /systemd/units/systemd-ask-password-wall.path /systemd/units/systemd-ask-password-wall.service.in /systemd/units/systemd-binfmt.service.in /systemd/units/systemd-hostnamed.service.in /systemd/units/systemd-initctl.service.in /systemd/units/systemd-initctl.socket /systemd/units/systemd-journald.service.in /systemd/units/systemd-journald.socket /systemd/units/systemd-localed.service.in /systemd/units/systemd-logind.service.in /systemd/units/systemd-modules-load.service.in /systemd/units/systemd-random-seed-load.service.in /systemd/units/systemd-random-seed-save.service.in /systemd/units/systemd-readahead-collect.service.in /systemd/units/systemd-readahead-done.service.in /systemd/units/systemd-readahead-done.timer /systemd/units/systemd-readahead-replay.service.in /systemd/units/systemd-remount-api-vfs.service.in /systemd/units/systemd-shutdownd.service.in /systemd/units/systemd-shutdownd.socket /systemd/units/systemd-sysctl.service.in /systemd/units/systemd-timedated.service.in /systemd/units/systemd-tmpfiles-clean.service.in /systemd/units/systemd-tmpfiles-clean.timer /systemd/units/systemd-tmpfiles-setup.service.in /systemd/units/systemd-update-utmp-runlevel.service.in /systemd/units/systemd-update-utmp-shutdown.service.in /systemd/units/systemd-user-sessions.service.in /systemd/units/systemd-vconsole-setup.service.in /systemd/units/time-sync.target /systemd/units/tmp.mount /systemd/units/umount.target /systemd/units/user/default.target /systemd/units/user/exit.service.in /systemd/units/user/exit.target /systemd/units/user@.service.in
49e942b2bc9fdedba79cd266a076ce9c9d91fc13 10-Apr-2012 Kay Sievers <kay@vrfy.org>

rename basic.la to shared.la and put selinux deps in shared-selinx.la Only 34 of 74 tools need libselinux linked, and libselinux is a pain with its unconditional library constructor.

/systemd/Makefile.am /systemd/src/ask-password-api.c /systemd/src/automount.c /systemd/src/cryptsetup/cryptsetup-generator.c /systemd/src/dbus.c /systemd/src/getty-generator.c /systemd/src/install.c /systemd/src/journal/coredump.c /systemd/src/journal/journald.c /systemd/src/locale/localed.c logind-dbus.c logind-seat.c logind-session.c logind-user.c multi-seat-x.c /systemd/src/machine-id-setup.c /systemd/src/manager.c /systemd/src/mount-setup.c /systemd/src/mount.c /systemd/src/nspawn.c /systemd/src/path-lookup.c /systemd/src/path.c /systemd/src/random-seed.c /systemd/src/rc-local-generator.c /systemd/src/shared/cgroup-util.c /systemd/src/shared/mkdir.c /systemd/src/shared/mkdir.h /systemd/src/shared/socket-util.c /systemd/src/shared/util.c /systemd/src/shared/util.h /systemd/src/shutdown.c /systemd/src/socket.c /systemd/src/tmpfiles.c /systemd/src/tty-ask-password-agent.c
c9d8629baa09f853fbcc44972c9748e70562270c 22-Mar-2012 Lennart Poettering <lennart@poettering.net>

logind: extend comment about X11 socket symlink

55efac6cbcea0d8edda9c6820620ceb390009e7a 14-Feb-2012 Lennart Poettering <lennart@poettering.net>

login: track login class (i.e. one of "user", "greeter", "lock-screen") for each session This introduces the new PAM environment variable XDG_SESSION_CLASS. If not set, defaults to "user". This is useful for apps that want to distuingish real user logins from "fake" ones which just exist to show a gdm login screen or a lock screen.

9b221b63e5cc62439b32bb487775856a78c6015a 31-Jan-2012 Lennart Poettering <lennart@poettering.net>

logind: if we have to stop a session, kill at least its leader

8d53b4534a5923721b5f1e9dd7e8f4a903d02d51 18-Jan-2012 Lennart Poettering <lennart@poettering.net>

exec: introduce ControlGroupPersistant= to make cgroups persistant

fc3c1c6e091ea16ad5600b145201ec535bbb5d7c 18-Jan-2012 Lennart Poettering <lennart@poettering.net>

logind: move X11 socket

129eebe020118fc1bf0274c9ea75ffb6178a280f 18-Jan-2012 Lennart Poettering <lennart@poettering.net>

logind: simplify session_activate() a bit

addedec48ba0ffc4472ef6d3b5a45c9d4239f1cd 03-Jan-2012 Lennart Poettering <lennart@poettering.net>

logind: if we can't open /dev/tty0, assume there is no VT subsystem and don't pretend we could do VT switching

4bba9156da3e1df2cee24d10d7cd88c776ef4179 31-Dec-2011 Lennart Poettering <lennart@poettering.net>

logind: move logind into its own subdirectory