Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2013-12-21 | journal: replace readdir_r with readdir | Florian Weimer | |
This commit also adds error handling for failures during directory reading. | |||
2013-12-21 | conf-files: replace readdir_r with readdir | Florian Weimer | |
2013-12-21 | journald/server: replace readdir_r with readdir | Florian Weimer | |
The available_space function now returns 0 if reading the directory fails. Previously, such errors were silently ignored. | |||
2013-12-21 | journal/vacuum: replace readdir_r with readdir | Florian Weimer | |
2013-12-21 | util: replace readdir_r with readdir | Florian Weimer | |
This fixes rm_rf_children_dangerous to detect errors during directory reading. Previously, it could dereference an uninitialized pointer. | |||
2013-12-21 | install: replace readdir_r with readdir | Florian Weimer | |
The old code incorrectly assumed that readdir_r updates errno. | |||
2013-12-21 | core: replace readdir_r with readdir | Florian Weimer | |
2013-12-21 | login: replace readdir_r with readdir | Florian Weimer | |
2013-12-21 | delta: replace readdir_r with readdir | Florian Weimer | |
2013-12-21 | tmpfiles: replace readdir_r with readdir | Florian Weimer | |
2013-12-21 | loginctl: correctly show session IDs on session-status | Djalal Harouni | |
Commit f8f14b3654bcd introduced a regression that makes loginctl session-status to not show the correct session ID(s) In print_session_status_info() the map[] array, element "Seat" receives the offset of the "id" in "SessionStatusInfo" struct instead of the offset of the "seat" member. This will cause prop_map_first_of_struct() function to overwrite the SessionStatusInfo.id memory with seats if there are any. Fix this typo by using the "seat" member. Before: - tixxdz (1000) Since: Sat 2013-12-21 10:07:23 CET; 5h 26min ago Leader: 1265 (sshd) After: 1 - tixxdz (1000) Since: Sat 2013-12-21 10:07:23 CET; 5h 26min ago Leader: 1265 (sshd) | |||
2013-12-21 | loginctl,shell-completions: fix listing of sessions/users/seats | Zbigniew Jędrzejewski-Szmek | |
2013-12-21 | man: add systemd-dbus-proxy@.service(8) and systemd-dbus.proxy(8) | Zbigniew Jędrzejewski-Szmek | |
2013-12-21 | bus-proxyd: use a loop instead of c&p | Zbigniew Jędrzejewski-Szmek | |
2013-12-21 | bus-proxyd: show address nicely in --help | Zbigniew Jędrzejewski-Szmek | |
2013-12-21 | bus: fix bad memory access in driverd when we get an empty triggers list | Lennart Poettering | |
2013-12-21 | bus: when getting credentials of a bus name that is activatable but not ↵ | Lennart Poettering | |
activated, say we don't have anything. | |||
2013-12-21 | driverd: properly handle NameHasOwner() for unique names | Lennart Poettering | |
2013-12-21 | bus: unify credential query code in driverd | Lennart Poettering | |
2013-12-21 | bus: when client asks driverd for credentials of a name, return a useful ↵ | Lennart Poettering | |
error if that name doesn't exist on the bus | |||
2013-12-21 | driverd: make sure AddMatch is accessible without privileges | Lennart Poettering | |
2013-12-21 | bus: when introspecting, turn unprivileged flag into inverse annoation of ↵ | Lennart Poettering | |
"privileged" Internally, it makes sense to have a default of "privileged" for methods, and a flag to open it up. However, externally in the bus introspection turn this around since negative options actually suck. | |||
2013-12-21 | bus: poll() on the right fds in proxyd | Lennart Poettering | |
2013-12-21 | bus: send status message from proxyd to systemd about client we are working for | Lennart Poettering | |
2013-12-21 | systemctl: fix bad memory access when processing PIDs on the "systemctl ↵ | Lennart Poettering | |
status" command line | |||
2013-12-20 | DEFAULT_PATH_SPLIT_USR macro | Shawn Landden | |
2013-12-20 | logging: reduce send timeout to something more sensible | Zbigniew Jędrzejewski-Szmek | |
For a user, the timeout of 1 min per message seems equivalent to a hang. If journald cannot process a message from PID1 for 10 ms then something is significantly wrong. It's better to lose the message and continue. | |||
2013-12-21 | driverd: sort list of names returned by ListNames | Lennart Poettering | |
2013-12-21 | bus: properly react to Disconnected messages in bus-proxyd | Lennart Poettering | |
2013-12-21 | bus: change bus-proxyd command line parsing to be more similar to other tools | Lennart Poettering | |
2013-12-21 | bus: refuse messages pretending to originate from local interface | Lennart Poettering | |
2013-12-21 | bus: in sd_bus_try_close() consider local read queue too | Lennart Poettering | |
2013-12-21 | bus: always override message destination field with data from kdbus | Lennart Poettering | |
2013-12-21 | bus: always consider well-known names sender credentials as attached to messages | Lennart Poettering | |