summaryrefslogtreecommitdiff
path: root/src/util.c
AgeCommit message (Collapse)Author
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
2011-02-22util: make string staticLennart Poettering
2011-02-21virtualization: beef virtualization codeLennart Poettering
2011-02-17util: retry opening a TTY on EIOLennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=33996 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/554172/comments/245
2011-02-17util: beef up logic to find ctty nameLennart Poettering
2011-02-16util: seperate welcome line from other output by empty linesLennart Poettering
2011-02-15shutdown: execute all binaries in /lib/systemd/system-shutdown as last step ↵Lennart Poettering
before invoking reboot()
2011-02-14util: properly resolve /dev/console if more than once console= argument was ↵Lennart Poettering
passed on the kernel command line
2011-02-14getty: do not auto-spawn getty's on VC ttys if console=ttyN is usedLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=676885
2011-02-13util: when determining the right TERM for /dev/console consult ↵Lennart Poettering
/sys/class/tty/console/active
2011-02-13readahead: disable readahead in virtual machinesLennart Poettering
2011-02-08build-sys: initial support ALTLinuxAlexey Shabalin
Hi all! I added basic support for ALTLinux. Please see patch or http://git.altlinux.org/people/shaba/packages/systemd.git?p=systemd.git;a=shortlog;h=refs/heads/altlinux Thanks.
2011-01-22gcc: make gcc shut upLennart Poettering
2011-01-20systemctl: highlight failed processes in systemctl statusLennart Poettering
2011-01-18mount: FAT uuids are uppercaseLennart Poettering
2011-01-06execute,util: fix two small memory leaksLennart Poettering
2011-01-05util: don't pass invalid fd to fdopendir() on error to avoid corruption of errnoLennart Poettering
2011-01-05fragment: properly handle quotes in assignments in EnvironmentFile= filesLennart Poettering
2011-01-04serial: use TERM=vt100 instead of TERM=vt100-navLennart Poettering
TERM=vt100-nav was necessary for compat with some ppc hvc devices, a long time ago. Unfortunately vt100-nav terminfo is not installed by default on most distros, hence change the default to v100 which is available universally and still should be a relatively safe and conservative default. Should it turn out that vt100 is not really the best choice we can revert this change again and then ask distros to move vt100-nav into their default install.
2011-01-01arch: remove welcome messageTom Gundersen
This is now done by os-release downstream.
2011-01-01util: invoke sync() implicitly on freeze()Lennart Poettering
Suggested by Tom Gundersen.
2010-12-28tmpfiles: ensure we do no follow symlinks when cleaning up dirsLennart Poettering
Patch suggested by Miloslav Trmac.
2010-12-21util: properly handle OOM when allocating Debian version stringLennart Poettering
2010-12-21debian: Prefix welcome string with "Debian "Michael Biebl
For stable releases /etc/debian_version only contains a version number, so we add a prefix "Debian ".
2010-11-18sysctl: implement native sysctl tool to support Debian-style /etc/sysctl.dLennart Poettering
2010-11-18util: introduce /etc/os-release so that distros don't need to patch systemd ↵Lennart Poettering
to get a welcome message
2010-11-15exec: automatically determine right TERM= setting based on tty nameLennart Poettering