summaryrefslogtreecommitdiff
path: root/src/shared
AgeCommit message (Collapse)Author
2012-05-03cgroup: fix alloca() misuse in cg_shorten_controllers()Lennart Poettering
2012-05-03dbus: handle invalid enum values betterLennart Poettering
2012-05-03hwclock: add taint flag for non-local hwclockLennart Poettering
2012-04-29util: introduce container_of() macroLucas De Marchi
This macro comes from kernel and it's useful for unwrapping structs inside another one. The generated code is actually the same to the one where this logic is used in udev, but using this macro is much cleaner and less error prone.
2012-04-22util: unify getenv() logic for other PIDLennart Poettering
2012-04-22nspawn: add -b switch to automatically look for an init binaryLennart Poettering
2012-04-22default to v102 everywhere, instead of vt100, to synchronize with agettyLennart Poettering
2012-04-22login: assing /dev/console logins to seat0Lennart Poettering
2012-04-22util: fix tty_is_vc_resolve() in a container where ↵Lennart Poettering
/sys/class/tty/console/active is misleading
2012-04-22log: include syslog identifier in default log properties, to avoid comm ↵Lennart Poettering
truncation
2012-04-20log: fix LOG_TARGET_JOURNAL_OR_KMSGLennart Poettering
2012-04-19fix typo in src/shared/install.cSven Anders
2012-04-17udev: unify /dev static symlink setupKay Sievers
2012-04-17silence a bunch of gcc warningsKay Sievers
2012-04-17selinux: unify systemd and udev codeKay Sievers
2012-04-17mkdir: do not use alloca() in a loopKay Sievers
2012-04-17udev: replace util_create_path() with mkdir_parents()Kay Sievers
2012-04-16logind: remove redundant entries from logind's default controller lists tooLennart Poettering
2012-04-16systemctl: show main and control PID explicitly in cgroup-showLennart Poettering
In some cases the main/control PID of a service can be outside of the services cgroups (for example, if logind readjusts the processes' cgroup). In order to clarify this for the user show the main/control PID in the cgroup tree nonetheless, but mark them specially.
2012-04-16util: introduce memdup()Lennart Poettering
2012-04-16cgls: don't show empty cgroups by defaultLennart Poettering
2012-04-16logind: add shutdown/suspend/idle inhibition frameworkLennart Poettering
2012-04-16cgroup: if a controller is not available don't try to create cgroups in its ↵Lennart Poettering
hierarchy
2012-04-13polkit: spawn agent in --fallback modeLennart Poettering
2012-04-13watchdog: make watchdog dbus properties writableLennart Poettering
2012-04-13dbus: automatically send out changed events for properties written toLennart Poettering
2012-04-13fix a couple of things found with the llvm static analyzerLennart Poettering
2012-04-12build-sys: move src/linux/ to src/shared/linuxLennart Poettering
2012-04-12build-sys: move *-setup out of shared to avoid selinux being pulled inLennart Poettering
2012-04-12move remainig shared stuff to shared/Kay Sievers
2012-04-12main: we want all setup functions to be in files called xxx-setup.[ch]Lennart Poettering
2012-04-12hostname-setup: move to core/Lennart Poettering
2012-04-12build-sys: move a few things into more appropriate placesLennart Poettering
2012-04-12build-sys: add stub makefiles to make emacs easier to useLennart Poettering
2012-04-12rename machine-id-main.c tomacht the binary and move main.c to core/Kay Sievers
2012-04-12execute: when we can't get the requested rlimit, get the next closestLennart Poettering
2012-04-12move more common files to shared/ and add them to shared.laKay Sievers
2012-04-12relicense to LGPLv2.1 (with exceptions)Lennart Poettering
We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
2012-04-11polkit: when spawning off agent, wait until the agent is fully initializedLennart Poettering
2012-04-11polkit: temporarily spawn of a polkit agent in terminals for possibly ↵Lennart Poettering
authenticated operations
2012-04-11put acl.la in 'if HAVE_ACL' and rename acl.[ch] to acl-util.[ch]Kay Sievers
2012-04-11main: drop container/initrd env vars from inherited setLennart Poettering
Leave the env vars used in the container/initrd logic set for PID1, but don't inherit them to any children.
2012-04-11split selinux label operations out of cgroup-util, socket-utilKay Sievers
This prevents linking of selinux and libdl for another 15 binaries.
2012-04-10rename basic.la to shared.la and put selinux deps in shared-selinx.laKay Sievers
Only 34 of 74 tools need libselinux linked, and libselinux is a pain with its unconditional library constructor.
2012-04-10move list.h, macro.h, ioprio.h to shared/Kay Sievers
2012-04-10move pager.[ch] to shared/Kay Sievers
2012-04-10move cgroup-util.[ch] to shared/Kay Sievers
2012-04-10util: move ACL code into internal libraryKay Sievers
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)