summaryrefslogtreecommitdiff
path: root/src/util.c
AgeCommit message (Collapse)Author
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
2011-04-12pam: use /proc/self/loginuid only if we have CAP_AUDIT_CONTROLLennart Poettering
2011-04-07don't make up buffer sizes, use standard LINE_MAX insteadLennart Poettering
2011-04-04binfmt: add binfmt tool to set up binfmt_misc at bootLennart Poettering
2011-04-03kmsg-syslogd: pass facility value into kmsgLennart Poettering
2011-03-31log: fix shifting of facilitiesLennart Poettering
2011-03-31src: our lord is coverityLennart Poettering
2011-03-31plymouth: use PID file to detect whether ply is runningLennart Poettering
2011-03-30status: show status messages unconditionally if plymouth is aroundLennart Poettering
2011-03-28util: detect page size runtime.cee1
Some architectures support multiple machine types with diffenent page sizes, and some machine types even support multiple page sizes themselves.
2011-03-18man: document pidns containersLennart Poettering
2011-03-16util: make touched files non-writable by defaultLennart Poettering
2011-03-14util: add detect_container()Lennart Poettering
2011-03-14util: detect CLONE_NEWPID namespaces, and cache resultsLennart Poettering
2011-03-14util: return exit status in wait_for_terminate_and_warn()Lennart Poettering
2011-03-14util: properly identify pty devices by their majorLennart Poettering
2011-03-11util: close all fds before freezing executionLennart Poettering
2011-03-09dbus: properly generate UnknownInterface, UnknownProperty and ↵Lennart Poettering
PropertyReadOnly errors
2011-03-09drop unnecessary suffix NULs as gcc adds them anywayLennart Poettering
2011-03-08build-sys: add Mandriva distribution supportsystemd/v20Andrey Borzenkov
This merges several separate patches that I carry as part of Mandriva systemd RPM. They touch those parts that are very unlikely to be changed in near future and do not impose any functionality change for systemd core. I also think it is useful for troubleshooting to have real distribution name in system logs, espicially when someone reports problem upstream. The patch looks bigger than sum of replaced patches because - previous patches were applied on top of distro=fedora, now I need to add all those bits for distro=mandriva as well - part of patch was done as spec file magic, but it seems more logical to ship all these bits together
2011-03-04execute: load environment files at time of execution, not when we load the ↵Lennart Poettering
service configuration https://bugzilla.redhat.com/show_bug.cgi?id=661282
2011-03-03kill: always send SIGCONT after SIGTERMLennart Poettering
When we kill a process to terminate it make sure to send SIGCONT to ensure it is unpaused and processes the signal.
2011-02-22virtualization: check cpuid first, since it is cheaper than DMILennart Poettering