mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
fix(systemd-oomd): shorten paths
This commit is contained in:
parent
281768667a
commit
8f05f02356
@ -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 New Issue
Block a user