Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-07 | build-sys: merge sd-event into sd-bus | Lennart Poettering | |
The sd-event APIs should be available only as part of libsystemd-bus so that the utility calls are not linked into each independently and we can minimize the number of libraries we have. | |||
2013-11-07 | build-sys: add Makefile symlink for src/activate/ | Lennart Poettering | |
2013-11-07 | utf8: export utf8 validation functions as part of sd-bus | Lennart Poettering | |
To write useful bus code clients need to validate utf8 frequently since the bus reacts allergic to it. Since glibc does not provide any calls for this, let's provide it as part of libsystemd-bus. | |||
2013-11-07 | utf8: ascii_filter() is unused, let's remove it | Lennart Poettering | |
2013-11-07 | consistently use "int" when retrieving "bool" from bus messages | Kay Sievers | |
2013-11-06 | bus: add forgotten _public_ | Zbigniew Jędrzejewski-Szmek | |
2013-11-06 | pam_systemd: dup the fd received from logind | Zbigniew Jędrzejewski-Szmek | |
Otherwise sd_bus_message cleanup would close it. | |||
2013-11-07 | machinectl: we need glibc's socket.h, not our own | Lennart Poettering | |
2013-11-07 | pam: externally our booleans are ints, not unsigneds | Lennart Poettering | |
2013-11-07 | activate: port to use new getpeername_pretty()/getsockname_pretty() calls | Lennart Poettering | |
2013-11-07 | socket: rework things to have only one sockaddr formatter | Lennart Poettering | |
2013-11-07 | event: make sure we keep a reference to all events we dispatch while we do so. | Lennart Poettering | |
2013-11-07 | activate: fix uninitialized memory | Lennart Poettering | |
2013-11-07 | pam_systemd: pass 'unsigned' instead of 'bool' to sd_bus_message_read() | Kay Sievers | |
2013-11-06 | mkdir: modernize header ifdefs | Lennart Poettering | |
2013-11-06 | socket-proxyd: rework to support multiple sockets and splice()-based ↵ | Lennart Poettering | |
zero-copy network IO This also drops --ignore-env, which can't really work anymore if we allow multiple fds. Also adds support for pretty printing of peer identities for debug purposes, and abstract namespace UNIX sockets. Also ensures that we never take more connections than a certain limit. | |||
2013-11-06 | active: rework make_socket_fd() to be based on socket_address_listen() | Lennart Poettering | |
Among other things this makes sure we set SO_REUSEADDR which is immensely useful. | |||
2013-11-06 | activate: reduce log settings to normal | Lennart Poettering | |
2013-11-06 | activate: get rid of redundant definiton of fd_cloexec() | Lennart Poettering | |
2013-11-06 | pam_systemd: port to libsystemd-bus | Zbigniew Jędrzejewski-Szmek | |
2013-11-06 | systemd_pam: treat debug as debug=1 and parse all params | Zbigniew Jędrzejewski-Szmek | |
systemd_pam would ignore all params after the first invalid one. Instead ignore just this one, and parse the rest. There's just one now, but as a matter of principle ;) Also, allow debug as an alias for debug=1, and don't treat invalid debug= options as fatal. | |||
2013-11-06 | bus: add public libsystemd-event | Zbigniew Jędrzejewski-Szmek | |
2013-11-06 | bus: export libsystemd-bus as a public library | Zbigniew Jędrzejewski-Szmek | |
Old static libsystemd-bus.la becomes libsystemd-bus-internal.la. memfd functions are also exported in the same library. (Best viewed with --color-words -U0). | |||
2013-11-06 | machinectl: use initialization instead of zeroing | Zbigniew Jędrzejewski-Szmek | |
2013-11-06 | efi-boot-generator: simplify | Zbigniew Jędrzejewski-Szmek | |
2013-11-06 | socket-proxy: clean-up indenting | Lennart Poettering | |
2013-11-06 | clients: unify how we invoke getopt_long() | Lennart Poettering | |
Among other things this makes sure we always expose a --version command and show it in the help texts. | |||
2013-11-06 | path-util: paths_check_timestamp() opimizations | Lennart Poettering | |
2013-11-06 | inhibit: don't return error code on --help | Lennart Poettering | |
2013-11-06 | busctl: port over to use bus_open_transport() | Lennart Poettering | |
2013-11-06 | clients: various simplifications | Lennart Poettering | |
2013-11-06 | run: support --system to match other commands, even if redundant | Lennart Poettering | |
2013-11-06 | analyze: port over to use bus_open_transport() | Lennart Poettering | |
2013-11-06 | analyze: simplify things | Lennart Poettering | |
2013-11-06 | analyze: fix indentation | Lennart Poettering | |
2013-11-06 | Revert "hostnamed: prevent it from crashing if the chassis is unknown" | Kay Sievers | |
This reverts commit 95b015de3849d8d8d03d9441ae1682a04c38833b. "bus: handle serialization of NULL strings" (cd6f997f71c3aba16aa08226d423d14cbc787f82) should fix this issue. | |||
2013-11-06 | Comment spelling fixes. | David Strauss | |
2013-11-06 | util: unify reading of /proc/cmdline | Lennart Poettering | |
Instead of individually checking for containers in each user do this once in a new call proc_cmdline() that read the file only if we are not in a container. | |||
2013-11-06 | nspawn: explicitly terminate machines when we exit nspawn | Lennart Poettering | |
https://bugs.freedesktop.org/show_bug.cgi?id=68370 https://bugzilla.redhat.com/show_bug.cgi?id=988883 | |||
2013-11-06 | machined: keep track of the initial leader PID of a machine | Lennart Poettering | |
This way we can without races always determine the machine for a leader PID. This allows machine managers to query the machine for a forked off container/VM without a race where the child might already have died before we could read the cgroup information from /proc/$PID/cgroup. | |||
2013-11-06 | bus: handle serialization of NULL strings | Lennart Poettering | |
Instead of simply crashing be somewhat nicer and serialize a NULL string into the empty string and generate an error on signature and object path strings. | |||
2013-11-06 | shutdown: trim the cgroup tree on loop iteration | Lennart Poettering | |
This way we leave the cgroup empty before exiting in a container which makes sure the container manager will get cgroup notification event https://bugs.freedesktop.org/show_bug.cgi?id=68370 https://bugzilla.redhat.com/show_bug.cgi?id=988883 | |||
2013-11-06 | cgroup: run PID 1 in the root cgroup | Lennart Poettering | |
This way cleaning up the cgroup tree on shutdown is a lot easier since we are in the root dir. Also PID 1 was previously artificially placed in system.slice, even though our rule actually was not to have processes in slices. The root slice otoh is magic anyway, so having PID 1 in there sounds less surprising. Of course, this means that PID is scheduled against the three top-level slices. | |||
2013-11-06 | bus: test-bus-marshal - make dbus-1 optional | Kay Sievers | |
2013-11-06 | hostnamed: prevent it from crashing if the chassis is unknown | Thomas Hindoe Paaboel Andersen | |
When fallback_chassis would return null it led to a crash and an empty result in hostnamectl. Only seen after the sd-port. | |||
2013-11-06 | bootctl: typo fix in help message | Thomas Hindoe Paaboel Andersen | |
2013-11-05 | login: port test-inhibit to libsystemd-bus | Kay Sievers | |
2013-11-05 | bus: never report nodes as children that do not have the right prefix | Lennart Poettering | |
2013-11-05 | logind: add virtual object paths that always can be used to refer to the ↵ | Lennart Poettering | |
callers session, user, seat or machine object This way clients can skip invoking GetSessionByPID() for their own PID or a similar call to access these objects. | |||
2013-11-05 | bus: add sd_bus_get_current() bus call to determine message that is ↵ | Lennart Poettering | |
currently being dispatched |