Update hdparm

This commit is contained in:
barmogund 2024-10-25 13:41:36 +02:00 committed by GitHub
parent 3d67b174e6
commit 2411da2214
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,6 +29,14 @@ profile hdparm @{exec_path} flags=(complain) {
# Image files
owner @{user_img_dirs}/{,**} r,
# interaction with tlp
owner @{sys}/devices/@{pci}/ta@{int}/host@{int}/**/**/power/autosuspend_delay_ms r,
owner @{sys}/devices/@{pci}/ta@{int}/host@{int}/scsi_host/host0/link_power_management_policy rw,
owner @{sys}/devices/@{pci}/ta@{int}/host@{int}/target*/**/block/{sda,sr0}/* r,
owner @{sys}/devices/@{pci}/ta@{int}/host@{int}/target*/**/block/{sda,sr0}/dev r,
owner @{sys}/devices/@{pci}/ta@{int}/host@{int}/target*/**/block/sda/sda@{int}/dev r,
owner @{sys}/devices/@{pci}/ta@{int}/host@{int}/target*/**/block/sda@{int}/dev r,
# for hdparm --fibmap
@{PROC}/devices r,