summaryrefslogtreecommitdiff
path: root/src/systemd
Commit message (Collapse)AuthorAge
* sd-dhcp-client: split sd_dhcp_lease from sd_dhcp_clientTom Gundersen2014-02-07
| | | | | | | | This allows us users of the library to keep copies of old leases. This is used by networkd to know what addresses to drop (if any) when the lease expires. In the future this may be used by DNAv4 and sd-dhcp-server.
* Added attribute support for sd-rtnlSusant Sahani2014-02-05
| | | | | | 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
* sd-dhcp-client/net-util: make netmask_to_prefixlen genericTom Gundersen2014-01-30
| | | | | This was originally included in the dhcp-client at my request, but it is not really dhcp-specific and useful outside of it, so let's pull it out.
* bus: reorder a few thingsLennart Poettering2014-01-28
|
* bus: rework bloom filter logic to operate with variable bloom filterLennart Poettering2014-01-28
| | | | | | | | 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.
* bus: add API calls for connecting to starter busLennart Poettering2014-01-27
| | | | | | | 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.
* resolve: update sd-resolve to match the other APIs in style and functionalityLennart Poettering2014-01-27
|
* sd-rtnl: add support for reading containersTom Gundersen2014-01-24
| | | | | Also insist on messages being sealed before reading them. In other words we don't allow interleaving of reading and appending to messages.
* bus: change API to expose "inverted" no_reply and no_auto_start message ↵Lennart Poettering2014-01-22
| | | | flags non-inverted
* bus: add sd_bus_process_priority() to support prioq mode of kdbusLennart Poettering2014-01-22
|
* bus: expose priority field of messages, in preparation for prioq supportLennart Poettering2014-01-22
|
* sd-rtnl: simplify sd_rtnl_message_addr_new()Tom Gundersen2014-01-22
| | | | Split out into sd_rtnl_message_addr_set_{prefixlen,flags,scope}().
* sd-rtnl: add sd_rtnl_message_append_u16()Tom Gundersen2014-01-22
|
* sd-rtnl: link - allow setting the change maskTom Gundersen2014-01-22
|
* bus: include connection name in credentials structureLennart Poettering2014-01-22
|
* bus: add support for attaching name to bus connections for debugging purposesLennart Poettering2014-01-22
|
* bus: extend memfd api so that we can label memfds for debugging purposesLennart Poettering2014-01-22
|
* bus: rename sd_bus_get_realtime_timestamp() to sd_bus_get_realtime_usec()Lennart Poettering2014-01-22
| | | | | | This brings the calls into similar style as the respective functions in libsystemd-journal, and also is a bi shorter and more descriptive since it clarifies the time unit used.
* bus: simplify naming of feature negotation callsLennart Poettering2014-01-22
| | | | Two verbs in a function name suck, so let's simplify this a bit.
* bus: add API for querying the kdbus message sequence numberLennart Poettering2014-01-22
|
* sd-dhcp-client: refactor client_{free,new}Tom Gundersen2014-01-18
| | | | | | Make them more simiar to sd_bus and friends. Also factor out the event attachment. In the future, we will likely want to support external main-loops, so this is a first step. For the time being, we are still requiring an sd_event to be attached though.
* sd-resolve: rename get_next() and get_n_queries() + cleanupDaniel Buch2014-01-18
|
* sd-dhcp-client/networkd: add domainname supportTom Gundersen2014-01-18
|
* sd-resolve: get rid of _t post-fixes for sd_ objectsDaniel Buch2014-01-17
| | | | We dont want _t prefixes, right?
* sd-dhcp-client: refactor DNS supportTom Gundersen2014-01-16
| | | | Rather than keeping an array of pointers to addresses, just keep an array of addresses.
* sd-dhcp-client/networkd: add transient hostname supportTom Gundersen2014-01-16
|
* sd-dhcp-client/networkd: add interface MTU supportTom Gundersen2014-01-16
|
* event: extend priority raneg to 64bitLennart Poettering2014-01-15
| | | | | | | The kdbus prioq logic will use 64bit prios too, so let's keep this similar in style. Using 64bit here has the advantage, that pointers and pretty much anything else can be mapped naturally to priorities if so desired.
* sd-resolv: rename to sd-resolveTom Gundersen2014-01-14
| | | | | Lennart pointed out that we were misspelling 'resolve'. Let's not repeat the mistakes of 'umount' and 'resolv.conf'.
* sd-resolv: rename old asyncns variablesDaniel Buch2014-01-14
|
* sd_resolv: Rename structs- and function names to sd_resolvDaniel Buch2014-01-14
|
* libsystemd-dns: merge into libsystemdTom Gundersen2014-01-13
| | | | Also rename sd-dns -> sd-resolv.
* sd-dns: cleanup public headerTom Gundersen2014-01-11
| | | | | | Don't include internal headers Update license text Use _SD_BEGIN/END_DECLARATIONS
* sd-dns: initial commitDaniel Buch2014-01-11
| | | | | | | Origin: <http://0pointer.de/lennart/projects/libasyncns/> [tomegun: renamed some more files asyncns -> sd-dns and moved to libsystemd-bus as requested by Lennart]
* libsystemd-dns: expose list of DNS serversTom Gundersen2014-01-06
| | | | | My original patch only returned the first DNS server, but we might want all of them.
* libsystemd-dhcp: expose received DNS serverTom Gundersen2014-01-05
|
* man: document some more bus functionsZbigniew Jędrzejewski-Szmek2014-01-05
|
* man: document a batch of bus functionsZbigniew Jędrzejewski-Szmek2014-01-04
|
* bus: correct a number of gcc format string attribute usagesLennart Poettering2013-12-28
|
* journalctl: make sure -b --foobar cannot be misunderstood as --boot=--foobarLennart Poettering2013-12-26
|
* bus: rename message "serial" to "cookie"Lennart Poettering2013-12-25
| | | | | | Even if the lower-leveld dbus1 protocol calls it "serial", let's expose the word "cookie" for this instead, as this is what kdbus uses and since it doesn't imply monotonicity the same way "serial" does.
* sd-daemon: introduce sd_watchdog_enabled() for parsing $WATCHDOG_USECLennart Poettering2013-12-22
| | | | | | | | Also, introduce a new environment variable named $WATCHDOG_PID which cotnains the PID of the process that is supposed to send the keep-alive events. This is similar how $LISTEN_FDS and $LISTEN_PID work together, and protects against confusing processes further down the process tree due to inherited environment.
* shared: switch our hash table implementation over to SipHashLennart Poettering2013-12-22
| | | | | SipHash appears to be the new gold standard for hashing smaller strings for hashtables these days, so let's make use of it.
* libsystemd-login: add sd_session_get_remote_{host, user}Mantas Mikulėnas2013-12-21
|
* bus: introduce concept of "const" propertiesLennart Poettering2013-12-22
| | | | | | | | | | | | This way we have four kinds of properties: a) those which are constant as long as an object exists b) those which can change and PropertiesChange messages with contents are generated c) those which can change and where the PropertesChange merely includes invalidation d) those which can change but for which no events are generated Clients (through code generators run on the introspection XML) can thus aggressively cache a, b, c, with only d excluded.
* bus: wrap KDBUS_CMD_BYEBYE with a high-level call sd_bus_try_close()Lennart Poettering2013-12-20
|
* driverd: implement AddMatch/RemoveMatch logicLennart Poettering2013-12-19
|
* rtnl: replace message_append by typesafe versionsTom Gundersen2013-12-16
|
* rtnl: support interleaved reading and writing, and rewindTom Gundersen2013-12-16
|
* rtnl: simplify route_new()Tom Gundersen2013-12-16
| | | | Drop most of the arguments and instead introduce set_dst_prefixlen().