Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-03 | ci: Clean up build manifests | Kenny Levinsen | |
2020-10-19 | Bump version to 0.4.0 | Kenny Levinsen | |
2020-10-16 | readme: Update mailing list link | Kenny Levinsen | |
2020-10-12 | connection: Add unittest | Kenny Levinsen | |
2020-10-11 | libseat: Better error reporting from open_seat | Kenny Levinsen | |
2020-10-11 | logind: clang-format | Kenny Levinsen | |
2020-10-10 | logind: Use seat_path for SwitchTo | Kenny Levinsen | |
2020-09-28 | logind: close_device should not close fd | Kenny Levinsen | |
2020-09-22 | seat: Only close VT if no new session was found | Kenny Levinsen | |
2020-09-22 | terminal: Ack both release and acquire | Kenny Levinsen | |
Linux only requires acking release and ignores ack of acquire, but FreeBSD is more stringent and will patiently wait for both to be acked. Implement proper acking for both events. | |||
2020-09-22 | seat: Use current VT for switch and ack | Kenny Levinsen | |
2020-09-22 | terminal: Fix VT numbering on FreeBSD | Kenny Levinsen | |
FreeBSD adds one to the VT number returned by the GET_ACTIVE ioctl, so to match things up, the wrapper here subtracted by one. This lead to ttyv0 being named VT 0. This had the side-effect of VT numbering not matching expectations, and switching not behaving as intended. Align numbers with expectations, and move the required subtraction to terminal_open, so that VT 1 matches ttyv0. | |||
2020-09-22 | libseat/seatd: Fix socket path bounds | Kenny Levinsen | |
2020-09-22 | meson: Make default seatd socket path configurable | Kenny Levinsen | |
FreeBSD and Linux have different preferred socket locations. Expose an option to set the location, and implement simple auto-logic for linux/freebsd. | |||
2020-09-22 | drm: Relax drm file detection, support FreeBSD | Kenny Levinsen | |
Path check was done on /dev/dri/card and /dev/dri/renderD. However, /dev/dri/by-path is a thing, and on FreeBSD, /dev/dri/ symlinks to /dev/drm/. Relax Linux check to /dev/dri/, and add FreeBSD check for /dev/drm/. | |||
2020-09-22 | poller: Add unittest | Kenny Levinsen | |
2020-09-22 | libseat: Execute bg events after IPC calls | Kenny Levinsen | |
If a background event was queued during call dispatch, and no unread data was left on the socket, there would be no incentive for the user to call dispatch, and as a result, the events would never be executed. Execute events at the end of IPC calls that read from the socket to avoid stalls. | |||
2020-09-22 | libseat: Dispatch all non-bg events on IPC call | Kenny Levinsen | |
Dispatch on IPC call only dispatched until the first message was successfully processed. This could lead to premature dispatch termination if a background event was received during an IPC call. Instead, continue dispatching until a non-bg opcode is reported or an error is received. | |||
2020-09-22 | seatd: Log on exit | Kenny Levinsen | |
2020-09-22 | seat: Reuse deactivate logic, more logging | Kenny Levinsen | |
2020-09-22 | seat: Plug leak of deactivated fds | Kenny Levinsen | |
Only if a device had an fd and was active would an fd be closed. As devices are deactivated early on session switch, this lead to fd leakage. Close fds regardless of active state. | |||
2020-09-22 | seat: Rework seat activation/switch logic | Kenny Levinsen | |
The seat activation logic did not correctly handle VT switching and switching between multiple sessions. Session switching on VT-bound seats is now performed using a VT switch, taking advantage of VT signals to perform the actual switch. This simplifies switching logic and makes it more robust. | |||
2020-09-22 | client: Remove unnecessary active_client check | Kenny Levinsen | |
2020-09-22 | poller: Raise signals through self-pipe | Kenny Levinsen | |
Signal handling relied on poll(2) being interrupted by signals, followed by a check for signal handlers flagging a signal as received. This only allowed signals that were received during poll(2) to be handled correctly. Implement the usual self-pipe implementation, where signal handlers write an arbitrary byte to a polled file descriptor to ensure proper level-triggered signal handling. | |||
2020-09-08 | Bump version to 0.3.0 | Kenny Levinsen | |
2020-09-08 | libseat: Version the .so file | Kenny Levinsen | |
2020-09-07 | man: Mention assistance from other contributors | Kenny Levinsen | |
2020-09-07 | libseat: Handle SERVER_ERROR correctly | Kenny Levinsen | |
The connection buffer position was erroneously rewinded before reading the protocol message when the message was a SERVER_ERROR. | |||
2020-09-01 | meson: fix manpage generation for cross builds | Isaac Freund | |
We want to use the scdoc of the host system not the target system, so pass the `native: true` parameter to meson. | |||
2020-09-01 | client: Only unlink if on the idle list | Kenny Levinsen | |
2020-09-01 | ci: ASan smoketest on FreeBSD | Kenny Levinsen | |
2020-09-01 | ci: ASan all build steps on arch | Kenny Levinsen | |
2020-09-01 | Move list removal to seat/client destroy | Kenny Levinsen | |
2020-08-31 | client: Do not leak idle clients on exit | Kenny Levinsen | |
2020-08-31 | poller: Remember to remove sources from list | Kenny Levinsen | |
2020-08-31 | server: Remember to remove seat from list | Kenny Levinsen | |
2020-08-31 | test: Add test_run and test_assert macros | Kenny Levinsen | |
test_run and test_assert replaces regular assert with better logging which include the currently running test name. The tests can now also be built without DEBUG. | |||
2020-08-31 | Remove unused list implementation | Kenny Levinsen | |
2020-08-31 | poller: Convert to linked_list | Kenny Levinsen | |
2020-08-31 | linked_list: linked_list_take should concat lists | Kenny Levinsen | |
2020-08-31 | server: Convert seat list to linked_list | Kenny Levinsen | |
2020-08-31 | poller: Make event sources opaque | Kenny Levinsen | |
2020-08-30 | seatd: Explicit cast -1 to unsigned gid_t | Kenny Levinsen | |
Silences a warning on some architectures. | |||
2020-08-30 | seatd: Slight error handling cleanup | Kenny Levinsen | |
2020-08-30 | seatd: Remove unused device_closed msg body | Kenny Levinsen | |
2020-08-30 | linked_list: Implement linked_list_take | Kenny Levinsen | |
2020-08-29 | seat: Destroy all clients on teardown | Kenny Levinsen | |
2020-08-29 | protocol: Add note to remove device_closed msg | Kenny Levinsen | |
The content of this message is unused, so it should be converted to a content-less message. | |||
2020-08-29 | libseat: Check euid before using builtin | Kenny Levinsen | |
2020-08-29 | libseat: Remove pointless check | Kenny Levinsen | |