summaryrefslogtreecommitdiff
path: root/src/util.c
AgeCommit message (Collapse)Author
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
2011-08-01util: optimize strstrip() a bitLennart Poettering
2011-07-29sd-login: return size of arrays as return value in functions that generate ↵Lennart Poettering
an array
2011-07-23util: make use of get_user_creds() and get_group_creds() wherever applicableLennart Poettering
2011-07-23util: user parse_uid() wherever applicableLennart Poettering
2011-07-22sd-login: beef up login api, to add monitoring and enumeratingLennart Poettering
2011-07-22util: use readdir_r() instead of readdir()Lennart Poettering
2011-07-22install: add new installer implementationLennart Poettering
This new installer will replace the current code of "systemctl enable" but also be available via D-Bus. It adds a couple of new features: - Mask/Unmask calls - Reenable call - Preset call - Support for enabling units temporarily (i.e. in /run/systemd instead of /etc/systemd) - Enumeration of installed units - Support for out-of-search-path units systemctl and D-Bus are not hooked up with this yet
2011-07-21fix hwclock_apply_localtime_delta() to properly handle negative TZ offsetKay Sievers
Localtime may be a negative number, i.e. GMT-7. Fix based on a patch from Kelly Anderson <kelly@silka.with-linux.com>.
2011-07-07cgls: add pager support to systemd-cglsLennart Poettering
2011-07-07path,unit: support globbing in conditions and path unitsLennart Poettering
2011-07-05util: explicitly turn of O_CLOEXEC for stdin/stdout/stderrLennart Poettering
2011-07-05add a few O_CLOEXEC where missingLennart Poettering
2011-07-01nspawn: Move the get_user_creds from execute.c to utils.c for later usage in ↵Michal Vyskocil
nspawn.c.
2011-06-30util: try harder to rename the processLennart Poettering
2011-06-29util: clear scrolling region when clearing screenLennart Poettering
2011-06-27logind: automatically deduce seat from displayLennart Poettering
2011-06-24logind: hook up PAM module with logindLennart Poettering
2011-06-21logind: implement idle hint logicLennart Poettering
2011-06-21timedated: sync clock down to RTC where necessaryLennart Poettering
2011-06-21util: make a couple of files we write atomicLennart Poettering
2011-06-21dbus: introduce UnsetAndSetEnvironment()Lennart Poettering
2011-06-21util: return errno in close_nointr()Lennart Poettering
2011-06-21util: add fopen_temporary()Lennart Poettering
2011-06-21util: move string enum mapping to the endLennart Poettering
2011-06-21util: add pipe_eof()Lennart Poettering
2011-06-21util: introduce dirent_is_file()Lennart Poettering
2011-05-24rtc in localtime: use settimeofday(NULL, tz) instead of hwclock(8)Kay Sievers
We check for LOCAL in /etc/adjtime and if needed, ask the kernel to apply the timezone delta to the system clock. The very first call of settimeofday() without a time, but a timezone warps the system clock, so that it properly runs in UTC.
2011-05-20util: use new VT ESC sequence to clear scrollback bufferLennart Poettering
2011-05-19util: use open_terminal() in chvt() tooLennart Poettering
2011-05-18exec: hangup/reset/deallocate VTs in gettysLennart Poettering
Explicitly disconnect all clients from a VT when a getty starts/finishes (requires TIOCVHANGUP, available in 2.6.29). Explicitly deallocate getty VTs in order to flush scrollback buffer. Explicitly reset terminals to a defined state before spawning getty.
2011-04-30binfmt, modules-load, sysctl, tmpfiles: read /usr/local/lib and where ↵Kay Sievers
appropriate /lib directories
2011-04-30util: don't AND cx with cxLennart Poettering
2011-04-28util: conf_files_list() return list as parameterKay Sievers
2011-04-28lookup: drop empty directories from search pathsLennart Poettering
2011-04-25sysctl.d, binfmt.d, modules-load.d: switch to stacked config dirs in /lib, ↵Kay Sievers
/etc, /run