Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | killall: print notice what we forcefully KILL | Kay Sievers | |
2013-03-29 | test-path-util: fix another stupid test failure | Zbigniew Jędrzejewski-Szmek | |
2013-03-29 | test-path-util: fix botched test | Zbigniew Jędrzejewski-Szmek | |
2013-03-29 | bootctl: fix help text | Koen Kooi | |
It currently says 'time settings', change that to 'boot settings'. | |||
2013-03-29 | utmp: make gcc shut up, we need to pass an int here, not size_t | Lennart Poettering | |
2013-03-29 | cgtop --help: default depth is 3 not 2 | Maksim Melnikau | |
use default depth from variable for --help | |||
2013-03-29 | Always use errno > 0 to help gcc | Zbigniew Jędrzejewski-Szmek | |
gcc thinks that errno might be negative, and functions could return something positive on error (-errno). Should not matter in practice, but makes an -O4 build much quieter. | |||
2013-03-29 | journalctl: fix --update-catalog with not --root arg | Zbigniew Jędrzejewski-Szmek | |
grawity> `journalctl --update-catalog` from latest git prints: "Recursive mkdir .: Invalid argument" and "Failed to write : Invalid argument" | |||
2013-03-28 | tests: add some silly tests for path-util.c | Zbigniew Jędrzejewski-Szmek | |
2013-03-28 | journalctl: support --root for message catalogs | Zbigniew Jędrzejewski-Szmek | |
2013-03-28 | catalog: open up catalog internals | Zbigniew Jędrzejewski-Szmek | |
In order to write tests for the catalog functions, they are made non-static and start taking a 'database' parameter, which is the name of a file with the preprocessed catalog entries. This makes it possible to make test-catalog part of the normal test suite, since it now only operates on files in /tmp. Some more tests are added. | |||
2013-03-28 | catalog: make sure strings are terminated | Zbigniew Jędrzejewski-Szmek | |
Coverity complains: systemd-199/src/journal/catalog.c:126: buffer_size_warning: Calling strncpy with a maximum size argument of 32 bytes on destination array "i->language" of size 32 bytes might leave the destination string unterminated. ...and unfortunately it was right. The string was defined as a fixed-size string in some parts of the code, and used a null-terminated string in others (e.g. in log statements). There's no point in conserving one byte, so just define the max language tag length to 31 bytes, and use null terminated strings everywhere. Also, wrap some lines, zero-fill less bytes, use '\0' instead of just 0 to be more explicit that this is one byte. | |||
2013-03-28 | udev: check return value of uname. | Václav Pavlín | |
2013-03-28 | bootchart: properly terminate string | Zbigniew Jędrzejewski-Szmek | |
systemd-199/src/bootchart/store.c:289: buffer_size_warning: Calling strncpy with a maximum size argument of 256 bytes on destination array "ps->name" of size 256 bytes might leave the destination string unterminated. ...and indeed, the string was used as NULL-terminated later on. pid_cmdline_strncpy is renamed to pid_cmdline_strscpy to commemorate the fact that it *does* properly terminate the string. | |||
2013-03-28 | utmp-wtmp: don't try to read past end of string | Zbigniew Jędrzejewski-Szmek | |
systemd-199/src/shared/utmp-wtmp.c:228: buffer_size_warning: Calling strncpy with a maximum size argument of 32 bytes on destination array "store.ut_line" of size 32 bytes might leave the destination string unterminated. The destination string is unterminated on purpose, but we must remember that. | |||
2013-03-28 | coredump: do not free twicesystemd/v200 | Zbigniew Jędrzejewski-Szmek | |
2013-03-29 | unit: replace remote-fs-setup.target by network-online.target | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=787314 | |||
2013-03-28 | build-sys: fix HAVE/ENABLE_FIRMWARE | Kay Sievers | |
https://bugs.freedesktop.org/show_bug.cgi?id=62864 | |||
2013-03-28 | bootctl: ESP --> Partition | Kay Sievers | |
2013-03-28 | bootctl: Binary: --> File: | Kay Sievers | |
2013-03-27 | catalog: fix error codes handling in catalog_list_items | Lukas Nykryn | |
Previously r was set to zero and so if(r<0) was never true. | |||
2013-03-27 | log: fix error codes handling in catalog_list_items | Lukas Nykryn | |
It does not make sense to print error code from previous loop. | |||
2013-03-27 | sd-bus: check c->path for null instead of path | Lukas Nykryn | |
2013-03-27 | systemd-sysctl: Handle missing /etc/sysctl.conf properly | Eelco Dolstra | |
Since fabe5c0e5fce730aa66e10a9c4f9fdd443d7aeda, systemd-sysctl returns a non-zero exit code if /etc/sysctl.conf does not exist, due to a broken ENOENT check. | |||
2013-03-27 | shared: free dt (temporary dir name) on fail | Václav Pavlín | |
[zj: modified to not to try to rmdir() dir we haven't created.] | |||
2013-03-27 | core: check return value of rm_rf_dangerous and warn if it fails | Václav Pavlín | |
2013-03-27 | bootctl: rename status output header | Kay Sievers | |