summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2013-12-20libsystemd-bus: follow changes in kdbusDaniel Mack
In particular, the match interface has seen a major overhaul.
2013-12-19def: lower exit-on-idle timeLennart Poettering
2013-12-19sd-event: return 1 in sd_event_run() when we hit EINTRLennart Poettering
That way we can distuingish timeouts from EINTR
2013-12-19service: don't send out PropertiesChanged message for each watchdog notificationLennart Poettering
2013-12-19machined: implement exit-on-idleLennart Poettering
2013-12-19bus: fix exit-on-idle for driverdLennart Poettering
2013-12-19bus: reenable id change subscriptionsLennart Poettering
2013-12-19remove unused variableThomas Hindoe Paaboel Andersen
2013-12-19rtnl: correctly get the size of data to be appendedTom Gundersen
This fixes: systemd[1]: Failed to configure loopback device: Numerical result out of range
2013-12-19loopback-setup: correctly set flags and scope for ipv6 addressTom Gundersen
2013-12-19bus: do not add empty strings, size should be 0Kay Sievers
2013-12-18systemct: add empty line between units in catZbigniew Jędrzejewski-Szmek
2013-12-18loginctl: improve print_{session|user|seat}_status_info() functionsDjalal Harouni
1) Instead of checking if we need to print a new line on each iteration, pass the "new_line" as a pointer to those functions, so they can use it to check if a new line is needed. This makes the code more consistent as it is done in other places: machinectl, systemctl... 2) Move the error messages from show_{session|user|seat}() to their appropriate print_{session|user|seat}_status_info() functions, this will prevent from logging an error message twice in case show_properties() fails and it will improve code readability. 3) Also do not ignore error codes on these functions.
2013-12-18loginctl: use show_properties() to get login1 propertiesDjalal Harouni
Commit f8f14b3654bcd introduced a regression that makes loginctl ignore the "--property" option. This patch fixes the bug, it uses a new show_properties() function to query and filter properties.