Commit graph

3 commits

Author SHA1 Message Date
Christian Kellner
149837eeeb thunderbolt: sync client bits from bolt
Import five commits that add methods to enroll and authorize multiple
devices at once; meant for authorizing a target device and all the
parents that need to be authorized.
Commits in bolt are:
  1ae5c8611fc21c21c8c63ba6933b63eb4c20ab87
  d993ca2f871e7e412b4e1f885b24e4f6622dfc55
  2689e5f77496ac7698744e582feb9afa3e55e0ac
  87762ce14650263ef35f97da5a3a5d122ac0b7d7
  5aa5548d6c7fa1fa26733ecd073097bc1b9d31fb
  00b3d8a35835b8c856e5de026a0c8316b2ceba90
2019-02-04 13:47:30 +01:00
Christian Kellner
06894e020a thunderbolt: fix double free in bolt client
In the async version of the client creation, i.e. when a new client
is created via bolt_client_new_async and an error happens it will be
passed to g_task_return_error which takes ownership of it but the very
same error will also be free'd via g_autoptr; remove the latter.

This is a port of bolt commit e96f8bd47587b167ae46c8ac9347003f69f931dd
2019-01-08 17:29:05 +01:00
Christian Kellner
47f241b10c thunderbolt: new panel for device management
Thunderbolt devices need to be approved before they can be used.
This is done via the boltd system daemon and gnome-shell. The new
panel enables the user to manage thunderbolt devices, i.e.:

 - forget devices that have previously been authorized
 - authorize currently unauthorize devices

Additionally authorization of devices an be temporarily disabled
to ensure no evil device will gain access to the computers
resources.

File starting with "bolt-" are copied from bolt's source tree
and currently correspond to the bolt upstream commit with the id
f22b1cd6104bdc2b33a95d9896b50f29a141b8d8
They can be updated from bolt via the update-from-bolt.sh script.
2018-04-13 15:08:16 +02:00