Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-23 | bus: fix sender match creation on kdbus | Lennart Poettering | |
2013-12-23 | sd-event: make sd_event_add_signal() fail with EBUSY if signal is not blocked | Lennart Poettering | |
2013-12-23 | core: when we close the notify fd, we also need to free its event source | Lennart Poettering | |
2013-12-23 | sd-event: fix return code of sd_event_run() | Lennart Poettering | |
2013-12-23 | machinectl: fix success check when getting pty from within container | Lennart Poettering | |
2013-12-23 | bus-proxyd: init cleanup variable | Kay Sievers | |
2013-12-23 | bus: update kdbus.h | Kay Sievers | |
2013-12-23 | bus: when getting a kdbus connection into a container wait first for child, ↵ | Lennart Poettering | |
then read message There's no EOF generated for AF_UNIX/SOCK_DGRAM sockets, hence let's wait for the child first to see if it succeeded, only then read the socket. | |||
2013-12-23 | bus: when we are connected to a bus, then do not assume peer creds are ↵ | Lennart Poettering | |
useful as message creds | |||
2013-12-23 | util: when we try to read /proc/cmdline in a container, read /proc/1/cmdline ↵ | Lennart Poettering | |
instead | |||
2013-12-23 | log: als turn on debug logging in non-PID1 if /proc/cmdline contains "debug" | Lennart Poettering | |
2013-12-23 | bus: make sure sd_bus_emit_properties_changed_strv() doesn't return ENOENT ↵ | Lennart Poettering | |
if no properties with a change flag are in the interface | |||
2013-12-23 | bus: write debug message when we get a method call we cannot handle | Lennart Poettering | |
2013-12-22 | delta: if prefix is specified, only show overrides there | Zbigniew Jędrzejewski-Szmek | |
systemd-delta /run/systemd/system will show all unit overrides in /run, etc. | |||
2013-12-22 | delta: fix delta for drop-ins | Zbigniew Jędrzejewski-Szmek | |
Also, fix highlighting, add more debug statements, make const tables static and global, run path_kill_slashes only at entry. | |||
2013-12-23 | bus: make sure to request peer cred only after connect(), not before | Lennart Poettering | |
2013-12-23 | bus: always talk to the full dbus driver object | Lennart Poettering | |
2013-12-23 | bus-proxyd: synthesize NameAcquire/NameLost signals for socket clients | Lennart Poettering | |
2013-12-23 | bus: use memcpy() rather than unbounded strcpy() | Lennart Poettering | |
2013-12-23 | bus: switch kdbus bloom filter over to SipHash (from MurmurHash3) | Lennart Poettering | |
Let's try to standardize on a single non-cryptographic hash algorithm, and for that SipHash appears to be the best answer. With this change there are two other hash functions left in systemd: an older version of MurmurHash embedded into libudev for the bloom filters in udev messages (which is hard to update, given that the we probably should stay compatible with older versions of the library). And lookup3 in the journal files (which we could replace for new files, but which is probably not worth the work). | |||
2013-12-23 | libudev: ship the original MurmurHash2.[ch] file | Kay Sievers | |
2013-12-22 | loginctl: fix output of type with class | Mantas Mikulėnas | |
2013-12-22 | Fix extraction of _SYSTEMD_USER_UNIT | Zbigniew Jędrzejewski-Szmek | |
Units from user services underneath user@.service would not be detected properly. | |||
2013-12-22 | systemctl: also color filenames of drop-ins in cat | Zbigniew Jędrzejewski-Szmek | |
2013-12-22 | sd-daemon: introduce sd_watchdog_enabled() for parsing $WATCHDOG_USEC | Lennart Poettering | |
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. | |||
2013-12-22 | journal: when we shall go down do so cleanly | Lennart Poettering | |
2013-12-22 | shared: switch our hash table implementation over to SipHash | Lennart Poettering | |
SipHash appears to be the new gold standard for hashing smaller strings for hashtables these days, so let's make use of it. | |||
2013-12-22 | bus: also take write queue into consideration in sd_bus_try_close() | Lennart Poettering | |
2013-12-22 | core: the cgroup properties are not actually const | Lennart Poettering | |
2013-12-22 | Revert "bus-proxyd: use a loop instead of c&p" | Kay Sievers | |
This reverts commit 9818fa6d6d32d87a3e1b96934a54523ea6b02879. The proxy does not work anymore with this patch. | |||
2013-12-22 | libsystemd-dhcp: add some asserts | Tom Gundersen | |
2013-12-22 | libsystemd-dhcp: Handle T2 Rebinding timeout | Patrik Flykt | |
Reuse existing functionality when adding T2 Rebinding support. | |||
2013-12-22 | libsystemd-dhcp: Factor out common code initializing events | Patrik Flykt | |
Factor out common code from timeout T1 handling and starting of the DHCP client. | |||
2013-12-22 | libsystemd-dhcp: Handle T1 Renewing timeout | Patrik Flykt | |
Expiration of T1 timeout takes the client to the Rebinding state, where it attempts to renew its lease. Start by opening a DCHP unicast socket as there now is a proper IP address set. Compute the resend timer as half of the remaining time down to a minimum of 60 seconds (RFC2131). Modify DHCP Request sending to send only UDP DHCP data when unicasting. Also modify DHCP Ack/Nak receiving such that the client_receive_ack() takes care of using either the full IP, UDP, DHCP packet or only the DHCP payload depending whether the client is in Requesting or Renewing state. Finally always report DHCP_EVENT_IP_ACQUIRE from Requesting state and only DHCP_EVENT_IP_CHANGE if the IP address was modified when the lease was renewed. | |||
2013-12-22 | libsystemd-dhcp: Add functions for sending unicast UDP messages | Patrik Flykt | |
Create a helper functions setting up an unicast DHCP UDP socket and sending data. Add function stubs for the test program. [tomegun: initialize structs when allocating, and drop unneccesary 'err'] | |||
2013-12-22 | libsystemd-dhcp: Check test result without casting value | Patrik Flykt | |
2013-12-22 | libsystemd-dhcp: Fix checksum computation for buffer with odd size | Patrik Flykt | |
Fix off-by-one error and notice that summing may need more than one round for the result to be in the lower 16 bits. | |||
2013-12-22 | libsystemd-dhcp: Fix receiving of other message when expecting Ack | Patrik Flykt | |
When a DHCP Nak is received, return a DHCP_EVENT_NO_LEASE event. If some other DHCP message is received or an error happens when parsing options, return -ENOMSG in order to ignore the packet. There may be more than one server serving the same subnet, each server will send its Offer to the client. | |||
2013-12-22 | libsystemd-dhcp: Unref event source before closing socket | Patrik Flykt | |
2013-12-22 | libsystemd-dhcp: Return proper error on OOM | Patrik Flykt | |
2013-12-22 | libsystemd-dhcp: Return proper error if bind fails | Patrik Flykt | |
This also fixes a minor indentation damage. [tomegun: use close_noint_nofail() instead and drop 'err' variables] | |||
2013-12-22 | libsystemd-dhcp: Use be32_t for IP addresses in network order. | Patrik Flykt | |
2013-12-21 | logind: remove dead variable | Zbigniew Jędrzejewski-Szmek | |
Noticed-by: Jan Alexander Steffens <jan.steffens@gmail.com> | |||
2013-12-21 | fstab-generator: Do not try to fsck non-devices | Thomas Bächler | |
This fixes a regression introduced in 64e70e4 where the mount fails when fstab is misconfigured with fs_passno > 0 on a virtual file system like nfs, and the type is specified as "auto". | |||
2013-12-21 | libsystemd-login: add sd_session_get_remote_{host, user} | Mantas Mikulėnas | |
2013-12-22 | core: no need to list properties for PropertiesChanged messages anymore | Lennart Poettering | |
Since the vtable includes this information anyway, let's just use that | |||
2013-12-22 | bus: allow invocation of sd_bus_emit_properties_changed_strv() with NULL list | Lennart Poettering | |
When NULL is passed this shall indicate that a PropertiesChanged message for all properties marked as EMITS_CHANGE or EMITS_INVALIDATION should be generated. | |||
2013-12-22 | bus: decorate the various object vtables with SD_BUS_VTABLE_PROPERTY_CONST ↵ | Lennart Poettering | |
where appropriate | |||
2013-12-22 | bus: introduce concept of "const" properties | Lennart Poettering | |
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. | |||
2013-12-21 | util: remove union dirent_storage | Florian Weimer | |