Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-10-03 | dbus: add some more safety checks before accepting data from bus clients | Lennart Poettering | |
2012-09-24 | journalctl: reset cached column count on SIGWINCH | Dave Reisner | |
This requires a little bit of tip-toeing around to explicitly avoid touching the environment from a sig handler. Instead, simply create a function to reset the var to its "unset" state, allowing the next call to columns() to recalculate and cache the new value. | |||
2012-09-20 | util: fix overflow checks | Lennart Poettering | |
2012-09-20 | util: overflow hardening | Lennart Poettering | |
2012-09-20 | util: make sure heap allocators fail when array allocations are out of bounds | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=858777 | |||
2012-09-19 | util: define union dirent_storage and make use of it everywhere | Lennart Poettering | |
Make sure to allocate enough space for readdir_r(). https://bugzilla.redhat.com/show_bug.cgi?id=858754 | |||
2012-09-18 | util: introduce get_process_gid() | Lennart Poettering | |
2012-09-17 | util: various cleanups for printing boot status | Lennart Poettering | |
2012-09-16 | nspawn: use automatic cleanup for umask | Zbigniew Jędrzejewski-Szmek | |
2012-09-14 | timedate: assorted improvements | Lennart Poettering | |
- Make writing/reading of /etc/timezone dependendent of HAVE_SYSV_COMPAT - Introduce symlink_atomic() after all, and use it - Use relative symlink for /etc/localtime | |||
2012-09-14 | util: various additional modernizations | Lennart Poettering | |
2012-09-14 | util: modernize a few functions with automatic cleanup variables | Lennart Poettering | |
Just trying to get the feel for it. And it's pretty cool. | |||
2012-09-13 | macro: introduce _cleanup_free_ macro for automatic freeing of scoped vars ↵ | Lennart Poettering | |
and make use of it | |||
2012-08-22 | journal: move syslog specific calls out of util.c | Lennart Poettering | |
2012-08-22 | journald: split /dev/kmsg related stuff into its own .c file | Lennart Poettering | |
2012-08-09 | journald: properly unescape messages from /dev/kmsg | Lennart Poettering | |
2012-07-26 | cgtop: use full terminal width | Zbigniew Jędrzejewski-Szmek | |
2012-07-19 | use #pragma once instead of foo*foo #define guards | Shawn Landden | |
#pragma once has been "un-deprecated" in gcc since 3.3, and is widely supported in other compilers. I've been using and maintaining (rebasing) this patch for a while now, as it annoyed me to see #ifndef fooblahfoo, etc all over the place, almost arrogant about the annoyance of having to define all these names to perform a commen but neccicary functionality, when a completely superior alternative exists. I havn't sent it till now, cause its kindof a style change, and it is bad voodoo to mess with style that has been established by more established editors. So feel free to lambast me as a crazy bafoon. v2 - preserve externally used headers | |||
2012-07-16 | unit: introduce %s specifier for the user shell | Lennart Poettering | |
2012-07-16 | util: add getusername_malloc(), get_shell(), get_home_dir() | Lennart Poettering | |
2012-07-13 | util: rename join() to strjoin() | Lennart Poettering | |
This is to match strappend() and the other string related functions. | |||
2012-07-10 | switch-root: reopen /dev/console before we switch root | Lennart Poettering | |
2012-07-10 | util: rm_rf() refuse cleaning non-memory file systems, as extra paranoia | Lennart Poettering | |
2012-06-26 | core: make systemd.confirm_spawn=1 actually work | Lennart Poettering | |
This adds a timeout if the TTY cannot be acquired and makes sure we always output the question to the console, never to the TTY of the respective service. | |||
2012-05-31 | main: Silence gcc warning | Marc-Antoine Perennou | |
2012-05-31 | util: introduce a proper nsec_t and make use of it where appropriate | Lennart Poettering | |
2012-05-30 | logind: optionally handle power, sleep and lid switch events | Lennart Poettering | |
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. | |||
2012-05-21 | util: rm_rf_children() add root_dev parameter | Harald Hoyer | |
if root_dev is set, remove subdirectories only, if the device is the same as the root_dev. This prevents to remove files across device boundaries. | |||
2012-05-21 | util.c: add in_initrd() | Harald Hoyer | |
in_initrd() checks, if the stat() for the device for "/" is 1, which it is for the initramfs. | |||
2012-05-21 | main: corrected do_switch_root() | Harald Hoyer | |
do_switch_root now mount moves "/dev", "/proc", "/sys", "/run" and removes the old root recursively. | |||
2012-05-21 | util: fix typo in newdup | Frederic Crozat | |
2012-05-21 | hostname-setup: also consider (ńone) an unset hostname | Lennart Poettering | |
2012-05-21 | units: introduce new Documentation= field and make use of it everywhere | Lennart Poettering | |
This should help making the boot process a bit easier to explore and understand for the administrator. The simple idea is that "systemctl status" now shows a link to documentation alongside the other status and decriptionary information of a service. This patch adds the necessary fields to all our shipped units if we have proper documentation for them. | |||
2012-05-14 | job: change red [ABORT] status to yellow [DEPEND] | Michal Schmidt | |
The red "[ABORT]" for a dependency failure is too scary. It suggests a crash. And it suggests a problem with the unit itself. Change it to a yellow "[DEPEND]" message. The color communicates the level of seriousness better. | |||
2012-05-08 | logind: implement suspend/hibernate calls with inhibition logic | Lennart Poettering | |
2012-05-08 | util: split-out path-util.[ch] | Kay Sievers | |
2012-05-08 | util: split-out hwclock.[ch] | Kay Sievers | |
2012-05-07 | util: split-out conf-file.[ch] | Kay Sievers | |
2012-05-07 | conf_files_list(): split out conf_files_list_strv() | Kay Sievers | |
2012-04-29 | util: introduce container_of() macro | Lucas De Marchi | |
This macro comes from kernel and it's useful for unwrapping structs inside another one. The generated code is actually the same to the one where this logic is used in udev, but using this macro is much cleaner and less error prone. | |||
2012-04-22 | util: unify getenv() logic for other PID | Lennart Poettering | |
2012-04-22 | nspawn: add -b switch to automatically look for an init binary | Lennart Poettering | |
2012-04-22 | login: assing /dev/console logins to seat0 | Lennart Poettering | |
2012-04-22 | util: fix tty_is_vc_resolve() in a container where ↵ | Lennart Poettering | |
/sys/class/tty/console/active is misleading | |||
2012-04-16 | util: introduce memdup() | Lennart Poettering | |
2012-04-12 | execute: when we can't get the requested rlimit, get the next closest | Lennart Poettering | |
2012-04-12 | relicense to LGPLv2.1 (with exceptions) | Lennart Poettering | |
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. | |||
2012-04-11 | polkit: when spawning off agent, wait until the agent is fully initialized | Lennart Poettering | |
2012-04-11 | polkit: temporarily spawn of a polkit agent in terminals for possibly ↵ | Lennart Poettering | |
authenticated operations | |||
2012-04-11 | main: drop container/initrd env vars from inherited set | Lennart Poettering | |
Leave the env vars used in the container/initrd logic set for PID1, but don't inherit them to any children. |