summaryrefslogtreecommitdiff
path: root/src/util.c
AgeCommit message (Collapse)Author
2012-02-02util: prevent daemon-reload from reaping service processes.Chris Paulson-Ellis
The reaping of generator processes run as part of a daemon-reload should not call waitid(PID_ALL). The waitid() call in execute_directory() is intended only to reap the executed processes, but if a service process exits at about the same time as a daemon-reload, then that service process is reaped as well, preventing it from being reaped in the proper place in manager_dispatch_sigchld(). Fixes https://bugs.freedesktop.org/show_bug.cgi?id=43625
2012-02-01exec: include path name of binary we are about to execute when renaming ↵Lennart Poettering
forked off processes Immediately after forking off a process change the comm name and argv[0] to "(foobar)" where "foobar" is the basename of the path we are about to execute. This should be useful when charting boot progress.
2012-01-29main: don't force text mode in console_setup()Michal Schmidt
When systemd starts, plymouth may be already displaying progress graphically. Do not switch the console to text mode at that time. All other users of reset_terminal_fd() do the switch as before. This avoids a graphical glitch with plymouth, especially visible with vesafb, but could be also seen as a sub-second blink with radeon. https://bugzilla.redhat.com/show_bug.cgi?id=785548
2012-01-27log: increase socket buffers for logging by defaultLennart Poettering
2012-01-23util: use /dev/rtc symlink if possible before we go searching for a suitable ↵Lennart Poettering
device
2012-01-22cgtop: add new cgtop toolLennart Poettering
2012-01-22cgls: don't show kernel threads by defaultLennart Poettering
2012-01-21util: open the first RTC that has hctosys=1 setLennart Poettering
2012-01-18tmpfiles: support writing short strings to files, in order to support /sys ↵Lennart Poettering
manipulations at boot time, a la sysctl
2012-01-18exec: introduce ControlGroupPersistant= to make cgroups persistantLennart Poettering
2012-01-14util: support formatting eta and peta bytes with format_bytes()Lennart Poettering
2012-01-14util: split out tty_is_vc_resolve() from default_term_for_tty()Lennart Poettering
2012-01-14util: rework ANSI escape code macrosLennart Poettering
2012-01-10shutdown: exclude processes with argv[0][0] from killingLennart Poettering
2012-01-06util: switch the console to text mode on resetMichal Schmidt
In case we're taking over the console after a killed X server. https://bugzilla.redhat.com/show_bug.cgi?id=771563
2012-01-06util: fix switching to console unicode modeMichal Schmidt
The KDSKBMODE ioctl wants a value directly, not its address.
2012-01-05journalctl: rework short output mode to rebuild full syslog messageLennart Poettering
2012-01-05util: never ellipsize welcome messageLennart Poettering
2012-01-05util: when printing status updates during boot, take terminal width into accountLennart Poettering
2012-01-04journal: beef up journal output of systemctl and journalctlLennart Poettering
2011-12-31util: fix warningLennart Poettering
2011-12-31journal: automatically deduce journal metrics from file system sizesLennart Poettering
2011-12-31Merge branch 'journal'Lennart Poettering
2011-12-23journal: implement stdout transportLennart Poettering
2011-12-21journalctl: add json, export, short and verbose output modesLennart Poettering
2011-12-19journal: implement inotify-based live logging logicLennart Poettering
2011-12-03util: fix error checking after fgets()Michal Schmidt
fgets() does not set errno on EOF.
2011-10-12util: fix buildLennart Poettering
2011-10-12Merge branch 'master' into journalLennart Poettering
2011-10-11util: properly detect what the last capability isLennart Poettering
2011-10-10util: fix close() call on wrong variableThomas Jarosch
Detected by "cppcheck" (actually it detected a file descriptor leak)
2011-10-07journal: split user logs into their own journal filesLennart Poettering
2011-10-07journal: add preliminary incomplete implementationLennart Poettering
2011-09-28localed: add SetX11Keyboard() and SetVConsoleKeyboard() bus callsLennart Poettering
2011-09-23util: move virtualization detection into its own files, and extend return codesLennart Poettering
2011-09-23util: don't fail if no id was passed to detect_container()Lennart Poettering
2011-09-23util: detect systemd-nspawn without relying on ns cgroup treeLennart Poettering
2011-09-23util: improve signal_to_string, signal_from_stringMichal Schmidt
signal_to_string: Produce names for SIGRTMIN+n. Never give an "n/a" result. In the worst case give the number itself as a string. signal_from_string: Parse "RTMIN+n". Parse any valid signal number.
2011-09-23coverity: change a few things so that coverity doesn't show so many false ↵Lennart Poettering
positives
2011-09-23coverity: fix a couple of bugs found by coverityLennart Poettering
2011-08-24initctl: check for kexec_loaded when reboot is requested through initctlFrederic Crozat
2011-08-23cgroup: optionally mount a specific cgroup controllers together, and add ↵Lennart Poettering
cpu+cpuacct to the default
2011-08-21cgroup: when trimming cgroup trees, honour sticky bit of tasks fileLennart Poettering
2011-08-21cgroup: honour sticky bit when trimming cgroup treesLennart Poettering
2011-08-21exec: allow passing arbitrary path names to blkio cgroup attributesLennart Poettering
If a device node is specified, then adjust the bandwidth/weight of it, otherwise find the backing block device of the file system the path refers to and adjust its bandwidth/weight.
2011-08-20exec: optionally apply cgroup attributes to the cgroups we createLennart Poettering
2011-08-01util: place a couple of _likely_ around cache TLS varsLennart Poettering
2011-08-01util: add is_main_thread() callLennart Poettering
2011-08-01util: use join() instead of asprintf() as an optimizationLennart Poettering
2011-08-01util: introduce join() to speed up simple string concatenationsLennart Poettering