summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-04-14kdbus: make name acquirement ioctls valgrind cleanLennart Poettering
2013-04-13Include <fcntl.h> instead of <sys/fcntl.h>Zbigniew Jędrzejewski-Szmek
<fcntl.h> is POSIX. On Linux, <sys/fcntl.h> simply includes <fcntl.h>, so there should be on difference. On Android likewise, except that there is some more stuff. QNX has only <fcntl.h>. https://bugs.freedesktop.org/show_bug.cgi?id=63423
2013-04-13fileio: in envfiles, do not skip lines following empty linesZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=63477
2013-04-13Remove a few NULLsZbigniew Jędrzejewski-Szmek
Just {} is used in a lot of places now, and there's nothing special abose those few.
2013-04-13kdbus: parse even more kernel meta data fieldsLennart Poettering
2013-04-13kdbus: update to newest kdbus APILennart Poettering
2013-04-12journal: fix broken tags _SOURCE_REALTIME_TIMESTAMP and _MACHINE_IDMirco Tischler
2013-04-12systemctl: new verb 'list-sockets'Zbigniew Jędrzejewski-Szmek
LISTEN UNIT ACTIVATES /dev/initctl systemd-initctl.socket systemd-initctl.service /dev/log systemd-journald.socket systemd-journald.service ... [::]:19531 systemd-journal-gatewayd.socket systemd-journal-gatewayd.service kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service 17 sockets listed. Pass --all to see loaded but inactive sockets, too.
2013-04-12util: add wrapper for realloc to avoid specyfing typeZbigniew Jędrzejewski-Szmek
2013-04-12kdbus: make our little test pass cleanly againLennart Poettering
2013-04-12kbdus: add null bloom filter to our messagesLennart Poettering
This makes things work again with the requirements of the kernel on bloom filters.
2013-04-12kdbus: use a valid service name for testingLennart Poettering
2013-04-12kdbus: update kdbus.h from upstreamLennart Poettering
2013-04-12kdbus: make sure msg structure is properly initializedLennart Poettering
2013-04-12bus: don't calculate kmsg message too largeLennart Poettering
2013-04-12bus: add kdbus test for name registryLennart Poettering
2013-04-12dbus: fill in kdbus sender+destination from kdbus dataLennart Poettering
2013-04-12bus: rename KDBUS_CMD_FNAME_POLICY_NONE -> KDBUS_CMD_FNAME_POLICY_OPENKay Sievers
2013-04-12bus: test - re-enable check for returned errorKay Sievers
2013-04-12bus: align the buffer we pass to the kernelKay Sievers
2013-04-12bus: create kdbus bus without an active policyKay Sievers
2013-04-12bus: implement basic name registration with kdbusLennart Poettering
2013-04-12bus: be nice to people who don't have kdbus in their kernelsLennart Poettering
2013-04-12bus: make sure things still compile fine without valgrind's headers installedLennart Poettering
2013-04-12bus: make the kdbus code valgrind cleanLennart Poettering
2013-04-12bus: parse and expose kdbus message timestampsLennart Poettering
2013-04-12bus: also parse PID starttime out of kdbus messageLennart Poettering
2013-04-12bus: parse uid/gid/pid/tid meta data from kdbus messagesLennart Poettering
2013-04-12bus: make kdbus work so that we can exchange real messagesLennart Poettering
We have ignition, we have tremendous fire!
2013-04-11hwclock: use _cleanup_ to simplify functionZbigniew Jędrzejewski-Szmek
2013-04-11errno is positiveZbigniew Jędrzejewski-Szmek
Make sure we compare errno against positive error codes. The ones in hwclock.c and install.c can have an impact, the rest are unlikely to be hit or in code that isn't widely used. Also check that errno > 0, to help gcc know that we are returning a negative error code.
2013-04-11systemctl: show the name of failing unit in redZbigniew Jędrzejewski-Szmek
It makes it easier to pick out problematic unit names from a long list.
2013-04-11systemctl: allow multiple arguments to --typeZbigniew Jędrzejewski-Szmek
This mirrors --property, and is generally useful. New functionality is used in bash completion. In case of zsh completion, new functionality is less useful because of caching. Nevertheless, zsh completion for restart is made to behave more-or-less the same as bash completion. At least sockets can be restarted.
2013-04-12bus: fix formatting of bus addressLennart Poettering
2013-04-12bus: fix kdbus ioctl invocationLennart Poettering
2013-04-12bus: properly check if kdbus connection workedLennart Poettering
2013-04-12bus: fill in unique name when using kdbusLennart Poettering
2013-04-12bus: add kdbus test caseLennart Poettering
2013-04-11bus: basic implementation of kdbus client sideLennart Poettering
2013-04-11bus: calculate iovec for messages only when we need itLennart Poettering
2013-04-11macro: make sure ALIGN() can be calculated constant by the compilerLennart Poettering
If we pass a constant value to ALIGN() gcc should have the chance to calculate the value during compilation rather than runtime, so let's avoid a static inline call if we can.
2013-04-10systemctl: ellipsize job list only when necessary, highlight runningZbigniew Jędrzejewski-Szmek
I was debugging systemd waiting on a missing disk, and noticed that the job listing could use some polishing. Jobs that are actually running are highlighted, so it's easier to see what very actually waiting for. Also, the needed widths are precalculated, to use available columns more ecomically.
2013-04-10udev/ata_id: use initalization instead of explicit zeroingZbigniew Jędrzejewski-Szmek
2013-04-10libsystemd-bus: initalize handle_cmsg to falseLukas Nykryn
2013-04-10tty-ask-password-agent: free passwordsLukas Nykryn
2013-04-10journalctl: check return of strjoinLukas Nykryn
2013-04-10Use initalization instead of explicit zeroing in more placesZbigniew Jędrzejewski-Szmek
2013-04-10localctl: skip locale entries with non-UTF8 namesLennart Poettering
glibc should place these in the locale archive. For now, let's just skip them from our output, since they are aliases anyway. https://bugs.freedesktop.org/show_bug.cgi?id=63389
2013-04-10bus: when we unmarshal an fd it should stay owned by the message objectLennart Poettering
If the user wants the fd to stay valid he should keep a reference to the message object or duplicate the fd. This unifies behaviour of demarshalling data fields and unix fds.
2013-04-10logind: avoid creating stale session state filesFedora systemd team
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).