30 Commits

Author SHA256 Message Date
8a21a60f13 Accepting request 1335908 from X11:Wayland
- Update to version 0.9.3:
  * Bump version to 0.9.3
  * seatd: Fix some typos
  * seatd: Improve error handling for failed seat open
  * seatd: Reuse session numbers for non-VT-bound
  * seatd: Return the correct device on duplicate open
  * libseat: Remove bogus NULL check
  * libseat/logind: Handle strdup allocation errors
  * libseat/logind: Avoid shadowing ret
  * libseat/logind: Do not record PauseDeviceComplete reply
  * seatd: Check the right variable for accept failure
  * libseat/seatd: Retain errno in set_error for convenience
  * libseat/seatd: Ensure errno is not clobbered
  * libseat/seatd: Do not attempt destroy on alloc error
  * logind: Minor error simplification
  * logind: Ensure errno is set from sd_bus error
  * seatd: Explicitly set ENOMEM in seat_open_device
  * seatd: Remove silly goto error handling
  * seatd: Ensure seat_close_device cannot clobber errno
  * seatd: Clarify that seat_close_device cannot fail

OBS-URL: https://build.opensuse.org/request/show/1335908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/seatd?expand=0&rev=13
2026-03-03 14:31:03 +00:00
f0ecc49fa3 - Update to version 0.9.3:
* Bump version to 0.9.3
  * seatd: Fix some typos
  * seatd: Improve error handling for failed seat open
  * seatd: Reuse session numbers for non-VT-bound
  * seatd: Return the correct device on duplicate open
  * libseat: Remove bogus NULL check
  * libseat/logind: Handle strdup allocation errors
  * libseat/logind: Avoid shadowing ret
  * libseat/logind: Do not record PauseDeviceComplete reply
  * seatd: Check the right variable for accept failure
  * libseat/seatd: Retain errno in set_error for convenience
  * libseat/seatd: Ensure errno is not clobbered
  * libseat/seatd: Do not attempt destroy on alloc error
  * logind: Minor error simplification
  * logind: Ensure errno is set from sd_bus error
  * seatd: Explicitly set ENOMEM in seat_open_device
  * seatd: Remove silly goto error handling
  * seatd: Ensure seat_close_device cannot clobber errno
  * seatd: Clarify that seat_close_device cannot fail

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=28
2026-03-02 20:05:40 +00:00
5c3814ca8f Accepting request 1328188 from X11:Wayland
- Update to 0.9.2:
  * libseat/seatd: Remove read_and_execute
  * libseat/seatd: Read remaining events after processing responses
  * libseat/seatd: Cleanup of request error handling
  * libseat/seatd: Set EINVAL if target session is invalid
  * libseat/seatd: Set backend error if poll fails
  * seatd: Add validation of device path libseat/seatd: Add validation of seat_name
  * seatd: Add strict message size comparison

OBS-URL: https://build.opensuse.org/request/show/1328188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/seatd?expand=0&rev=12
2026-01-20 20:03:45 +00:00
afe1259442 - Update to 0.9.2:
* libseat/seatd: Remove read_and_execute
  * libseat/seatd: Read remaining events after processing responses
  * libseat/seatd: Cleanup of request error handling
  * libseat/seatd: Set EINVAL if target session is invalid
  * libseat/seatd: Set backend error if poll fails
  * seatd: Add validation of device path libseat/seatd: Add validation of seat_name
  * seatd: Add strict message size comparison

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=26
2026-01-20 08:16:55 +00:00
21701be6c7 Accepting request 1225723 from X11:Wayland
OBS-URL: https://build.opensuse.org/request/show/1225723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/seatd?expand=0&rev=11
2024-11-22 22:51:42 +00:00
24fced1f11 Accepting request 1219919 from home:llyyr:branches:X11:Wayland
- Update to 0.9.1
  * Fix libseat not servicing seat enable/disable events if they were
    received immediately after a response, leading to the session
    deadlocking in a deactivated state.
  * Fix some protocol strings lacking validation of the NULL
    termination requirement.
- Update to 0.9.0
  * Improve session state tracking in the libseat logind backend, which
    could previously fail to notify the libseat client that the session
    had been deactivated.
  * Do not trigger a VT switch when starting a logind session, allowing
    sessions to be started in the background.
  * Improve error handling in some edgecases in the libseat seatd backend.
  * Apply more aggressive security policies to the included systemd unit.

OBS-URL: https://build.opensuse.org/request/show/1219919
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=24
2024-11-22 06:34:27 +00:00
867bd4b502 Accepting request 1099473 from X11:Wayland
OBS-URL: https://build.opensuse.org/request/show/1099473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/seatd?expand=0&rev=10
2023-07-19 17:11:04 +00:00
2a1d057d46 Accepting request 1099462 from home:llyyr:branches:X11:Wayland
- Update to 0.8.0
  * noop: Return seat0 as the seat name
  * noop: Additional open flags for `open(2)`
  * noop: initialize initial_setup
  * drm: Support drm-subtree drivers on FreeBSD
  * man: document SEATD_VTBOUND
  * man: add missing arg in -n syntax

OBS-URL: https://build.opensuse.org/request/show/1099462
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=22
2023-07-19 10:40:45 +00:00
c3bae9771d Accepting request 1096072 from X11:Wayland
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1096072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/seatd?expand=0&rev=9
2023-06-30 17:59:41 +00:00
746536ca32 - Update to 0.7.0:
* Support for NetBSD and wscons devices
  * Fix for a polling bug in the logind libseat backend
  * Removal of SEATD_SOCK and runtime socket path configuration
  * Removal of SEATD_LOGLEVEL, replaced by a command-line argument

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=20
2023-06-23 05:52:11 +00:00
00e8c80b47 Accepting request 957630 from X11:Wayland
- Update to 0.6.4
  * seatd-launch: Use snprintf for socket path
  * seatd-launch: Remove socket path command line arg
- This updates fixes bsc#1196493 (CVE-2022-25643)

OBS-URL: https://build.opensuse.org/request/show/957630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/seatd?expand=0&rev=8
2022-02-25 20:25:20 +00:00
3c1cf2512e OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=19 2022-02-25 16:21:32 +00:00
eaac811b25 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=18 2022-02-25 16:19:19 +00:00
58d00a8b67 - Update to 0.6.4
* seatd-launch: Use snprintf for socket path
  * seatd-launch: Remove socket path command line arg
- This updates fixes bsc#1196493 (CVE-2022-25643)

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=17
2022-02-25 16:18:56 +00:00
30dd3de53f Accepting request 935932 from X11:Wayland
OBS-URL: https://build.opensuse.org/request/show/935932
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/seatd?expand=0&rev=7
2021-12-06 22:59:50 +00:00
617f77571c Accepting request 935644 from home:fbui:branches:X11:Wayland
- Enable logind support for Leap too
  Leap 15.3 ships systemd v246 which has the relevant API
  (sd_bus_match_signal) needed for enabling logind support. Since
  previous versions of Leap are not supported anymore, let's enable it
  unconditionally.

OBS-URL: https://build.opensuse.org/request/show/935644
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=16
2021-12-06 09:01:26 +00:00
7515ce24e3 Accepting request 926487 from X11:Wayland
- Update to 0.6.3:
  * logind: Set userdata for ping_handler
  * logind: Improve error handling in open_seat
  * examples/simpletest: check for libseat_dispatch failures
  * logind: check if session is active on startup
  * clang-format: Fix alignment
  * logind: Send ping to wake us up later
  * seatd: Implement ping request to wake up later

OBS-URL: https://build.opensuse.org/request/show/926487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/seatd?expand=0&rev=6
2021-10-20 18:24:01 +00:00
6ab7f33e0e OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=15 2021-10-20 08:31:49 +00:00
5f7a40d1be Accepting request 919491 from X11:Wayland
- Update to 0.6.2:
  * seatd-launch: Specify exact environment to seatd
  * seatd-launch: Use absolute path for seatd

- Update to 0.6.1:
  * seatd-launch: print unlink/kill errors
  * seatd-launch: exit with status >128 if child is signalled
  * man/seatd-launch: Make mssage about root clearer
  * seatd-launch: Use optind to find the command
  * seatd-launch: respect PATH when looking for command
  * man: Add seatd-launch(1) to SEE ALSO of seatd(1)

OBS-URL: https://build.opensuse.org/request/show/919491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/seatd?expand=0&rev=5
2021-09-16 21:14:55 +00:00
bc23f97cc6 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=13 2021-09-16 10:05:11 +00:00
cbec394374 Accepting request 918472 from X11:Wayland
- Update to 0.6.0:
  * seatd-launch: Fix chmod error goto
  * man: Add simple seatd-launch(1) page
  * seatd-launch: Set socket permissions directly
  * seat: Allow new clients when active is pending ack
  * Add .editorconfig
  * seat: Avoid holding a tty fd
  * meson.build: fix build with gcc < 7
  * libseat: Fix build of builtin backend
  * libseat: Update builtin backend root requirement documentation
  * Revert "libseat: Check euid before using builtin"
  * logind: Remove redundant null check
  * Make libseat_seat_listener const
  * seatd: Use path in chmod/chown operations
  * seatd: Improve socket permission error handling
  * seatd-launch: Command line argument support
  * seatd-launch: check for getpwuid errors
  * seatd-launch: don't use gotos in child processes
  * seatd-launch: propagate child exit status
  * seatd-launch: Add seatd launch wrapper
  * seatd: Only set UID/GID when specified
  * seatd: s6-style readiness notification support
  * seatd: We shouldn't poll if predispatch > 0
  * libseat: Rename dispatch_background in backends
  * libseat/seatd: Add dispatch_pending_and_execute
  * libseat/seatd: Return executed events
  * link with rt
  * readme: Update discuss section
  * meson: Support building builtin without seatd
  * libseat/seatd: downgrade ENOENT log to info

OBS-URL: https://build.opensuse.org/request/show/918472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/seatd?expand=0&rev=4
2021-09-12 18:09:34 +00:00
3678a05261 - Update to 0.6.0:
* seatd-launch: Fix chmod error goto
  * man: Add simple seatd-launch(1) page
  * seatd-launch: Set socket permissions directly
  * seat: Allow new clients when active is pending ack
  * Add .editorconfig
  * seat: Avoid holding a tty fd
  * meson.build: fix build with gcc < 7
  * libseat: Fix build of builtin backend
  * libseat: Update builtin backend root requirement documentation
  * Revert "libseat: Check euid before using builtin"
  * logind: Remove redundant null check
  * Make libseat_seat_listener const
  * seatd: Use path in chmod/chown operations
  * seatd: Improve socket permission error handling
  * seatd-launch: Command line argument support
  * seatd-launch: check for getpwuid errors
  * seatd-launch: don't use gotos in child processes
  * seatd-launch: propagate child exit status
  * seatd-launch: Add seatd launch wrapper
  * seatd: Only set UID/GID when specified
  * seatd: s6-style readiness notification support
  * seatd: We shouldn't poll if predispatch > 0
  * libseat: Rename dispatch_background in backends
  * libseat/seatd: Add dispatch_pending_and_execute
  * libseat/seatd: Return executed events
  * link with rt
  * readme: Update discuss section
  * meson: Support building builtin without seatd
  * libseat/seatd: downgrade ENOENT log to info

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=9
2021-09-11 20:28:10 +00:00
Richard Brown
d67887c139 Accepting request 881462 from X11:Wayland
OBS-URL: https://build.opensuse.org/request/show/881462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/seatd?expand=0&rev=3
2021-03-28 09:55:18 +00:00
78d12edbd4 Accepting request 881388 from home:stdden:branches:X11:Wayland
- enable logind for the libseat (disabled by default)
  * fixes errors during login, see:
    https://github.com/openSUSE/openSUSEway/issues/37
  * this works with libsystemd >= 237 with new API:
    sd_bus_match_signal

OBS-URL: https://build.opensuse.org/request/show/881388
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=7
2021-03-26 07:39:38 +00:00
Richard Brown
147b0dc6d5 Accepting request 879386 from X11:Wayland
- Update to 0.5.0:
  * libseat: log error when failing to open socket
  * poller: Retry poll immediately on EINTR
  * client: More robust handling of client links
  * logind: switch_session should return 0 on success
  * libseat/backend/logind: stop waiting for CanGraphical
  * client: Do not use SOL_SOCKET for LOCAL_PEERCRED
  * client: Use cr_pid if available
  * logind: Send ReleaseControl when closing seat
  * seatd: Tear down VT when disabled client closes
  * client: Remove link if seat_add_client succeeds

OBS-URL: https://build.opensuse.org/request/show/879386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/seatd?expand=0&rev=2
2021-03-16 14:46:34 +00:00
5de53f68e2 - Update to 0.5.0:
* libseat: log error when failing to open socket
  * poller: Retry poll immediately on EINTR
  * client: More robust handling of client links
  * logind: switch_session should return 0 on success
  * libseat/backend/logind: stop waiting for CanGraphical
  * client: Do not use SOL_SOCKET for LOCAL_PEERCRED
  * client: Use cr_pid if available
  * logind: Send ReleaseControl when closing seat
  * seatd: Tear down VT when disabled client closes
  * client: Remove link if seat_add_client succeeds

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=5
2021-03-16 10:46:37 +00:00
f0a394b15a Accepting request 847724 from X11:Wayland
OBS-URL: https://build.opensuse.org/request/show/847724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/seatd?expand=0&rev=1
2020-11-11 19:46:48 +00:00
c9e4b89304 - Change _service file to use correct version number and not
git hash

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=3
2020-11-11 08:47:16 +00:00
14c0aaebed Accepting request 847092 from home:jengelh:branches:X11:Wayland
- Fix doubleshipping of documentation. Better summaries.

OBS-URL: https://build.opensuse.org/request/show/847092
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=2
2020-11-09 09:54:07 +00:00
3322c6b685 Accepting request 847083 from home:jubalh
New dep for wlroots. Would be nice to have this in the same devel repo.

OBS-URL: https://build.opensuse.org/request/show/847083
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=1
2020-11-09 09:38:39 +00:00