fix(systemd-oomd): shorten paths

This commit is contained in:
REmerald 2024-06-06 06:39:19 +00:00 committed by Alex
parent 281768667a
commit 8f05f02356

View File

@ -30,11 +30,9 @@ profile systemd-oomd @{exec_path} flags=(attach_disconnected) {
owner @{run}/systemd/journal/socket w, owner @{run}/systemd/journal/socket w,
@{sys}/fs/cgroup/cgroup.controllers r, @{sys}/fs/cgroup/cgroup.controllers r,
@{sys}/fs/cgroup/memory.pressure r, @{sys}/fs/cgroup/memory.* r,
@{sys}/fs/cgroup/system.slice/memory.* r, @{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/{,**/}/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,
@{PROC}/pressure/cpu r, @{PROC}/pressure/cpu r,
@{PROC}/pressure/io r, @{PROC}/pressure/io r,