Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-03-22 | build-sys: move acl searching code into libsystemd-acl | Zbigniew Jędrzejewski-Szmek | |
This loop over acls is a bit too much to keep inside of another loop. | |||
2013-03-22 | hostnamed: pretty_string_is_safe() already exists in string_has_cc(), so use ↵ | Lennart Poettering | |
that | |||
2013-03-22 | util: be more picky when validating hostnames | Lennart Poettering | |
No longer allow dots at the beginning or end of host names, Or double dots. https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1152187/comments/14 | |||
2013-03-22 | journalctl: give a nice hint about group membership based on ACLs of ↵ | Lennart Poettering | |
/var/log/journal If we notice that we unprivileged and not in any of the groups which have access to /var/log/journal, print a nice message about which groups do. This checks and prints all groups that are in the default ACL for /var/log/journal, which is not necessarily correct for all journal files, but pretty close. | |||
2013-03-22 | cgroup: minor optimization | Lennart Poettering | |
2013-03-22 | bus: implement object handler registry | Lennart Poettering | |
2013-03-22 | mount: mount all cgroup controllers in containers, too | Lennart Poettering | |
2013-03-22 | main: use strv_find() where we can | Lennart Poettering | |
2013-03-22 | main: don't mount cgroup controller unless PID == 1 | Lennart Poettering | |
This completes c1dae1b3c9729fb8ab749dd4e2dad07e0fad7ed8 in a way. | |||
2013-03-21 | Fix vacuum logic error | Jan Alexander Steffens (heftig) | |
The vacuum code used to stop vacuuming after one deletion, even when max_use was still exceeded. Also make usage a uint64_t, as the code already pretends it is one. Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | |||
2013-03-21 | systemd-python: allow retrieval of single fields | Zbigniew Jędrzejewski-Szmek | |
This can give huge efficiency gains, e.g. if only MESSAGE is required and all other fields can be ignored. | |||
2013-03-21 | systemd-python: split out realtime and monotonic into separate functions | Zbigniew Jędrzejewski-Szmek | |
This matches the C API more closely, and also enables the user to get just partial information, should she desire to do so. Functions names in error messages are modified to not include the class name, because Python uses just the function name into functions declared as METH_NOARGS, and error messages were inconsistent. | |||
2013-03-21 | systemd-python: implement _Reader.test_cursor | Zbigniew Jędrzejewski-Szmek | |
Getting the cursor is split out from .get_next() into .get_cursor(). This mirrors the C API more closely, and also makes things a bit faster if the cursor is not needed. | |||
2013-03-21 | systemd-python: cleanup up usec_t handling | Zbigniew Jędrzejewski-Szmek | |
The behaviour wrt. seconds vs. microseconds was inconsistent. Now _Reader always uses native units (us), while Reader always uses seconds and accepts both floats and ints. This way the conversion is always done in the Python layer, and the lower level API allows access to the journal API without the potentially lossy conversion between double and uint64_t. | |||
2013-03-21 | systemd-python: export sd_journal_get_usage | Zbigniew Jędrzejewski-Szmek | |
2013-03-21 | efivars: fix return code | Zbigniew Jędrzejewski-Szmek | |
Was returning 1 on read error. | |||
2013-03-21 | shutdownd: shut up bogus gcc warning | Zbigniew Jędrzejewski-Szmek | |
This one is fake. But let's kill it, avoiding two condition checks in the process. src/shutdownd/shutdownd.c: In function 'when_wall': src/shutdownd/shutdownd.c:182:44: warning: 'sub' may be used uninitialized in this function [-Wmaybe-uninitialized] return elapse > sub ? elapse - sub : 1; ^ | |||
2013-03-21 | bootchart: fix two unitialized memory frees | Zbigniew Jędrzejewski-Szmek | |
The new gcc isn't bad! In file included from src/bootchart/svg.c:36:0: src/bootchart/svg.c: In function 'svg_ps_bars': ./src/shared/util.h:524:13: warning: 'enc_name' may be used uninitialized in this function [-Wmaybe-uninitialized] free(*(void**) p); ^ src/bootchart/svg.c:821:37: note: 'enc_name' was declared here char _cleanup_free_*enc_name; ^ CC src/udev/mtd_probe/mtd_probe-probe_smartmedia.o XSLT man/systemd.unit.5 In file included from src/bootchart/svg.c:36:0: src/bootchart/svg.c: In function 'svg_pss_graph': ./src/shared/util.h:524:13: warning: 'enc_name' may be used uninitialized in this function [-Wmaybe-uninitialized] free(*(void**) p); ^ src/bootchart/svg.c:395:37: note: 'enc_name' was declared here char _cleanup_free_*enc_name; ^ | |||
2013-03-21 | initctl: fix return from unitialized memory in error path | Zbigniew Jędrzejewski-Szmek | |
src/initctl/initctl.c: In function 'server_init': src/initctl/initctl.c:282:13: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] int r; ^ | |||
2013-03-22 | bus: implicitly collect ucred/label information | Lennart Poettering | |
2013-03-22 | bus: also finish connection before returning from sd_bus_get_unique_name() | Lennart Poettering | |
2013-03-22 | bus: when parsing enforce maximum container depth | Lennart Poettering | |
2013-03-22 | bus: fix uninitialized variable | Lennart Poettering | |
2013-03-22 | bus: validate the hello response properly | Lennart Poettering | |
2013-03-22 | bus: properly verify recursion depth of signatures | Lennart Poettering | |
2013-03-22 | bus: rework synchronization logic | Lennart Poettering | |
Instead of allowing certain actions fail during authentication and connection setup, implicitly synchronize on the connection to be set up completely before returning. | |||
2013-03-22 | bus: reuse more code | Lennart Poettering | |
2013-03-22 | bus: validate the entire header more closely | Lennart Poettering | |
2013-03-22 | bus: properly validate object path values | Lennart Poettering | |
2013-03-22 | bus: generate a nice error when attempting to add a NULL string | Lennart Poettering | |
2013-03-22 | bus: implicitly handle peer commands Ping() and GetMachineId() | Lennart Poettering | |
2013-03-22 | bus: enforce limits on all client influenced data objects | Lennart Poettering | |
2013-03-22 | bus: implicitly set no_reply flag on outgoing messages if the serial number ↵ | Lennart Poettering | |
is not kept If nobody keeps the serial number of an outgoing message we know that nobody expects an answer to it, so set the no_reply flag accordingly. | |||
2013-03-21 | udev: always set selinux label at "add" events | Kay Sievers | |
https://bugs.freedesktop.org/show_bug.cgi?id=62615 | |||
2013-03-21 | bus: implement full method call timeout logic | Lennart Poettering | |
2013-03-21 | shared: add simple priority queue implementation | Lennart Poettering | |
2013-03-20 | bus: compare to negative errno | Dave Reisner | |
2013-03-20 | activate: avoid warning from -Wshadow | Zbigniew Jędrzejewski-Szmek | |
src/activate/activate.c:167:51: warning: declaration shadows a variable in the global scope [-Wshadow] static int launch(char* name, char **argv, char **environ, int fds) { ^ /usr/include/unistd.h:546:15: note: previous declaration is here extern char **environ; ^ | |||
2013-03-20 | Make two functions static | Zbigniew Jędrzejewski-Szmek | |
2013-03-20 | Remove some unused variables | Zbigniew Jędrzejewski-Szmek | |
2013-03-20 | systemd-analyze: do not format timestamp when not printing it | Zbigniew Jędrzejewski-Szmek | |
../src/analyze/systemd-analyze.c:530:88: warning: data argument not used by format string [-Wformat-extra-args] ...svg_text(false, u->ixt, y, u->time? "%s (%s)" : "%s", u->name, format_timespan(ts, sizeof(ts), u->time)); ~~~~ ^ | |||
2013-03-20 | core: remove unnecessary goto in setup_namespace | Zbigniew Jędrzejewski-Szmek | |
2013-03-21 | bus-message: fix typo | Tom Gundersen | |
2013-03-20 | bus: hook up client with socket communication | Lennart Poettering | |
2013-03-20 | bus: introduce bus_error_is_dirty() independently of sd_bus_error_is_set() | Lennart Poettering | |
2013-03-20 | bus: demarshal header fields properly | Lennart Poettering | |
2013-03-20 | bus: implement demarshaller | Lennart Poettering | |
2013-03-20 | bus: suppress reply messages to method calls with no_reply set | Lennart Poettering | |
2013-03-20 | bus: add basic implementation of a native bus client library | Lennart Poettering | |
2013-03-20 | stdio-bridge: modernization | Lennart Poettering | |