]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
logind: migrate to Varlink (phase1) (#41561)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 25 May 2026 18:15:55 +0000 (03:15 +0900)
committerGitHub <noreply@github.com>
Mon, 25 May 2026 18:15:55 +0000 (03:15 +0900)
This implements phase 1 of #41560.

Add List Varlink methods for all logind object types (sessions, users,
seats, inhibitors).

1  2 
src/login/logind-dbus.c
src/login/logind-user.c
src/login/logind-user.h
src/test/meson.build

Simple merge
Simple merge
Simple merge
index 404e366861a6c5ca50265e2d91605b3ccdbdf644,8a25cc03dc35db269f6bb73c5c9af30da797f649..490b9b7d0dcde4c05578d2dd7621eb0d638b0de7
@@@ -493,8 -493,11 +493,12 @@@ executables += 
          test_template + {
                  'sources' : files('test-varlink-idl-machine.c'),
                  'objects' : ['systemd-machined'],
 +                'conditions' : ['ENABLE_MACHINED'],
          },
+         test_template + {
+                 'sources' : files('test-varlink-idl-login.c'),
+                 'objects' : ['systemd-logind'],
+         },
          test_template + {
                  'sources' : files('test-watchdog.c'),
                  'type' : 'unsafe',