From 3144c30c0c01f7f13b6539e4855d9126a0861e22 Mon Sep 17 00:00:00 2001 From: odomingao Date: Tue, 29 Oct 2024 07:43:39 -0300 Subject: [PATCH] Update nvtop (#595) --- apparmor.d/profiles-m-r/nvtop | 9 +++++++++ 1 file changed, 9 insertions(+) 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,