summaryrefslogtreecommitdiff
path: root/src/util.h
AgeCommit message (Collapse)Author
2012-04-10util: move all to shared/ and split external dependencies in separate ↵Kay Sievers
internal libraries Before: $ ldd /lib/systemd/systemd-timestamp linux-vdso.so.1 => (0x00007fffb05ff000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f90aac57000) libcap.so.2 => /lib64/libcap.so.2 (0x00007f90aaa53000) librt.so.1 => /lib64/librt.so.1 (0x00007f90aa84a000) libc.so.6 => /lib64/libc.so.6 (0x00007f90aa494000) /lib64/ld-linux-x86-64.so.2 (0x00007f90aae90000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f90aa290000) libattr.so.1 => /lib64/libattr.so.1 (0x00007f90aa08a000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f90a9e6e000) After: $ ldd systemd-timestamp linux-vdso.so.1 => (0x00007fff3cbff000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f5eaa1c3000) librt.so.1 => /lib64/librt.so.1 (0x00007f5ea9fbb000) libc.so.6 => /lib64/libc.so.6 (0x00007f5ea9c04000) /lib64/ld-linux-x86-64.so.2 (0x00007f5eaa3fc000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f5ea9a00000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5ea97e4000)
2012-03-14journalctl: warn if the user is not in the adm groupLennart Poettering
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-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-18exec: introduce ControlGroupPersistant= to make cgroups persistantLennart Poettering
2012-01-17util: fix ANSI sequence for red colorMichal Schmidt
Red turned green by mistake in commit c1072ea0.
2012-01-14util: introduce FORMAT_BYTES_MAXLennart 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-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-31journal: automatically deduce journal metrics from file system sizesLennart Poettering
2011-12-21journalctl: add json, export, short and verbose output modesLennart Poettering
2011-10-12Merge branch 'master' into journalLennart Poettering
2011-10-11util: properly detect what the last capability isLennart Poettering
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: 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-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: 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: add is_main_thread() callLennart Poettering
2011-08-01util: introduce join() to speed up simple string concatenationsLennart Poettering
2011-07-23util: make use of get_user_creds() and get_group_creds() wherever applicableLennart Poettering
2011-07-22sd-login: beef up login api, to add monitoring and enumeratingLennart 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-07path,unit: support globbing in conditions and path unitsLennart 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-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-21util: add fopen_temporary()Lennart 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-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.