mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
fix(systemd-oomd): shorten paths
This commit is contained in:
parent
281768667a
commit
8f05f02356
1 changed files with 2 additions and 4 deletions
|
@ -30,11 +30,9 @@ profile systemd-oomd @{exec_path} flags=(attach_disconnected) {
|
|||
owner @{run}/systemd/journal/socket w,
|
||||
|
||||
@{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/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/{,**/}/memory.* r,
|
||||
|
||||
@{PROC}/pressure/cpu r,
|
||||
@{PROC}/pressure/io r,
|
||||
|
|
Loading…
Reference in a new issue