move libsystemd_core.la sources into core/
util: move all to shared/ and split external dependencies in separate 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)
service: ignore SIGPIPE by default
exec: include path name of binary we are about to execute when renaming forked off processes Immediately after forking off a process change the comm name and argv[0] to "(foobar)" where "foobar" is the basename of the path we are about to execute. This should be useful when charting boot progress.
persistant -> persistent
exec: introduce ControlGroupPersistant= to make cgroups persistant
journal: introduce log target 'journal' for executed processes
execute: talk directly to the journald, instead to the stdout-syslog-bridge
execute: fix losing of start timestamps Start timestamps were always cleared before saving exit timestamps. Fix it by removing a condition that makes no sense any way I look at it.
execute: log errors from "sd(EXEC)" To give the administrator more hints about failures occuring in spawning of commands than just the exit code, log the strerror. All fds are closed, so reopen the log. Related-to: https://bugzilla.redhat.com/show_bug.cgi?id=752901
execute: make setup_pam() return -errno when possible The only caller currently checks if the result is non-zero, so nothing changes there.
execute: avoid logging to closed fds Several functions called from the "sd(EXEC)" process try to log messages when all the file descriptors are already closed, including the logging ones. The logging functions do not expect their fds to be closed and they hit an assertion failure. The failure wants to be logged too, so there is an infinite recursion, ended by a SIGSEGV. When we close all fds, we must let log.c know about it.
utmp: remove unneded parameters With these functions no caller ever passes anything else than 0 for 't' (meaning the current time will be used).
util: properly detect what the last capability is
stdout-bridge: rename logger to stdout-syslog-bridge to make it more descriptive
exec: optionally apply cgroup attributes to the cgroups we create
exec: introduce PrivateNetwork= process option to turn off network access to specific services
execute: properly enforce group https://bugzilla.redhat.com/show_bug.cgi?id=723892
umask: change default umask to 0022 just to be sure, and set it explicitly in all binaries, in order to make sure it is set when started from the terminal
util: make use of get_user_creds() and get_group_creds() wherever applicable