Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-15 | systemctl: when inhibiting shutdown/suspend also check for other login sessions | Lennart Poettering | |
2012-12-31 | unit: add ConditionACPower= | Lennart Poettering | |
2012-12-23 | journalctl: strip TABs and ANSI color sequences from log messages when ↵ | Lennart Poettering | |
displaying them | |||
2012-12-22 | nspawn: allow passing socket activation fds through nspawn | Lennart Poettering | |
2012-11-23 | util: split off time related calls from util.[ch] into time-util.[ch] | Lennart Poettering | |
2012-11-22 | shared: FORMAT_TIMESTAMP_MAX +1 | Kay Sievers | |
5 is for weekday+comma+space, but week days in french have 4 digits https://bugs.freedesktop.org/show_bug.cgi?id=57411 | |||
2012-11-14 | util: add strreplace() to replace a substring by another string | Lennart Poettering | |
2012-11-12 | util: nicer tree drawings | Michal Schmidt | |
Draw trees more similar to pstree/findmnt/lsblk/... | |||
2012-11-04 | shared: add is_efiboot() | Kay Sievers | |
2012-11-02 | util : fallback to plain ASCII drawing if locale is not UTF-8 | Michal Schmidt | |
When printing cgroup and sysfs hierarchies, avoid using UTF-8 box drawing characters if the locale is not UTF-8. https://bugzilla.redhat.com/show_bug.cgi?id=871153 | |||
2012-11-02 | util: add is_locale_utf8() | Michal Schmidt | |
journalctl and vconsole-setup both implement utf8 locale detection. Let's have a common function for it. The next patch will add another use. | |||
2012-10-30 | shared: "max" in the string->number conversion is meant to be inclusive | Michal Schmidt | |
2012-10-30 | shared, core: do not always accept numbers in string lookups | Michal Schmidt | |
The behaviour of the common name##_from_string conversion is surprising. It accepts not only the strings from name##_table but also any number that falls within the range of the table. The order of items in most of our tables is an internal affair. It should not be visible to the user. I know of a case where the surprising numeric conversion leads to a crash. We will allow the direct numeric conversion only for the tables where the mapping of strings to numeric values has an external meaning. This holds for the following lookup tables: - netlink_family, ioprio_class, ip_tos, sched_policy - their numeric values are stable as they are defined by the Linux kernel interface. - log_level, log_facility_unshifted - the well-known syslog interface. We allow the user to use numeric values whose string names systemd does not know. For instance, the user may want to test a new kernel featuring a scheduling policy that did not exist when his systemd version was released. A slightly unpleasant effect of this is that the name##_to_string conversion cannot return pointers to constant strings anymore. The strings have to be allocated on demand and freed by the caller. | |||
2012-10-28 | logind: support for hybrid sleep (i.e. suspend+hibernate at the same time) | Lennart Poettering | |
2012-10-27 | util: return the remaining string in startswith() | Lennart Poettering | |
2012-10-26 | coredumpctl: show timestamps in list | Lennart Poettering | |
2012-10-22 | util: add (x)bsearch_r(), the missing counterpart of qsort_r() | Kay Sievers | |
2012-10-19 | util: change endswith() to return a pointer to the suffix | Lennart Poettering | |
2012-10-19 | util: unify line caching and column caching | Lennart Poettering | |
2012-10-19 | util: unify usage of on_tty() in util.c | Lennart Poettering | |
2012-10-19 | util: simplify column caching logic | Lennart Poettering | |
2012-10-11 | journalctl: implement --since= and --until for filtering by time | Lennart Poettering | |
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. |