mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
Update sudo
Condensing requests like: @{sys}/fs/cgroup/{hostcritical,system,unevictable,user}.slice/*.service/cgroup.procs r, @{sys}/fs/cgroup/system.slice/system-getty.slice/getty@tty3.service/cgroup.procs r, @{sys}/fs/cgroup/user.slice/user-1000.slice/user@1000.service/cgroup.procs r, @{sys}/fs/cgroup/system.slice/system-getty.slice/getty@tty3.service/cgroup.procs r, @{sys}/fs/cgroup/user.slice/user-1000.slice/user@1000.service/cgroup.procs r, @{sys}/fs/cgroup/user.slice/user-968.slice/user@968.service/cgroup.procs r,
This commit is contained in:
parent
69cc1031ad
commit
97676dcf71
@ -48,6 +48,8 @@ profile sudo @{exec_path} flags=(attach_disconnected) {
|
||||
@{run}/systemd/sessions/* r,
|
||||
@{run}/systemd/sessions/?@{int}.ref rw,
|
||||
|
||||
@{sys}/fs/cgroup/*.slice{,/*.slice}/*.service/cgroup.procs r,
|
||||
|
||||
include if exists <local/sudo>
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user