summaryrefslogtreecommitdiff
path: root/src/util.c
AgeCommit message (Collapse)Author
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
2011-04-20MeeGo supportChris E Ferron
This commit consists of the initial work to include MeeGo as a ported distribution for systemd. The majority of the changes are small configuration additions to auto tools, so that MeeGo is identified as a valid distribution option. Some small deviations will be noticed between the configuration of MeeGo and other distributions. As MeeGo is a distribution striving for compliancy to support its near embedded attributes and target users, there is less user configuration options available by default. Most services will be enabled by systemd as part of the distribution requirements, and as such most links and service files will be pre-setup for the MeeGo distribution. As much of this is going to be done within the MeeGo distribution packaging this is still noteworthy to mention, as it explains why in systemd you will observe configuration differences where the MeeGo distribution removes all links in the pkgsysconfdir for instance. MeeGo will be user configurable if there is desire, but most services will be enabled by the distribution as designated by the MeeGo compliancy standards. Other changes are in source to add such areas as meego-release defined in utils, and hostname in hostname-setup, defining vconsole-setup, localizations and rescue additions as needed. As this is all ground work, MeeGo will continue to strive for complete compatibility.
2011-04-16hostnamed: introduce systemd-hostnamedLennart Poettering
http://www.freedesktop.org/wiki/Software/systemd/hostnamed
2011-04-16hostname: split out hostname validation into util.cLennart Poettering
2011-04-16util: truncate newline inside of read_one_line_file() alreadyLennart Poettering
2011-04-16util: modernize get_parent_of_pid() a bitLennart Poettering