summaryrefslogtreecommitdiff
path: root/.gitignore
Commit message (Collapse)AuthorAge
* journal: guarantee async-signal-safety in sd_journald_sendvZbigniew Jędrzejewski-Szmek2014-01-27
| | | | | | | | | | | | | | | | | | 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
* build-sys: merge libsystemd-login into libsystemdZbigniew Jędrzejewski-Szmek2014-01-25
| | | | | | | | | | | | | | | | | | 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
* sd-resolv: rename to sd-resolveTom Gundersen2014-01-14
| | | | | Lennart pointed out that we were misspelling 'resolve'. Let's not repeat the mistakes of 'umount' and 'resolv.conf'.
* libsystemd-dns: merge into libsystemdTom Gundersen2014-01-13
| | | | Also rename sd-dns -> sd-resolv.
* libsystemd-bus: rename to libsystemdTom Gundersen2014-01-13
| | | | | Documentation was updated to refer to either 'libsystemd' or 'sd-bus' in place of libsystemd-bus.
* sd-dns: initial commitDaniel Buch2014-01-11
| | | | | | | Origin: <http://0pointer.de/lennart/projects/libasyncns/> [tomegun: renamed some more files asyncns -> sd-dns and moved to libsystemd-bus as requested by Lennart]
* Use format patterns for usec_t, pid_t, nsec_t, usec_tZbigniew Jędrzejewski-Szmek2014-01-02
| | | | | | | | It is nicer to predefine patterns using configure time check instead of using casts everywhere. Since we do not need to use any flags, include "%" in the format instead of excluding it like PRI* macros.
* shared: add simplistic XML parser for usage in the D-Bus policy language ↵Lennart Poettering2013-12-28
| | | | compat parser
* Add bus-driverdDaniel Mack2013-12-16
| | | | | | | | | | | | 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.
* bus: install systemd-bus-proxyd unit files for compatibility with dbus1Lennart Poettering2013-12-13
|
* git: update .gitignoreLennart Poettering2013-12-13
|
* bus: add support for serializing to gvariantLennart Poettering2013-12-05
| | | | (deserialization is still missing, hence this is not hooked up to kdbus)
* bus: add generator that turns old dbus1 activation files into .busname + ↵Lennart Poettering2013-12-03
| | | | .service units
* rename stdio-bridge to bus-proxydKay Sievers2013-11-29
|
* bus: add new sd_bus_creds object to encapsulate process credentialsLennart Poettering2013-11-28
| | | | | | | | | | | | | This way we can unify handling of credentials that are attached to messages, or can be queried for bus name owners or connection peers. This also adds the ability to extend incomplete credential information with data from /proc, Also, provide a convenience call that will automatically determine the most appropriate credential object for an incoming message, by using the the attached information if possible, the sending name information if available and otherwise the peer's credentials.
* journal: add a test case for flushing messages out of a series of journal ↵Lennart Poettering2013-11-27
| | | | files into a single new one
* build-sys: move more files from core/ to share/ that are generic enoughLennart Poettering2013-11-22
|
* cgroups: Cache controller masks and optimize queues.David Strauss2013-11-22
|
* build-sys: parallelize 'exported' targetZbigniew Jędrzejewski-Szmek2013-11-12
|
* build-sys: add a link test for exported symbolsZbigniew Jędrzejewski-Szmek2013-11-12
| | | | | | | | I know that this is a pretty big net to catch some small fish, but we *do* regularly forget to properly export symbols that were supposed to be exported. This time sd_bus_get_current and some renamed symbols are caught.
* networkd: add a basic network daemonTom Gundersen2013-11-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | This daemon listens for and configures network devices tagged with 'systemd-networkd'. By default, no devices are tagged so this daemon can safely run in parallel with existing network daemons/scripts. Networks are configured in /etc/systemd/network/*.network. The first .network file that matches a given link is applied. The matching logic is similar to the one for .link files, but additionally supports matching on interface name. The mid-term aim is to provide an alternative to ad-hoc scripts currently used in initrd's and for wired setups that don't change much (e.g., as seen on servers/and some embedded systems). Currently, static addresses and a gateway can be configured. Example .network file: [Match] Name=wlp2s0 [Network] Description=My Network Gateway=192.168.1.1 Address=192.168.1.23/24 Address=fe80::9aee:94ff:fe3f:c618/64
* systemctl: rename 'listen'Kay Sievers2013-11-08
| | | | | | | src/systemctl/systemctl.c: In function ‘get_listening’: src/systemctl/systemctl.c:535:25: warning: declaration of ‘listen’ shadows a global declaration [-Wshadow] src/systemctl/systemctl.c: In function ‘list_sockets’: src/systemctl/systemctl.c:690:44: warning: declaration of ‘listen’ shadows a global declaration [-Wshadow]
* libsystemd-rtnl: add a rtnetlink libraryTom Gundersen2013-10-27
| | | | | | | | This is intentionally as similar to sd-bus as possible. While it would be simple to export it, the intentions is to keep this internal (at least for the forseeable future). Currently only synchronous communication is implemented
* update gitignoreDave Reisner2013-10-26
|
* bus: remove static introspection file exportKay Sievers2013-10-21
|
* socket-proxyd: rename from saproxyLennart Poettering2013-10-18
| | | | | | | | | The thing is a daemon, hence needs a "d" prefix. Also, we tend to not abbreviate names of background components unnecessarily, since they are not primary commands people type. Then, the fact that this thing does socket actviation is mostly in implementationd detail for the proxy. Also, do some minor indenting clean-ups and other code updates.
* Rename sabridge to saproxy to be less crypticDavid Strauss2013-10-15
|
* Add sabridge for socket activation of traditional daemonsDavid Strauss2013-10-15
|
* git: add test-ellipsize to files to ignore by gitLennart Poettering2013-10-14
|
* rfkill: add new rfkill tool to save/restore rfkill state across rebootsLennart Poettering2013-10-14
| | | | This works analogous to the existing backlight and random seed services
* gitignore: ignore clang --analyze outputZbigniew Jędrzejewski-Szmek2013-10-13
|
* bus: add minimal event loop APILennart Poettering2013-10-10
| | | | | | | | | | | | | | | So far we tried to use epoll directly wherever we needed an event loop. However, that has various shortcomings, such as the inability to handle larger amounts of timers (since each timerfd costs one fd, which is a very limited resource, usually bounded to 1024), and inability to do priorisation between multiple queued events. Let's add a minimal event loop API around epoll that is suitable for implementation of our own daemons and maybe one day can become public API for those who desire it. This loop is part of libsystemd-bus, but may be used independently of it.
* libsystemd-bus: add lightweight object vtable implementation for exposing ↵Lennart Poettering2013-10-09
| | | | | | | | | | | objects on the bus This adds a lightweight scheme how to define interfaces in static fixed arrays which then can be easily registered on a bus connection. This makes it much easier to write bus services. This automatically handles implementation of the Properties, ObjectManager, and Introspection bus interfaces.
* support acpi firmware performance data (FPDT)Kay Sievers2013-09-24
| | | | | | | | | | Prefer firmware-provided performance data over loader-exported ones; if ACPI data is available, always use it, otherwise try to read the loader data. The firmware-provided variables start at the time the first EFI image is executed and end when the operating system exits the boot services; the (loader) time calculated in systemd-analyze increases.
* device-nodes: move device node specific code to own fileDave Reisner2013-09-19
| | | | | | | | In the process, rename udev_encode_string which is poorly named for what it does. It deals specifically with encoding names that udev creates and has its own rules: utf8 is valid but some ascii is not (e.g. path separators), and everything else is simply escaped. Rename it to encode_devnode_name.
* move utf8 functions from libudev-private.h to utf8.hDave Reisner2013-09-17
| | | | | | | | There's now some more obvious overlap amongst the two utf8 validation functions, but no more than there already was previously. This also adds some menial tests for anyone who wants to do more merging of these two in the future.
* backlight: add minimal tool to save/restore screen brightness across rebootsLennart Poettering2013-08-14
| | | | | | | | | | As many laptops don't save/restore screen brightness across reboots, let's do this in systemd with a minimal tool, that restores the brightness as early as possible, and saves it as late as possible. This will cover consoles and graphical logins, but graphical desktops should do their own per-user stuff probably. This only touches firmware brightness controls for now.
* gpt-auto-generator: add basic auto-discovery of GPT partitionsLennart Poettering2013-08-13
| | | | | | | | | | | | | | | This adds a simple generator that is capable of automatically discovering certain GPT partitions by their type UUID and mount/enable them. This currently covers swap partitions and /home partitions, but is expected to grow more features soon. This currently doesn't handle LUKS encrypted /home. This enables all swap partitions of type 0657fd6da4ab43c484e50933c84b4f4f, if found. This mounts the first partition of type 933ac7e12eb44f13b8440e14e2aef915 as /home, if it is found.
* gitignore: add test-journal-initZbigniew Jędrzejewski-Szmek2013-08-04
|
* remove systemd-timestamp from sourcesDave Reisner2013-07-23
| | | | | No sense in keeping this around if support for reading RD_TIMESTAMP has been removed.
* switch from udev keymaps to hwdbKay Sievers2013-07-16
|
* Add test coverage and generate report with lcovThomas H.P. Andersen2013-07-13
| | | | | | | | | | | | | | Enable coverage with --enable-coverage. "make coverage" will create the report locally, "make coverage-sync" will upload the report to http://www.freedesktop.org/software/systemd/coverage/. Requires lcov version 1.10 to handle naming in systemd and to use the --no-external option. [zj: make the coverage at least generate something with separate build dir, simplify rules a bit: all errors are mine. ]
* tests: add tests for string lookup tablesZbigniew Jędrzejewski-Szmek2013-07-05
| | | | | The tests check if the tables have entries for all values in the enum, and that the entries are unique.
* machined: split out machine registration stuff from logindLennart Poettering2013-07-02
| | | | | | | Embedded folks don't need the machine registration stuff, hence it's nice to make this optional. Also, I'd expect that machinectl will grow additional commands quickly, for example to join existing containers and suchlike, hence it's better keeping that separate from loginctl.
* core: add transient unitsLennart Poettering2013-06-28
| | | | | | | | | | | | | | | | | | Transient units can be created via the bus API. They are configured via the method call parameters rather than on-disk files. They are subject to normal GC. Transient units currently may only be created for services (however, we will extend this), and currently only ExecStart= and the cgroup parameters can be configured (also to be extended). Transient units require a unique name, that previously had no configuration file on disk. A tool systemd-run is added that makes use of this functionality to run arbitrary command lines as transient services: $ systemd-run /bin/ping www.heise.de Will cause systemd to create a new transient service and run ping in it.
* test: Add list testcaseJan Janssen2013-06-27
|
* gitignore: Add test-journal-interleavingJan Janssen2013-06-12
|
* bus: add benchmark tool to determine the right threshold for copying vs. memfdLennart Poettering2013-05-22
|
* bus: add a more comprehensive test for the bloom filter logicLennart Poettering2013-05-20
|
* bus: add support for adding memfds into message payloadLennart Poettering2013-05-15
|