Skip to content

Commit

Permalink
Adding ability to read device tree to hardware observe interface
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
  • Loading branch information
kubiko committed Jun 8, 2018
1 parent e447415 commit b1a78e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions interfaces/builtin/hardware_observe.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ capability sys_admin,
/sys/firmware/dmi/tables/DMI r,
/sys/firmware/dmi/tables/smbios_entry_point r,
# Device tree
/sys/firmware/devicetree r,
/proc/device-tree r,
# interrupts
@{PROC}/interrupts r,
Expand Down

0 comments on commit b1a78e8

Please sign in to comment.