fix(systemd-oomd): change to {,**/}

This commit is contained in:
REmerald 2024-06-06 06:36:49 +00:00 committed by Alex
parent 6801ae1e0c
commit 281768667a

View file

@ -34,8 +34,7 @@ profile systemd-oomd @{exec_path} flags=(attach_disconnected) {
@{sys}/fs/cgroup/system.slice/memory.* r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/memory.* r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/session.slice/memory.* r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/app.slice/memory.* r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/app.slice/*org.a11y.atspi.Registry.slice/memory.* r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/app.slice/{,**/}memory.* r,
@{PROC}/pressure/cpu r,
@{PROC}/pressure/io r,