Skip to content

Commit

Permalink
interfaces/builtin/fwupd.go: allow access to nvmem for thunderbolt pl…
Browse files Browse the repository at this point in the history
…ugin

Upstream issue: fwupd/fwupd#8014
  • Loading branch information
valentindavid authored and Meulengracht committed Nov 18, 2024
1 parent e899805 commit 8533329
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions interfaces/builtin/fwupd.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ const fwupdPermanentSlotAppArmor = `
/sys/devices/**/psp_vbflash rw,
/sys/devices/**/psp_vbflash_status r,
# Required by plugin thunderbolt
/sys/devices/**/nvm_non_active*/nvmem a,
/sys/devices/**/nvm_active*/nvmem r,
# DBus accesses
#include <abstractions/dbus-strict>
dbus (send)
Expand Down

0 comments on commit 8533329

Please sign in to comment.