Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-04-01 | Add AllowIsolate=yes to snapshots | Oleksii Shevchuk | |
2013-04-01 | stdio-bridge: rework stdio bridge to use libsystemd-bus | Lennart Poettering | |
2013-04-01 | bus: always return something in sd_bus_get_timeout() | Lennart Poettering | |
2013-04-01 | bus: be more careful when determining credential data | Lennart Poettering | |
As it turns out SCM_CREDENTIALS is not always supported on socketpair(), so let's also try SO_PEERCRED then. | |||
2013-04-01 | bus: when the first char a server receives isn't the NUL byte immediately fail | Lennart Poettering | |
2013-04-01 | bus: ignore the passed UID on EXTERNAL auth if ANONYMOUS is allowed | Lennart Poettering | |
2013-04-01 | bus: when reading a message from the socket, make sure to note down the size | Lennart Poettering | |
2013-04-01 | bus: reuse sd_is_socket() call | Lennart Poettering | |
2013-04-01 | bus: fall back to readv/writev if recvmsg/sendmsg don't work | Lennart Poettering | |
2013-04-01 | bus: allow two different fds for input/output in sd_bus_set_fd() | Lennart Poettering | |
This is useful so that we can speak D-Bus over a FIFO pair such as stdin+stdout. | |||
2013-03-31 | Partially revert e62d8c394474 | Zbigniew Jędrzejewski-Szmek | |
The ~80 chars per line part wasn't well received. | |||
2013-03-31 | units/user: default.target must be isolatable | Zbigniew Jędrzejewski-Szmek | |
... Activating default unit: default.target Default target could not be isolated, starting instead: Operation refused, unit may not be isolated. | |||
2013-03-31 | activate: do not leak envp on error | Zbigniew Jędrzejewski-Szmek | |
2013-03-31 | journalctl: reword error message | Zbigniew Jędrzejewski-Szmek | |
Sentence seemed to suggest that all three conditions must be true. | |||
2013-03-31 | tmpfiles: fix obscure leak in error path | Zbigniew Jędrzejewski-Szmek | |
The leak was because of the single return in midst of all 'goto finish'es. Using automatic cleanup simplifies things. | |||
2013-03-31 | Modernization | Zbigniew Jędrzejewski-Szmek | |
Use _cleanup_ and wrap lines to ~80 chars and such. | |||
2013-03-31 | strbuf: replace quick sort with bubble sort | Zbigniew Jędrzejewski-Szmek | |
No need to call the heavy artillery, when the original array is sorted. Reduces complexity from n² log n to n log n, where n is the number of items in the array, not very large, but still. | |||
2013-03-31 | strbuf: fix leak on memory error | Zbigniew Jędrzejewski-Szmek | |
Not very likely, but let's fix it for the matter of principle. | |||
2013-03-31 | bootchart: fix a potential buffer overrun | Zbigniew Jędrzejewski-Szmek | |
If the configured number of samples was close to MAXSAMPLES, the samples buffer could be overrun: - by 1, because of off-by-one in the condition (samples > arg_samples_len), and - by many in case of an overrun, because the number of samples to capture was increased, instead of being decreased. Simplify things by converting to a normal for-loop. In store.c: change buffer size from 4095 to 4096. 4095 is a strange number. | |||
2013-03-31 | bootchart: split out option parsing from main() | Zbigniew Jędrzejewski-Szmek | |
2013-03-31 | journald: check return value of strappend | Zbigniew Jędrzejewski-Szmek | |
2013-03-31 | bus: check return value from bus_type_get_alignment/size | Zbigniew Jędrzejewski-Szmek | |
2013-03-31 | nspawn, machine-id-setup: warn if read-only mount call fails | Zbigniew Jędrzejewski-Szmek | |
They are not crucial, but they shouldn't fail. | |||
2013-03-31 | nss-myhostname: use _cleanup_ and split function into two | Zbigniew Jędrzejewski-Szmek | |
The triply nested loop is just too much. Let's split out the middle loop's body, so the whole thing is easier to read. Also modernize the style a bit, using structure initialization to avoid memset and such. | |||
2013-03-31 | accelerometer: remove dead if and modernize | Zbigniew Jędrzejewski-Szmek | |
Based on a coverity warning. | |||
2013-03-31 | execute: convert secure bits into mask properly | Zbigniew Jędrzejewski-Szmek | |
C.f. http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5975c725dfd6f7d36f493ab1453fbdbd35c1f0e3 | |||
2013-03-31 | Remove some dead code | Zbigniew Jędrzejewski-Szmek | |
Based on coverity report. | |||
2013-03-31 | journal-gatewayd: query PID 1 for virtalization | Lennart Poettering | |
Since journal-gatewayd is now running unprivileged, and detecting virtalization requires privileges, query PID1 via D-Bus for the used virtualization. This is also the first time we use libsystemd-bus for more than just testing. https://bugs.freedesktop.org/show_bug.cgi?id=62173 | |||
2013-03-31 | bus: rename sd_bus_get_peer() to sd_bus_get_server_id() | Lennart Poettering | |
This function always returns the server side ID. The name suggested it was actually always the peer's ID, but that's not correct if the call is called on a server bus context. Hence, let's correct the name a bit. | |||
2013-03-31 | bus: s/sd_message_handler_t/sd_bus_message_handler_t/g | Lennart Poettering | |
2013-03-31 | bus: parse matches locally and allow registration of callbacks for them | Lennart Poettering | |
This includes code to parse and split up match strings which will also be useful to calculate bloom filter masks when the time comes. | |||
2013-03-30 | bus: add missing test-bus-server.c | Lennart Poettering | |
2013-03-30 | bus: implement server mode, and anonymous authentication | Lennart Poettering | |
2013-03-30 | prioq: consider a NULL prioq empty | Lennart Poettering | |
2013-03-30 | bus: if we recieve fds but fd passing is off, consider this an error | Lennart Poettering | |
2013-03-30 | bus: enable SO_PASSCRED only if we are not connected to a bus | Lennart Poettering | |
2013-03-30 | bus: properly set up bus connections with sd_bus_set_exec() | Lennart Poettering | |
2013-03-30 | bus: consider it an error if the first message we get on the bus is not a ↵ | Lennart Poettering | |
reply to HELLO | |||
2013-03-30 | bus: add C++ wrappers to public header files | Lennart Poettering | |
2013-03-30 | dbus: let's make this const array static | Lennart Poettering | |
2013-03-30 | udev: extern on functions is pointless | Lennart Poettering | |
2013-03-30 | unit: no need to export variables if we can avoid it | Lennart Poettering | |
2013-03-30 | TODO | Lennart Poettering | |
2013-03-30 | gitignore: update | Kay Sievers | |
2013-03-30 | TODO: update | Kay Sievers | |
2013-03-30 | killall: print notice what we forcefully KILL | Kay Sievers | |
2013-03-29 | build-sys: force Python to write UTF-8 | Kelly Anderson | |
Here is a patch that fixes documentation with python 3.x in non utf-8 locales. Specifically in my locale latin-1 is the default setting for output going to stdout, which causes it to fail. By writing directly to file we are able to set the locale to utf-8. | |||
2013-03-29 | build-sys,man: use XML entities to substite strings | Zbigniew Jędrzejewski-Szmek | |
This makes it easier to add substitutions to man pages, avoiding the separate transformation step. mkdir -p's are removed from the rule, because xsltproc will will create directories on it's own. All in all, two or three forks per man page are avoided, which should make things marginally faster. Unfortunately python parsers must too be tweaked to handle entities. This isn't particularly easy: with lxml a custom Resolver can be used, but the stdlib etree doesn't support external entities *at all*. So when running without lxml, the entities are just removed. Right now it doesn't matter, since the entities are not indexed anyway. But I intend to add indexing of filenames in the near future, and then the index generated without lxml might be missing a few lines. Oh well. | |||
2013-03-29 | build-sys: generate sed substitution from a list | Zbigniew Jędrzejewski-Szmek | |
I want to use the substitutions in different form for xml entities. | |||
2013-03-29 | Revert "build-sys: substitute strings in systemd.unit(5)" | Zbigniew Jędrzejewski-Szmek | |
This reverts commits c78ab91132aab9193f3c17a9a206f8825ff4be84 and 185c3be03cec26023acc11b49553753aa7330a1d. It is simpler to just use includes... |