mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Add iotop-c profile
Signed-off-by: Allen Huang <allen.huang@canonical.com>
This commit is contained in:
parent
002bf1339c
commit
5b874f45f3
1 changed files with 24 additions and 0 deletions
24
profiles/apparmor.d/usr.sbin.iotop-c
Normal file
24
profiles/apparmor.d/usr.sbin.iotop-c
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
abi <abi/4.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
/usr/sbin/iotop-c {
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/bash>
|
||||||
|
include <abstractions/nameservice>
|
||||||
|
|
||||||
|
capability net_admin,
|
||||||
|
capability sys_admin,
|
||||||
|
|
||||||
|
/proc/*/cmdline r,
|
||||||
|
/proc/*/task/ r,
|
||||||
|
/usr/sbin/iotop-c mr,
|
||||||
|
owner /etc/nsswitch.conf r,
|
||||||
|
owner /etc/passwd r,
|
||||||
|
owner /proc/ r,
|
||||||
|
owner /proc/sys/kernel/task_delayacct rw,
|
||||||
|
owner /proc/vmstat r,
|
||||||
|
owner /root/.config/iotop/iotoprc rw,
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue