Update hdparm
This commit is contained in:
parent
875180dac1
commit
c4c51030ff
1 changed files with 1 additions and 8 deletions
|
|
@ -10,6 +10,7 @@ include <tunables/global>
|
|||
@{exec_path} = @{bin}/hdparm
|
||||
profile hdparm @{exec_path} flags=(complain) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/disk-read>
|
||||
include <abstractions/user-download-strict>
|
||||
include <abstractions/private-files-strict>
|
||||
include <abstractions/disks-read>
|
||||
|
|
@ -29,14 +30,6 @@ 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,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue