Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-20 | libsystemd: fix compiler warning in property_get_set_callbacks_run() | Daniel Mack | |
gcc (4.8.2, arm) doesn't understand that vtable_property_get_userdata() will always set 'u' when it returns > 0. Hence, the warning is bogus, but anyway. src/libsystemd/sd-bus/bus-objects.c:510:19: warning: 'u' may be used uninitialized in this function [-Wmaybe-uninitialized] (and yes, indeed, even the reported line numbers are bogus in this case) | |||
2014-02-20 | core/unit: fix unit_add_target_dependencies() for units with no dependencies | Daniel Mack | |
For units without any dependencies, r needs to be initialized to 0. Otherwise, the return value of unit_add_target_dependencies() is unspecified. | |||
2014-02-20 | api: in constructor function calls, always put the returned object pointer ↵ | Lennart Poettering | |
first (or second) Previously the returned object of constructor functions where sometimes returned as last, sometimes as first and sometimes as second parameter. Let's clean this up a bit. Here are the new rules: 1. The object the new object is derived from is put first, if there is any 2. The object we are creating will be returned in the next arguments 3. This is followed by any additional arguments Rationale: For functions that operate on an object we always put that object first. Constructors should probably not be too different in this regard. Also, if the additional parameters might want to use varargs which suggests to put them last. Note that this new scheme only applies to constructor functions, not to all other functions. We do give a lot of freedom for those. Note that this commit only changes the order of the new functions we added, for old ones we accept the wrong order and leave it like that. | |||
2014-02-20 | sd-bus: the bus returned should be the first arg | Jason A. Donenfeld | |
This matches the API of previous headers, such as sd-journal.h. | |||
2014-02-19 | udev: net-config - allow interface names to be set from the hwdb | Tom Gundersen | |
2014-02-19 | build-sys: export experimental symbols only with --enable-kdbus | Kay Sievers | |
2014-02-19 | bus: fix unreffing logic | Lennart Poettering | |
2014-02-19 | sd-dhcp-client: fix mixup between raw and udp sockets | Tom Gundersen | |
2014-02-19 | sd-damon is LGPL now | Kay Sievers | |
2014-02-19 | update TODO | Lennart Poettering | |
2014-02-19 | build-sys: merge libsystemd-journal into libsystemd | Kay Sievers | |
2014-02-19 | tmpfiles: simplification | Lennart Poettering | |
2014-02-19 | util: simplify get_ctty() | Lennart Poettering | |
2014-02-19 | timedatectl: fix minor memory leak | Lennart Poettering | |
2014-02-19 | udev: make sure we always return a valid error code in trie_store() | Lennart Poettering | |
2014-02-19 | sd-id128: use new dev_urandom() call | Lennart Poettering | |
2014-02-19 | journal: don't clobber return parameters of ↵ | Lennart Poettering | |
sd_journal_get_cutoff_realtime_usec() on failure | |||
2014-02-19 | execute: modernizations | Lennart Poettering | |
2014-02-19 | make gcc shut up | Lennart Poettering | |
If -flto is used then gcc will generate a lot more warnings than before, among them a number of use-without-initialization warnings. Most of them without are false positives, but let's make them go away, because it doesn't really matter. | |||
2014-02-19 | busctl: add --no-legend and use in bash completion | Thomas Hindoe Paaboel Andersen | |
2014-02-19 | sd-rtnl: test - include missing.h to build on old kernels | Tom Gundersen | |
2014-02-19 | networkd: dhcp - log when lease is lost | Tom Gundersen | |
2014-02-19 | networkd: link - only reset transient hostname if it was set by us | Tom Gundersen | |
2014-02-19 | systemctl: remove erroneous return in runlevel_parse_argv() | Maciej Wereski | |
2014-02-19 | logind: remove redundant check in manager_new() | Maciej Wereski | |
2014-02-19 | label: minor optimizations | Lennart Poettering | |
2014-02-19 | missing.h: add some IFLA_* constants | Tom Gundersen | |
These were added to the kernel between 3.5 and 3.9, let's not require such recent kernels (yet). | |||
2014-02-19 | event: fix crash on child-source state modifications | David Herrmann | |
Setting a child-source state to anything but SD_EVENT_OFF currently does nothing. The condition logic is flawed. Move the state update *below* the test for the previous state. Fixes a crash if you call: sd_event_source_set_enabled(source, SD_EVENT_ON); sd_event_source_unref(source); on a child-source in its own callback. | |||
2014-02-19 | core: add Personality= option for units to set the personality for spawned ↵ | Lennart Poettering | |
processes | |||
2014-02-18 | build-sys: fixups for libsystemd-daemon merge | Zbigniew Jędrzejewski-Szmek | |
2014-02-19 | build-sys: merge libsystemd-daemon into libsystemd | Kay Sievers | |
2014-02-18 | nspawn: add new --personality= switch to make it easier to run 32bit ↵ | Lennart Poettering | |
containers on a 64bit host | |||
2014-02-18 | net-match: fix Driver= match | Tom Gundersen | |
It should match on the driver of the parent device. | |||
2014-02-18 | networkd: refactor link_add() ↵ | Tom Gundersen | |
:( Don't set set **ret when returning r < 0, as matching on the errno may easily give false positives in the future leading to null pointer dereference. Reported-by: David Herrmann <dh.herrmann@gmail.com> | |||
2014-02-18 | nspawn: x86 is special with its socketcall() semantics, be permissive in the ↵ | Lennart Poettering | |
seccomp setup | |||
2014-02-18 | seccomp: add helper call to add all secondary archs to a seccomp filter | Lennart Poettering | |
And make use of it where appropriate for executing services and for nspawn. | |||
2014-02-18 | nspawn: allow 32-bit chroots from 64-bit hosts | Dave Reisner | |
Arch Linux uses nspawn as a container for building packages and needs to be able to start a 32bit chroot from a 64bit host. 24fb11120756 disrupted this feature when seccomp handling was added. | |||
2014-02-18 | load-modules: properly return a failing error code if some module fails to load | Lennart Poettering | |
This is the missing part of b857193b1def5172e3641ca1d5bc9e08ae81aac4. | |||
2014-02-18 | machinectl: remove unused --no-ask-password | Thomas Hindoe Paaboel Andersen | |
2014-02-18 | machinectl: add bash completion | Thomas Hindoe Paaboel Andersen | |
2014-02-18 | man: minor fixes to networkd page | Tom Gundersen | |
Also enforce that we don't allow setting the Broadcast for IPv6 addresses. | |||
2014-02-18 | libsystemd-dhcp: Add a full DHCP address acquisition test case | Patrik Flykt | |
Upon startup the DHCP library will immediately send a DHCP Discover. Handle the additional DHCP Discover checking and DHCP Offer sending in test_addr_acq_recv_discover(). Write a zero UDP checksum, the received XID and the faked MAC address into place to create a DHCP message the library can accept. Follow exactly the same steps when receiving a DHCP Request in test_addr_acq_recv_request() and send the Ack. Check that the proper addresses have been found by the DHCP library before exiting the main loop and finishing the test. | |||
2014-02-18 | libsystemd-dhcp: Factor out test code for DHCP message verification | Patrik Flykt | |
Add a callback function that will handle the test case specific checking. | |||
2014-02-18 | libsystemd-dhcp: Add capability to print out test steps | Patrik Flykt | |
2014-02-18 | sd-rtnl-message: store reference to the bus in the message | Tom Gundersen | |
This mimics the sd-bus api, as we may need it in the future. | |||
2014-02-17 | Remove unused variable and two function stubs | Zbigniew Jędrzejewski-Szmek | |
2014-02-18 | util: generalize code that checks whether PIDs are alive or unwaited for | Lennart Poettering | |
2014-02-17 | doc: update punctuation | Jan Engelhardt | |
Resolve spotted issues related to missing or extraneous commas, dashes. | |||
2014-02-17 | core: more exact test on the procfs special string "(deleted)" | Jan Engelhardt | |
In other parts of systemd, the code checks for " (deleted)", but in one instance, it did not (yet). Make it do the same. | |||
2014-02-17 | networkd: act on lease only if there is one | Umut Tezduyar Lindskog | |
Interface could go down before acquiring a dhcp lease |