summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-12-22libsystemd-dhcp: Return proper error if bind failsPatrik Flykt
This also fixes a minor indentation damage. [tomegun: use close_noint_nofail() instead and drop 'err' variables]
2013-12-22libsystemd-dhcp: Use be32_t for IP addresses in network order.Patrik Flykt
2013-12-21logind: remove dead variableZbigniew Jędrzejewski-Szmek
Noticed-by: Jan Alexander Steffens <jan.steffens@gmail.com>
2013-12-21fstab-generator: Do not try to fsck non-devicesThomas 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-21libsystemd-login: add sd_session_get_remote_{host, user}Mantas Mikulėnas
2013-12-22core: no need to list properties for PropertiesChanged messages anymoreLennart Poettering
Since the vtable includes this information anyway, let's just use that
2013-12-22bus: allow invocation of sd_bus_emit_properties_changed_strv() with NULL listLennart 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-22bus: decorate the various object vtables with SD_BUS_VTABLE_PROPERTY_CONST ↵Lennart Poettering
where appropriate
2013-12-22bus: introduce concept of "const" propertiesLennart 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-21util: remove union dirent_storageFlorian Weimer
2013-12-21journal: replace readdir_r with readdirFlorian Weimer
This commit also adds error handling for failures during directory reading.
2013-12-21conf-files: replace readdir_r with readdirFlorian Weimer
2013-12-21journald/server: replace readdir_r with readdirFlorian Weimer
The available_space function now returns 0 if reading the directory fails. Previously, such errors were silently ignored.
2013-12-21journal/vacuum: replace readdir_r with readdirFlorian Weimer
2013-12-21util: replace readdir_r with readdirFlorian Weimer
This fixes rm_rf_children_dangerous to detect errors during directory reading. Previously, it could dereference an uninitialized pointer.
2013-12-21install: replace readdir_r with readdirFlorian Weimer
The old code incorrectly assumed that readdir_r updates errno.
2013-12-21core: replace readdir_r with readdirFlorian Weimer
2013-12-21login: replace readdir_r with readdirFlorian Weimer
2013-12-21delta: replace readdir_r with readdirFlorian Weimer
2013-12-21tmpfiles: replace readdir_r with readdirFlorian Weimer
2013-12-21loginctl: correctly show session IDs on session-statusDjalal 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-21loginctl,shell-completions: fix listing of sessions/users/seatsZbigniew Jędrzejewski-Szmek
2013-12-21man: add systemd-dbus-proxy@.service(8) and systemd-dbus.proxy(8)Zbigniew Jędrzejewski-Szmek
2013-12-21bus-proxyd: use a loop instead of c&pZbigniew Jędrzejewski-Szmek
2013-12-21bus-proxyd: show address nicely in --helpZbigniew Jędrzejewski-Szmek
2013-12-21bus: fix bad memory access in driverd when we get an empty triggers listLennart Poettering
2013-12-21bus: when getting credentials of a bus name that is activatable but not ↵Lennart Poettering
activated, say we don't have anything.
2013-12-21driverd: properly handle NameHasOwner() for unique namesLennart Poettering
2013-12-21bus: unify credential query code in driverdLennart Poettering
2013-12-21bus: 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-21driverd: make sure AddMatch is accessible without privilegesLennart Poettering
2013-12-21bus: 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-21bus: poll() on the right fds in proxydLennart Poettering
2013-12-21bus: send status message from proxyd to systemd about client we are working forLennart Poettering
2013-12-21systemctl: fix bad memory access when processing PIDs on the "systemctl ↵Lennart Poettering
status" command line
2013-12-20DEFAULT_PATH_SPLIT_USR macroShawn Landden
2013-12-20logging: reduce send timeout to something more sensibleZbigniew 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-21driverd: sort list of names returned by ListNamesLennart Poettering
2013-12-21bus: properly react to Disconnected messages in bus-proxydLennart Poettering
2013-12-21bus: change bus-proxyd command line parsing to be more similar to other toolsLennart Poettering
2013-12-21bus: refuse messages pretending to originate from local interfaceLennart Poettering
2013-12-21bus: in sd_bus_try_close() consider local read queue tooLennart Poettering
2013-12-21bus: always override message destination field with data from kdbusLennart Poettering
2013-12-21bus: always consider well-known names sender credentials as attached to messagesLennart Poettering
2013-12-21bus: when filtering by sender take well known names lest from attached creds ↵Lennart Poettering
into account
2013-12-21core: make check for Disconnected message more preciseLennart Poettering
2013-12-21bus: when watching bus names, we always need to add a change matchLennart Poettering
Since for the kernel change of ownership of a name between starter and real client is a change and for userspace thats addition/removal, we need to unconditionally subscribe to these change events.
2013-12-21core: pass notify fd across reexecsLennart Poettering
That way we the random socket name stays stable across reexec and we won't lose client messages.
2013-12-20bus: wrap KDBUS_CMD_BYEBYE with a high-level call sd_bus_try_close()Lennart Poettering
2013-12-20libsystemd-bus: match on any connection ID unless specifiedDaniel Mack