mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
fix(profile): zramctl doesn't show algorithm, data, compression, total, streams, mountpoint
fix #456
This commit is contained in:
parent
aa4f4de6dd
commit
60e00f8c53
@ -14,7 +14,13 @@ profile zramctl @{exec_path} {
|
||||
@{exec_path} mr,
|
||||
|
||||
@{sys}/devices/virtual/block/zram@{int}/ r,
|
||||
@{sys}/devices/virtual/block/zram@{int}/comp_algorithm r,
|
||||
@{sys}/devices/virtual/block/zram@{int}/disksize r,
|
||||
@{sys}/devices/virtual/block/zram@{int}/max_comp_streams r,
|
||||
@{sys}/devices/virtual/block/zram@{int}/mm_stat r,
|
||||
|
||||
@{PROC}/swaps r,
|
||||
owner @{PROC}/@{pid}/mounts r,
|
||||
|
||||
/dev/ r,
|
||||
/dev/zram@{int} rw,
|
||||
|
Loading…
Reference in New Issue
Block a user