- 11 Apr, 2013 18 commits
-
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
We have ignition, we have tremendous fire!
-
Zbigniew Jędrzejewski-Szmek authored
-
Zbigniew Jędrzejewski-Szmek authored
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.
-
Zbigniew Jędrzejewski-Szmek authored
It makes it easier to pick out problematic unit names from a long list.
-
Zbigniew Jędrzejewski-Szmek authored
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.
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
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.
-
Kay Sievers authored
-
- 10 Apr, 2013 11 commits
-
-
Zbigniew Jędrzejewski-Szmek authored
Also show disabled units as candidates for reenable, since it works and one may want to do enable-or-reenable in one line.
-
Zbigniew Jędrzejewski-Szmek authored
It is faster to use a bash built-in, then to invoke an external program. The problem of unit names starting with a dash is solved by prepending a space. Spaces are ignored anyway. For zsh, replace echo "$unit", which is vulnerable to dashes, with echo " $unit".
-
Zbigniew Jędrzejewski-Szmek authored
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.
-
Zbigniew Jędrzejewski-Szmek authored
-
Lukas Nykryn authored
-
Lukas Nykryn authored
-
Lukas Nykryn authored
-
Zbigniew Jędrzejewski-Szmek authored
-
Lennart Poettering authored
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
-
Lennart Poettering authored
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.
-
Fedora systemd team authored
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).
-
- 09 Apr, 2013 10 commits
-
-
Lennart Poettering authored
-
Lennart Poettering authored
cronjobs are neither interactive user session, nor lock screens, nor login screens, hence they should get their own class.
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
As it turns out if you pass a va_list to a function its state becomes undefined after that function returns, and this actually does break on x86-32. Hence, let's reimplement message_read_ap() without the use of recursion. Instead we now build our own stack of types in an array so that we can decode the entire parameter list in a single stackframe.
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Martin Pitt authored
-
Pali Rohar authored
Taken from https://code.launchpad.net/~pali/ubuntu/raring/udev/hp-elitebook-8460p/+merge/157420 Signed-off-by:
Martin Pitt <martinpitt@gnome.org>
-
Michael Biebl authored
It's only needed for static linking. https://bugs.freedesktop.org/show_bug.cgi?id=63309
-
- 08 Apr, 2013 1 commit
-
-
Lennart Poettering authored
-