fix(profile): zramctl doesn't show algorithm, data, compression, total, streams, mountpoint

fix #456
This commit is contained in:
Alexandre Pujol 2024-09-01 15:22:05 +01:00
parent aa4f4de6dd
commit 60e00f8c53
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -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,