systemd/src/shared
Zbigniew Jędrzejewski-Szmek 75add28aa1 systemctl: ellipsize job list only when necessary, highlight running
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-10 19:46:49 -04:00
..
linux execute: support syscall filtering using seccomp filters 2012-07-17 04:17:53 +02:00
acl-util.c build-sys: move acl searching code into libsystemd-acl 2013-03-22 15:31:45 -04:00
acl-util.h build-sys: move acl searching code into libsystemd-acl 2013-03-22 15:31:45 -04:00
ask-password-api.c Use initalization instead of explicit zeroing 2013-04-05 19:50:57 -04:00
ask-password-api.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
audit.c honor SELinux labels, when creating and writing config files 2013-02-14 16:19:38 +01:00
audit.h audit: turn the audit fd into a static variable 2012-10-02 17:40:09 -04:00
calendarspec.c Always use errno > 0 to help gcc 2013-03-29 10:12:41 -04:00
calendarspec.h timer: implement calendar time events 2012-11-23 21:37:58 +01:00
capability.c util: rename write_one_line_file() to write_string_file() 2013-04-03 20:12:56 +02:00
capability.h capabilities: when dropping capabilities system-wide also drop them from usermode helpers 2012-05-29 23:35:17 +02:00
cgroup-label.c cgroup: always keep access mode of 'tasks' and 'cgroup.procs' files in cgroup directories in sync 2013-04-08 18:22:47 +02:00
cgroup-show.c shared/cgroup-show: fix leak of "pid" 2013-04-01 23:43:49 -04:00
cgroup-show.h systemctl,loginctl,cgls: do not ellipsize cgroup members when --full is specified 2013-01-16 12:11:47 -05:00
cgroup-util.c cgroup: clean-ups 2013-04-08 20:35:25 +02:00
cgroup-util.h cgroup: additional validity checks for cgroup attribute names 2013-01-19 01:02:30 +01:00
conf-files.c catalog: open up catalog internals 2013-03-28 23:45:59 -04:00
conf-files.h catalog: open up catalog internals 2013-03-28 23:45:59 -04:00
conf-parser.c Use _cleanup_ when reading config files 2013-04-05 20:00:55 -04:00
conf-parser.h util: rename parse_usec() to parse_sec() sinds the default unit is seconds 2013-04-03 20:12:57 +02:00
dbus-common.c util: make time formatting a bit smarter 2013-04-04 02:56:56 +02:00
dbus-common.h dbus: introduce parse_unit_info 2013-02-13 14:36:01 -08:00
dbus-loop.c dbus-loop.c: fix variable initialization 2013-04-06 02:56:04 +02:00
dbus-loop.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
def.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
dev-setup.c dev-setup: make NULL as parameter for dev_setup() equivalent to "" 2012-08-21 17:23:03 +02:00
dev-setup.h dev-setup: allow a path prefix for use in chroots 2012-08-21 17:19:35 +02:00
efivars.c efivars: un-leak a few strings 2013-04-04 22:46:19 -04:00
efivars.h bootctl: print secure boot flags 2013-03-10 22:48:27 +01:00
env-util.c man: rename systemd.conf to systemd-system.conf 2013-02-13 09:48:32 -05:00
env-util.h manager: validate environment parameters for SetEnvironment(), UnsetEnvironment() bus calls 2013-02-11 23:54:30 +01:00
exit-status.c service: add options RestartPreventExitStatus and SuccessExitStatus 2012-08-14 14:46:03 +02:00
exit-status.h service: add options RestartPreventExitStatus and SuccessExitStatus 2012-08-14 14:46:03 +02:00
fdset.c shared: move fdset.c from core/ to shared/ since it is used by more than the core now 2012-12-23 11:28:14 +01:00
fdset.h shared: move fdset.c from core/ to shared/ since it is used by more than the core now 2012-12-23 11:28:14 +01:00
fileio-label.c util: rename write_one_line_file() to write_string_file() 2013-04-03 20:12:56 +02:00
fileio-label.h util: rename write_one_line_file() to write_string_file() 2013-04-03 20:12:56 +02:00
fileio.c fileio: don't check for errors more often than really necessary 2013-04-03 20:12:57 +02:00
fileio.h shared: rework env file reader 2013-04-03 20:12:57 +02:00
hashmap.c binfmt,tmpfiles,modules-load,sysctl: rework the various early-boot services that work on .d/ directories 2013-02-11 23:54:30 +01:00
hashmap.h binfmt,tmpfiles,modules-load,sysctl: rework the various early-boot services that work on .d/ directories 2013-02-11 23:54:30 +01:00
hwclock.c honor SELinux labels, when creating and writing config files 2013-02-14 16:19:38 +01:00
hwclock.h hwclock: always set the kernel's timezone 2012-09-17 16:56:26 +02:00
install-printf.c install: allow %u an and %U specifiers in WantedBy/RequiredBy/Alias 2013-01-29 19:01:41 -05:00
install-printf.h install: allow specifiers in WantedBy/RequiredBy/Alias 2013-01-29 19:01:41 -05:00
install.c Use initalization instead of explicit zeroing 2013-04-05 19:50:57 -04:00
install.h install: allow %u an and %U specifiers in WantedBy/RequiredBy/Alias 2013-01-29 19:01:41 -05:00
ioprio.h move list.h, macro.h, ioprio.h to shared/ 2012-04-10 19:47:00 +02:00
label.c util: make time formatting a bit smarter 2013-04-04 02:56:56 +02:00
label.h honor SELinux labels, when creating and writing config files 2013-02-14 16:19:38 +01:00
list.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
log.c Use initalization instead of explicit zeroing 2013-04-05 19:50:57 -04:00
log.h journal: new logging macros to include UNIT= 2013-01-06 13:52:48 -05:00
logs-show.c journal,shared: add _cleanup_journal_close_ 2013-03-18 19:49:30 -04:00
logs-show.h logs-show: export logic to add matches for units 2013-03-13 19:53:29 -04:00
macro.h macro: add macro for precisely determining length of decimal string formatting of a numeric type 2013-04-02 17:47:59 +02:00
Makefile build-sys: add stub makefiles to make emacs easier to use 2012-04-12 13:35:56 +02:00
missing.h missing: define MS_REC and MS_SHARED if not defined already 2013-02-13 00:12:58 +01:00
mkdir.c shared: fail mkdir_p if the target exists and is not a directory 2012-10-02 14:56:26 +02:00
mkdir.h mkdir: provide all functions with and without selinux label application 2012-05-31 13:17:26 +02:00
output-mode.h systemctl,loginctl,cgls: do not ellipsize cgroup members when --full is specified 2013-01-16 12:11:47 -05:00
pager.c pager: add -M to $LESS to make the bottom line nicer 2013-03-07 21:43:28 +01:00
pager.h pager: introduce "jump to end" option 2013-03-07 21:16:04 +01:00
path-lookup.c path-lookup: downgrade again the messages where we log for units 2013-03-01 14:07:20 +01:00
path-lookup.h core: move ManagerRunningAs to shared 2012-09-18 19:53:34 +02:00
path-util.c binfmt,tmpfiles,modules-load,sysctl: rework the various early-boot services that work on .d/ directories 2013-02-11 23:54:30 +01:00
path-util.h tests: add some silly tests for path-util.c 2013-03-28 23:45:59 -04:00
polkit.c build-sys: make PolicyKit support compile-time optional (was runtime-optional already) 2013-02-13 23:08:25 +01:00
polkit.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
prioq.c Always use our own MAX/MIN definitions 2013-04-01 23:43:48 -04:00
prioq.h bus: implement full method call timeout logic 2013-03-21 22:53:29 +01:00
ratelimit.c ratelimit: fix off-by-one 2013-02-13 08:45:13 -05:00
ratelimit.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
replace-var.c shared: add API for replacing @FOO@ style variables in strings 2012-11-14 22:21:16 +01:00
replace-var.h shared: add API for replacing @FOO@ style variables in strings 2012-11-14 22:21:16 +01:00
selinux-util.c build-sys: fix !HAVE_SELINUX case 2012-10-03 16:00:33 +02:00
selinux-util.h selinux: rework selinux access check logic 2012-10-02 17:07:00 -04:00
set.c shared: inline trivial auto-cleanup functions 2013-03-08 10:09:31 +01:00
set.h shared: inline trivial auto-cleanup functions 2013-03-08 10:09:31 +01:00
socket-label.c Revert "Implement SocketUser= and SocketGroup= for [Socket]" 2012-11-06 09:54:17 -05:00
socket-util.c Always use errno > 0 to help gcc 2013-03-29 10:12:41 -04:00
socket-util.h systemd-activate: add a socket-activation test tool 2013-02-27 22:10:14 -05:00
sparse-endian.h shared: move sparse-endian.h from journal 2012-10-22 18:08:48 +02:00
spawn-ask-password-agent.c move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
spawn-ask-password-agent.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
spawn-polkit-agent.c build-sys: make PolicyKit support compile-time optional (was runtime-optional already) 2013-02-13 23:08:25 +01:00
spawn-polkit-agent.h move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
specifier.c Move generic specifier functions to shared 2013-01-29 19:01:41 -05:00
specifier.h Move generic specifier functions to shared 2013-01-29 19:01:41 -05:00
strbuf.c strbuf: replace quick sort with bubble sort 2013-03-31 14:35:17 -04:00
strbuf.h use the same email address everywhere 2012-11-12 19:47:43 +01:00
strv.c bus: implement 'unixexec:' protocol 2013-03-25 02:33:35 +01:00
strv.h bus: implement 'unixexec:' protocol 2013-03-25 02:33:35 +01:00
strxcpyx.c udev: move string copy functions to shared/ 2013-01-09 19:06:46 +01:00
strxcpyx.h udev: move string copy functions to shared/ 2013-01-09 19:06:46 +01:00
time-dst.c timedatectl: properly print 30 minutes DST transitions 2012-11-11 16:55:25 +01:00
time-dst.h timedatectl: properly print 30 minutes DST transitions 2012-11-11 16:55:25 +01:00
time-util.c util: tweak format_timespan() a bit 2013-04-04 17:06:00 +02:00
time-util.h util: make time formatting a bit smarter 2013-04-04 02:56:56 +02:00
unit-name.c unit: no need to export variables if we can avoid it 2013-03-30 15:21:54 +01:00
unit-name.h unit: no need to export variables if we can avoid it 2013-03-30 15:21:54 +01:00
utf8.c bootctl: add boot loader and firmware interface tool 2013-02-11 19:35:52 +01:00
utf8.h core: if the bootloader supports it, determine firmware and boot loader delay 2013-01-19 04:22:09 +01:00
util.c machine-id: fix missing initialization 2013-04-08 22:46:56 +02:00
util.h systemctl: ellipsize job list only when necessary, highlight running 2013-04-10 19:46:49 -04:00
utmp-wtmp.c Use initalization instead of explicit zeroing 2013-04-05 19:50:57 -04:00
utmp-wtmp.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
virt.c Use initalization instead of explicit zeroing 2013-04-05 19:50:57 -04:00
virt.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
watchdog.c util: make time formatting a bit smarter 2013-04-04 02:56:56 +02:00
watchdog.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00