Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | 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 | build-sys: merge libsystemd-daemon into libsystemd | Kay Sievers | |
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-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-16 | sd-rtnl: do not require ifindex to be set for SETLINK messages | Tom Gundersen | |
The kernel will then look up the ifindex itself based on the name. This should be used very carefully as it is racey. [This was a left-over hunk from my previous nspawn patch.] | |||
2014-02-16 | bus: fix match_parse for unquoted matches | Simon Peeters | |
2014-02-15 | sd-rtnl: always include linux/rtnetlink.h | Tom Gundersen | |
2014-02-15 | sd-rtnl: message_open_container - don't take a 'size' argument | Tom Gundersen | |
We can always know the size based on the type, so let's do this inside the library. | |||
2014-02-15 | sd-rtnl: link flags - don't allow change = 0 | Tom Gundersen | |
The kernel will happily treat 0x0 as 0xffffffff, but it is for backwards compatibility only, so let's not perpetuate this. | |||
2014-02-13 | rtnl: support adding VETH_INFO_PEER containers into rtnl messages | Lennart Poettering | |
2014-02-13 | rtnl: rename constructors from the form sd_rtnl_xxx_yyy_new() to ↵ | Lennart Poettering | |
sd_rtnl_xxx_new_yyy() So far we followed the rule to always indicate the "flavour" of constructors after the "_new_" or "_open_" in the function name, so let's keep things in sync here for rtnl and do the same. | |||
2014-02-13 | rtnl: drop "sd_" prefix from cleanup macros | Lennart Poettering | |
The "sd_" prefix is supposed to be used on exported symbols only, and not in the middle of names. Let's drop it from the cleanup macros hence, to make things simpler. The bus cleanup macros don't carry the "sd_" either, so this brings the APIs a bit nearer. | |||
2014-02-10 | sd-bus: export sd_bus_call{,_async,_async_cancel} | David Herrmann | |
The .sym file somehow lacks these declarations, so add these. You have to run "make clean" to make sure the sym-test runs fine afterwards. | |||
2014-02-10 | sd-rtnl: added support for a few more attributes | Susant Sahani | |
2014-02-10 | sd-rtnl: test - improve test of MTU a bit | Tom Gundersen | |
We are more likely to catch errors if we don't use '0' as test value. | |||
2014-02-10 | sd-rtnl: add test cases for link | Susant Sahani | |
2014-02-05 | bus: properly unset default bus pointer when destroying last reference | Lennart Poettering | |
2014-02-05 | Added attribute support for sd-rtnl | Susant Sahani | |
Added sd_rtnl_message_append_u8 and few attribute support in sd_rtnl_message_append_u32 IFLA_GROUP, IFLA_TXQLEN, IFLA_NUM_TX_QUEUES, IFLA_NUM_RX_QUEUES | |||
2014-02-03 | bus: when closing the bus don't end up in a recursive destruction deadlock | Lennart Poettering | |
2014-02-01 | bus: update kdbus.h (ABI break) | Kay Sievers | |
2014-01-31 | use memzero(foo, length); for all memset(foo, 0, length); calls | Greg KH | |
In trying to track down a stupid linker bug, I noticed a bunch of memset() calls that should be using memzero() to make it more "obvious" that the options are correct (i.e. 0 is not the length, but the data to set). So fix up all current calls to memset(foo, 0, length) to memzero(foo, length). | |||
2014-01-30 | sd-rtnl: beef up rtnl-util a bit | Tom Gundersen | |
2014-01-28 | bus: update kdbus.h (ABI break) | Kay Sievers | |
2014-01-28 | bus: update bloom filter description a bit | Lennart Poettering | |
2014-01-28 | bus: rework bloom filter logic to operate with variable bloom filter | Lennart Poettering | |
sizes and numbers of hash functions In order to make the bloom filter logic more future proof communicate bloom filter parameters from the original bus creator to the clients, and allow them to be variable within certain ranges. | |||
2014-01-27 | bus: add API calls for connecting to starter bus | Lennart Poettering | |
Add new calls sd_bus_open() and sd_bus_default() for connecting to the starter bus a service was invoked for, or -- if the process is not a bus-activated service -- the appropriate bus for the scope the process has been started in. | |||
2014-01-27 | resolve: update sd-resolve to match the other APIs in style and functionality | Lennart Poettering | |
2014-01-27 | bus: when we cannot bus activate a service because we go down, drop one | Lennart Poettering | |
message from the queue | |||
2014-01-25 | build-sys: update .pc.in files | Zbigniew Jędrzejewski-Szmek | |
2014-01-25 | build-sys: merge libsystemd-id128 into libsystemd | Zbigniew Jędrzejewski-Szmek | |
2014-01-25 | build-sys: merge libsystemd-login into libsystemd | Zbigniew Jędrzejewski-Szmek | |
A compatibility libsystemd-login library is created which uses .symver and ifunc magic proposed by Lennart to make programs linked to the old library name continue to work seamlessly. Unfortunately the bfd linker crashes: https://sourceware.org/bugzilla/show_bug.cgi?id=16467 This will be fixed in binutils 2.25. As a work-around, gold can be used: LDFLAGS=-Wl,-fuse-ld=gold Unfortunately the switch to pick the linker appeared in gcc 4.8. This also doesn't work with LLVM: http://llvm.org/bugs/show_bug.cgi?id=11897 | |||
2014-01-25 | sd-rtnl: extend tests a bit | Tom Gundersen | |
2014-01-24 | sd-rtnl: add support for reading containers | Tom Gundersen | |
Also insist on messages being sealed before reading them. In other words we don't allow interleaving of reading and appending to messages. | |||
2014-01-24 | bus: bump memfd vs. copy limit to 512k to reflect recent benchmarks | Kay Sievers | |
2014-01-24 | sd-rtnl: add support for nested containers | Tom Gundersen | |
2014-01-24 | bus: update kdbus.h (ABI break) | Kay Sievers | |
2014-01-24 | bus: update kdbus.h (ABI break) | Kay Sievers | |
2014-01-22 | bus: change API to expose "inverted" no_reply and no_auto_start message ↵ | Lennart Poettering | |
flags non-inverted | |||
2014-01-22 | bus: add sd_bus_process_priority() to support prioq mode of kdbus | Lennart Poettering | |
2014-01-22 | bus: expose priority field of messages, in preparation for prioq support | Lennart Poettering | |
2014-01-22 | busctl: include connection name in busctl output | Lennart Poettering | |
2014-01-22 | bus: unescape connection name when reading it from credentials | Lennart Poettering | |
2014-01-22 | sd-rtnl: simplify sd_rtnl_message_addr_new() | Tom Gundersen | |
Split out into sd_rtnl_message_addr_set_{prefixlen,flags,scope}(). | |||
2014-01-22 | sd-rtnl: add sd_rtnl_message_append_u16() | Tom Gundersen | |
2014-01-22 | sd-rtnl: link - allow setting the change mask | Tom Gundersen | |