Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-10-28 | util: fix possible integer overflows | Michal Sekletar | |
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-25 | udev: hwdb - remove run_once | Kay Sievers | |
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-17 | hostnamed: allow UTF8 chars in pretty hostname again | Lennart Poettering | |
2012-10-17 | timedatectl: introduce new command line client for timedated | Lennart Poettering | |
Much like logind has a client in loginctl, and journald in journalctl introduce timedatectl, to change the system time (incl. RTC), timezones and related settings. | |||
2012-10-16 | util: properly handle -1 timespec/timeval | Lennart Poettering | |
2012-10-11 | journalctl: implement --since= and --until for filtering by time | Lennart Poettering | |
2012-10-08 | shared: fix broken string_is_safe | Martin Mikkelsen | |
2012-10-03 | dbus: add some more safety checks before accepting data from bus clients | Lennart Poettering | |
2012-09-28 | logs-show: various cleanups | Lennart Poettering | |
Among other cleanups this introduces a threshold for the size of binary blobs we serialize as integer arrays in the JSON output. THis can be disabled via --all. | |||
2012-09-24 | util: don't export parsed_columns | 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-21 | shared: call va_end in all cases | Lukas Nykryn | |
2012-09-20 | util: fix overflow checks | Lennart Poettering | |
2012-09-20 | util: overflow hardening | Lennart Poettering | |
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-19 | util: fix bad strstrip() return value in normalize_env_assignment() | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=858780 | |||
2012-09-18 | util: introduce get_process_gid() | Lennart Poettering | |
2012-09-17 | conf-parser: don't unescape parsed configuration strings by default | Lennart Poettering | |
In many cases this might have a negative effect since we drop escaping from strings where we better shouldn't have dropped it. If unescaping makes sense for some settings we can readd it later again, on a per-case basis. https://bugs.freedesktop.org/show_bug.cgi?id=54522 | |||
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: more modernizations | Lennart Poettering | |
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-09-11 | util: rm_rf_children_dangerous: delete all descendants dangerously | Tom Gundersen | |
Call rm_rf_children_dangerous() recursively rather than falling back to rm_rf_children(). This fixes a bug in systemd-tmpfiles. The problem can easily be reproduced by: # mount /dev/sda1 /mnt # mkdir /mnt/test # echo "D /mnt" > /root/test.conf # systemd-tmpfiles --remove /root/test.conf Attempted to remove disk file system, and we can't allow that. rm_rf(/root/test): Operation not permitted Reported-by: Lukas Jirkovsky <l.jirkovsky@gmail.com> | |||
2012-09-05 | nspawn: handle poweroff/reboot nicely in containers | Lennart Poettering | |
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-21 | shared/util: add fstab support for partuuid/partlabel | Dave Reisner | |
udev has supported this since 172, so it should be a safe (and welcome) addition for users of GPT partitioned disks. | |||
2012-08-21 | shared/util: refactor fstab_node_to_udev_node | Dave Reisner | |
Since this is purely duplicated logic, separate it out into a small static function. | |||
2012-08-21 | journalctl: really include .journal~ files in listing | Lennart Poettering | |
2012-08-20 | journalctl: output FSS key as QR code on generating | Lennart Poettering | |
2012-08-14 | service: add options RestartPreventExitStatus and SuccessExitStatus | Lukas Nykryn | |
In some cases, like wrong configuration, restarting after error does not help, so administrator can specify statuses by RestartPreventExitStatus which will not cause restart of a service. Sometimes you have non-standart exit status, so this can be specified by SuccessfulExitStatus. | |||
2012-08-13 | namespace: rework namespace support | Lennart Poettering | |
- don't use pivot_root() anymore, just reuse root hierarchy - first create all mounts, then mark them read-only so that we get the right behaviour when people want writable mounts inside of read-only mounts - don't pass invalid combinations of MS_ constants to the kernel | |||
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-26 | log.h: new log_oom() -> int -ENOMEM, use it | Shawn Landden | |
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 | |||
2012-07-25 | use "Out of memory." consistantly (or with "\n") | Shawn Landden | |
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 | |||
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-15 | aquire_terminal(): fix uninitialized variable | Kay Sievers | |
./src/shared/util.c:2457:45: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] | |||
2012-07-13 | util: temporarily ignore SIGHUP while we are issuing TIOCSTTY | Lennart Poettering | |