summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2014-01-27journal: guarantee async-signal-safety in sd_journald_sendvZbigniew Jędrzejewski-Szmek
signal(7) provides a list of functions which may be called from a signal handler. Other functions, which only call those functions and don't access global memory and are reentrant are also safe. sd_j_sendv was mostly OK, but would call mkostemp and writev in a fallback path, which are unsafe. Being able to call sd_j_sendv in a async-signal-safe way is important because it allows it be used in signal handlers. Safety is achieved by replacing mkostemp with open(O_TMPFILE) and an open-coded writev replacement which uses write. Unfortunately, O_TMPFILE is only available on kernels >= 3.11. When O_TMPFILE is unavailable, an open-coded mkostemp is used. https://bugzilla.gnome.org/show_bug.cgi?id=722889
2014-01-26build-sys: expose more phony targetsZbigniew Jędrzejewski-Szmek
2014-01-26build-sys: add a phony target for cppcheckElia Pinto
The cppcheck target was introduced by commit 16f4efb4150c65e3c61adaa8ea512489de49f532 "build-sys: add cppcheck target". But it is preferable to use a make phony target for it, as this patch does. There are two general reasons to use a phony target: to avoid a conflict with a file of the same name, and to improve performance. In this case the first reason is obvious, and the second is that make skips the implicit rule search for phony targets, since it knows that phony targets do not name actual files that could be remade from other files (as described in the "Gnu Make" Manual).
2014-01-25build-sys: merge libsystemd-id128 into libsystemdZbigniew Jędrzejewski-Szmek
2014-01-25build-sys: create "compatibility libraries" sectionZbigniew Jędrzejewski-Szmek
Compat stuff is moved to src/compat-libs/. Warnings are issued when programs are linked with the deprecated library.
2014-01-25build-sys: disable lto for compatibility librariesZbigniew Jędrzejewski-Szmek
https://sourceware.org/bugzilla/show_bug.cgi?id=16504
2014-01-25build-sys: merge libsystemd-login into libsystemdZbigniew Jędrzejewski-Szmek
A compatibility libsystemd-login library is created which uses .symver and ifunc magic proposed by Lennart to make programs linked to the old library name continue to work seamlessly. Unfortunately the bfd linker crashes: https://sourceware.org/bugzilla/show_bug.cgi?id=16467 This will be fixed in binutils 2.25. As a work-around, gold can be used: LDFLAGS=-Wl,-fuse-ld=gold Unfortunately the switch to pick the linker appeared in gcc 4.8. This also doesn't work with LLVM: http://llvm.org/bugs/show_bug.cgi?id=11897
2014-01-22networkd: add basic bonding supportTom Gundersen
Refactor bridging support to be generic netdev support and extend it to cover bonding as well.
2014-01-21libsystemd: split up into subdirsTom Gundersen
We still only produce on .so, but let's keep the sources separate to make things a bit less messy.
2014-01-21libsystemd-dhcp: revert merge into libsystemdTom Gundersen
Unlike the other merged libs, the rest of libsystemd will never depend on sd-dhcp-client, so there is no reason not to keep it separate.
2014-01-17build: Skip .busname generator when kdbus is offUmut Tezduyar Lindskog
2014-01-17libsystemd: rename LIBSYSTEMD_BUS to LIBSYSTEMDTom Gundersen
2014-01-16build-sys: increase valgrind stack limit so all tests pass againZbigniew Jędrzejewski-Szmek
2014-01-16bus: break reference cycle between bus and messagesZbigniew Jędrzejewski-Szmek
Previously (6ee4f99 bus: break reference cycle between bus and messages) I committed the test code, but not the actual fix :)
2014-01-14sd-resolv: rename to sd-resolveTom Gundersen
Lennart pointed out that we were misspelling 'resolve'. Let's not repeat the mistakes of 'umount' and 'resolv.conf'.
2014-01-13libsystemd-dns: merge into libsystemdTom Gundersen
Also rename sd-dns -> sd-resolv.
2014-01-13libsystemd-rtnl: merge into libsystemdTom Gundersen
2014-01-13libsystemd-dhcp: merge into libsystemdTom Gundersen
2014-01-13libsystemd-bus: rename to libsystemdTom Gundersen
Documentation was updated to refer to either 'libsystemd' or 'sd-bus' in place of libsystemd-bus.
2014-01-12networkd: generate resolv.confTom Gundersen
This adds support to generate a basic resolv.conf in /run/systemd/network. This file will not take any effect unless a symlink is created from /etc/resolv.conf. Nameservers received over DHCP takes precedence over statically configured ones. Note: /etc/resolv.conf is severely limited, so in the future we will likely rather provide a much more powerfull nss plugin (or something to that effect), but this should allow current users to function without any loss of functionality.
2014-01-11ycm: autocompose flags from the MakefileDave Reisner
This should hopefully be self-maintaining.
2014-01-11sd-dns: initial commitDaniel Buch
Origin: <http://0pointer.de/lennart/projects/libasyncns/> [tomegun: renamed some more files asyncns -> sd-dns and moved to libsystemd-bus as requested by Lennart]
2014-01-08build-sys: fix distcheckZbigniew Jędrzejewski-Szmek
2014-01-08dbus1-generator: install user versionKay Sievers
2014-01-08pam_systemd: export DBUS_SESSION_BUS_ADDRESSKay Sievers
2014-01-08bus-driverd: support user modeKay Sievers
2014-01-08bus-proxyd: support --user bus addressKay Sievers
2014-01-07core: --user -- add basic.target an sort against it like --system doesKay Sievers
2014-01-02build-sys: make valgrind-tests target output nicerZbigniew Jędrzejewski-Szmek
2014-01-01networkd: add DHCPv4 supportTom Gundersen
This adds basic DHCPv4 support. Link-sense is enabled unconditionally, but the plan is to make that configurable. I tested this in a VM with lots of NICs and over wifi in the various coffee shops I found this Christmas, but more testing would definitely be appreciated.
2013-12-31build-sys: make test output a bit nicerZbigniew Jędrzejewski-Szmek
2013-12-31build-sys: make test-dhcp-* statically linkedZbigniew Jędrzejewski-Szmek
This makes them behave like everything else following 48d7417d3 'build-sys: link most internal libraries statically'.
2013-12-30build-sys: fix systemd-stdio-bridge link to work with split /usrZbigniew Jędrzejewski-Szmek
shumski> there seems to be slight error in systemd git master Makefile.am
2013-12-28shared: add simplistic XML parser for usage in the D-Bus policy language ↵Lennart Poettering
compat parser
2013-12-27build-sys: fix generation of user@.serviceZbigniew Jędrzejewski-Szmek
2013-12-25build-sys: minor fixes found with cppcheckLennart Poettering
2013-12-24tmpfiles: introduce the concept of unsafe operationsZbigniew Jędrzejewski-Szmek
Various operations done by systemd-tmpfiles may only be safely done at boot (e.g. removal of X lockfiles in /tmp, creation of /run/nologin). Other operations may be done at any point in time (e.g. setting the ownership on /{run,var}/log/journal). This distinction is largely orthogonal to the type of operation. A new switch --unsafe is added, and operations which should only be executed during bootup are marked with an exclamation mark in the configuration files. systemd-tmpfiles.service is modified to use this switch, and guards are added so it is hard to re-start it by mistake. If we install a new version of systemd, we actually want to enforce some changes to tmpfiles configuration immediately. This should now be possible to do safely, so distribution packages can be modified to execute the "safe" subset at package installation time. /run/nologin creation is split out into a separate service, to make it easy to override. https://bugzilla.redhat.com/show_bug.cgi?id=1043212 https://bugzilla.redhat.com/show_bug.cgi?id=1045849
2013-12-23bus: switch kdbus bloom filter over to SipHash (from MurmurHash3)Lennart Poettering
Let's try to standardize on a single non-cryptographic hash algorithm, and for that SipHash appears to be the best answer. With this change there are two other hash functions left in systemd: an older version of MurmurHash embedded into libudev for the bloom filters in udev messages (which is hard to update, given that the we probably should stay compatible with older versions of the library). And lookup3 in the journal files (which we could replace for new files, but which is probably not worth the work).
2013-12-23libudev: ship the original MurmurHash2.[ch] fileKay Sievers
2013-12-22shared: switch our hash table implementation over to SipHashLennart Poettering
SipHash appears to be the new gold standard for hashing smaller strings for hashtables these days, so let's make use of it.
2013-12-22hwddb: Add database for SDIO vendor and class informationMarcel Holtmann
2013-12-17bus: install unit files for new driver serviceLennart Poettering
2013-12-16build-sys: fix distcheckZbigniew Jędrzejewski-Szmek
2013-12-16bus: use gperf to map error string to errnoZbigniew Jędrzejewski-Szmek
2013-12-17build-sys: build bus-driverd if kdbus support is enabledLennart Poettering
2013-12-16Add bus-driverdDaniel Mack
systemd-bus-driverd is a small daemon that connects to kdbus and implements the org.freedesktop.DBus interface. IOW, it provides the bus functions traditionally taken care for by dbus-daemon. Calls are proxied to kdbus, either via libsystemd-bus (were applicable) or with the open-coded use of ioctl(). Note that the implementation is not yet finished as the functions to add and remove matches and to start services by name are still missing.
2013-12-16build-sys: add cppcheck targetLennart Poettering
This uses --enable=all mode. Should be taken with a grain of salt though. While many recommendations make sense we should probably keep "int r" always on function scope, and many of the portability warnings really don't matter to us because we only care for Linux/glibc.
2013-12-13bus: install systemd-bus-proxyd unit files for compatibility with dbus1Lennart Poettering
2013-12-12build-sys: use internal library for dhcp client testsZbigniew Jędrzejewski-Szmek
Also clean up AM_CFLAGS in a few places.
2013-12-12build: Add dependency on libsystemd-bus needed for main loopPatrik Flykt