mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-16 08:23:47 +01:00
42 lines
862 B
Plaintext
42 lines
862 B
Plaintext
# 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
|
|
profile aa-notify @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/dbus-session-strict>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/python>
|
|
|
|
capability sys_ptrace,
|
|
|
|
ptrace (read),
|
|
|
|
@{exec_path} mr,
|
|
|
|
/{usr/,}bin/ r,
|
|
|
|
/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,
|
|
|
|
owner @{HOME}/.terminfo/[0-9]*/dumb r,
|
|
|
|
owner /tmp/[a-z0-9]* rw,
|
|
owner /tmp/apparmor-bugreport-*.txt rw,
|
|
|
|
@{PROC}/ r,
|
|
@{PROC}/@{pid}/stat r,
|
|
@{PROC}/@{pid}/cmdline r,
|
|
|
|
include if exists <local/aa-notify>
|
|
}
|