apparmor.d/apparmor.d/profiles-a-f/aa-notify

40 lines
820 B
Text
Raw Normal View History

2021-04-08 23:32:39 +02:00
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/aa-notify
2021-04-10 15:19:43 +02:00
profile aa-notify @{exec_path} {
2021-04-08 23:32:39 +02:00
include <abstractions/base>
2022-07-03 21:27:48 +02:00
include <abstractions/dbus-session-strict>
2021-04-08 23:32:39 +02:00
include <abstractions/nameservice-strict>
2021-04-21 22:57:17 +02:00
include <abstractions/python>
2021-04-08 23:32:39 +02:00
2021-04-18 18:54:04 +02:00
capability sys_ptrace,
2021-04-08 23:32:39 +02:00
ptrace (read),
@{exec_path} mr,
2021-05-06 17:44:49 +02:00
/{usr/,}bin/ r,
2021-04-21 22:57:17 +02:00
2021-04-08 23:32:39 +02:00
/etc/apparmor/*.conf r,
/etc/inputrc r,
/usr/share/terminfo/x/xterm-256color r,
/usr/share/terminfo/d/dumb r,
/var/log/audit/audit.log r,
2021-04-09 15:47:06 +02:00
owner /tmp/[a-z0-9]* rw,
owner /tmp/apparmor-bugreport-*.txt rw,
2021-04-08 23:32:39 +02:00
@{PROC}/ r,
@{PROC}/@{pid}/stat r,
@{PROC}/@{pid}/cmdline r,
include if exists <local/aa-notify>
}