diff --git a/apparmor.d/profiles-m-r/nvtop b/apparmor.d/profiles-m-r/nvtop index 88a164c0..e4846d58 100644 --- a/apparmor.d/profiles-m-r/nvtop +++ b/apparmor.d/profiles-m-r/nvtop @@ -31,7 +31,16 @@ profile nvtop @{exec_path} flags=(attach_disconnected) { @{run}/udev/data/c@{dynamic}:@{int} r, # For dynamic assignment range 234 to 254, 384 to 511 @{sys}/bus/ r, + @{sys}/devices/@{pci}/ r, + @{sys}/devices/@{pci}/current_link_{speed,width} r, @{sys}/devices/@{pci}/enable r, + @{sys}/devices/@{pci}/hwmon/hwmon@{int}/fan@{int}_{enable,max} r, + @{sys}/devices/@{pci}/hwmon/hwmon@{int}/power@{int}_cap r, + @{sys}/devices/@{pci}/hwmon/hwmon@{int}/pwm@{int} r, + @{sys}/devices/@{pci}/hwmon/hwmon@{int}/pwm@{int}_{enable,max} r, + @{sys}/devices/@{pci}/hwmon/hwmon@{int}/temp@{int}_crit r, + @{sys}/devices/@{pci}/max_link_{speed,width} r, + @{sys}/devices/@{pci}/pcie_bw r, @{sys}/devices/system/node/node@{int}/cpumap r, @{PROC}/ r,