Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-16 | bus: use GREEDY_REALLOC() when allocating message queues | Lennart Poettering | |
2013-12-16 | bus: let's use GREEDY_REALLOC() when allocating space for containers | Lennart Poettering | |
2013-12-16 | execute: also set SO_SNDBUF when spawning a service with stdout/stderr ↵ | Lennart Poettering | |
connected to journald | |||
2013-12-16 | loopback-setup: remove stray hunk | Tom Gundersen | |
2013-12-16 | network: more asserts to shut up scan-build | Thomas Hindoe Paaboel Andersen | |
2013-12-16 | kdbus.h: add alignment requirements | Kay Sievers | |
2013-12-16 | network: use SETLINK to bring up interfaces | Tom Gundersen | |
2013-12-16 | rtnl: replace message_append by typesafe versions | Tom Gundersen | |
2013-12-16 | rtnl: support interleaved reading and writing, and rewind | Tom Gundersen | |
2013-12-16 | rtnl: simplify route_new() | Tom Gundersen | |
Drop most of the arguments and instead introduce set_dst_prefixlen(). | |||
2013-12-16 | rtnl: simplify link_new() | Tom Gundersen | |
Drop most of the arguments and instead introduce link_set_{flags,type}. | |||
2013-12-16 | rtnl: match - only match on one type at a time | Tom Gundersen | |
2013-12-16 | rtnl: clean up/add asserts | Tom Gundersen | |
2013-12-16 | rtnl: add support for receiving route messages | Tom Gundersen | |
2013-12-16 | bus: increase the bus socket buffer to 8 MB similar, to the log socket buffers | Lennart Poettering | |
2013-12-16 | util: try harder to increase the send/recv buffers of sockets | Lennart Poettering | |
If we have the priviliges we will try SO_SNDBUFFORCE/SO_RCVBUFFORCE and only fall back to SO_SNDBUF/SO_RCVBUF if that fails. | |||
2013-12-15 | catalog: fix language detection | Zbigniew Jędrzejewski-Szmek | |
Detection would fail if language was not specified in the filename but a dot appeared somewhere higher in the path. | |||
2013-12-16 | core: refuse doing %h, %s, %U specifier resolving in PID 1 | Lennart Poettering | |
These specifiers require NSS lookups to work, and we really shouldn't do them from PID 1 hence. With this change they are now only supported for user systemd instance, or when the configured user for a unit is root. | |||
2013-12-15 | Fix segv introduced by 2fd069b18e525860514a70d3ea08410ca122d3e2 | Colin Walters | |
n->path is pointing to the value now, we set s = NULL above. | |||
2013-12-15 | Fix a few signed/unsigned format string issues | Zbigniew Jędrzejewski-Szmek | |
Since numbers involved are all small, behaviour was correct already. https://bugzilla.redhat.com/show_bug.cgi?id=1043304 | |||
2013-12-15 | Fix a few resource leaks in error paths | Zbigniew Jędrzejewski-Szmek | |
https://bugzilla.redhat.com/show_bug.cgi?id=1043304 | |||
2013-12-15 | bus: _printf_ attributes should be on prototypes not function definitions ↵ | Lennart Poettering | |
for non-static functions | |||
2013-12-15 | bus: update kdbus monitoring interface | Kay Sievers | |
2013-12-14 | udev-builtin-path: fix printf specifiers | Zbigniew Jędrzejewski-Szmek | |
2013-12-14 | bus: return negative errno on error | Zbigniew Jędrzejewski-Szmek | |
https://bugs.freedesktop.org/show_bug.cgi?id=72688 | |||
2013-12-15 | test-journal-syslog: use streq_ptr since we pass in NULL | Thomas Hindoe Paaboel Andersen | |
2013-12-14 | systemctl: add the --plain option to the help message | Djalal Harouni | |
2013-12-14 | Add more _printf_'s for format-nonliterals | Thomas Hindoe Paaboel Andersen | |
Clang is a bit more strict wrt format-nonliterals: http://clang.llvm.org/docs/LanguageExtensions.html#format-string-checking Adding these extra printf attributes also makes gcc able to find more problems. E.g. this patch uncovers a format issue in udev-builtin-path_id.c Some parts looked intetional about breaking the format-nonliteral check. I added some supression for warnings there. | |||
2013-12-14 | event: some snake-oil to speed up impossible error checks | Lennart Poettering | |
2013-12-14 | event: instead of reset the revents field when we get new revents data from ↵ | Lennart Poettering | |
epoll, OR it in | |||
2013-12-14 | event: dynamically adjust size of events array instead of pre-allocating it ↵ | Lennart Poettering | |
possibly too large or too small | |||
2013-12-14 | util: port last code over to new namespace utility calls | Lennart Poettering | |
2013-12-14 | util: when joining a namespace make sure to reset all uids to 0 after | Lennart Poettering | |
the transition | |||
2013-12-14 | bus: when connecting to a container's kdbus instance, enter namespace first | Lennart Poettering | |
Previously we'd open the connection in the originating namespace, which meant most peers of the bus would not be able to make sense of the PID/UID/... identity of us since we didn't exist in the namespace they run in. However they require this identity for privilege decisions, hence disallowing access to anything from the host. Instead, when connecting to a container, create a temporary subprocess, make it join the container's namespace and then connect from there to the kdbus instance. This is similar to how we do it for socket conections already. THis also unifies the namespacing code used by machinectl and the bus APIs. | |||
2013-12-13 | getty-generator: fix stripping /dev/ | Thomas Hindoe Paaboel Andersen | |
2013-12-13 | bus: install systemd-bus-proxyd unit files for compatibility with dbus1 | Lennart Poettering | |
2013-12-13 | getty-generator: fix segfault when $container_ttys is not set | Lennart Poettering | |
2013-12-13 | event: make gcc shut up | Lennart Poettering | |
2013-12-13 | journal: downgrade comments about sd_journal_print_with_location() | Lennart Poettering | |
Effectviely these calls are ABI anyway, so downgrade the comments a bit, since it might actually be useful for language bindings to make use of them. | |||
2013-12-13 | getty-generator: look add an environment variable $container_ttys set for ↵ | Lennart Poettering | |
PID 1 and start gettys on all ttys listed therein | |||
2013-12-13 | nspawn: add new --setenv= switch to set an environment variable for the ↵ | Lennart Poettering | |
container to spawn | |||
2013-12-13 | libsystemd-bus: the same error codes for sd_bus_release_name() (for kdbus ↵ | Lukasz Skalski | |
and dbus1) Due to this patch, sd_bus_release_name() function returns the same code errors for kdbus and dbus1 if we try release non-existing name or foreign name. | |||
2013-12-13 | update TODO | Lennart Poettering | |
2013-12-13 | bus: when a connection terminated use ECONNRESET as error | Lennart Poettering | |
2013-12-13 | bus: rework how we attach fds to event loops | Lennart Poettering | |
When trying a couple of addresses one after the other, make sure to reattach the fds to the event loop. | |||
2013-12-13 | event: add ability to change fd of an active event source | Lennart Poettering | |
2013-12-13 | event: allow to query userdata and watchdog state | Lennart Poettering | |
2013-12-13 | event: when unreffing an event source from its own handler, detach fd from epoll | Lennart Poettering | |
The pattern of unreffing an IO event source and then closing its fd is frequently seen in even source callbacks. Previously this likely resultet in us removing the fd from the epoll after it was closed which is problematic, since while we were dispatching we always kept an extra reference to event source objects because we might still need it later. | |||
2013-12-13 | event: be more conservative when returning errors from event handler callbacks | Lennart Poettering | |
We really should return errors from event handlers if we have a continous problem and don't know any other solution. | |||
2013-12-13 | namespace: include boot id in private tmp directories | Lennart Poettering | |
This way it is easy to only exclude directories from the current boot from automatic clean up in /var/tmp. Also, pick a longer name for the directories so that are globs in tmp.conf can be simpler yet equally accurate. |