2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

usr.sbin.sshd: add cgroup-related rules

This commit is contained in:
Simon Deziel
2016-04-05 15:46:05 -04:00
parent 1fcdad4f1e
commit aedce34542

View File

@@ -70,6 +70,9 @@
owner @{PROC}/@{pid}/oom_adj rw,
owner @{PROC}/@{pid}/oom_score_adj rw,
/sys/fs/cgroup/*/user/*/[0-9]*/ rw,
/sys/fs/cgroup/systemd/user.slice/user-[0-9]*.slice/session-c[0-9]*.scope/ rw,
# should only be here for use in non-change-hat openssh
# duplicated from EXEC hat (+r)
/bin/ash Uxr,