mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-07 18:55:15 +01:00
44 lines
899 B
Text
44 lines
899 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/aa-notify
|
|
profile aa-notify @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/bus-session>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/python>
|
|
|
|
capability setgid,
|
|
capability setuid,
|
|
capability sys_ptrace,
|
|
|
|
ptrace (read),
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{bin}/ r,
|
|
|
|
/etc/apparmor/*.conf r,
|
|
/etc/inputrc r,
|
|
/usr/etc/inputrc.keys r,
|
|
/usr/share/terminfo/** r,
|
|
|
|
/var/log/audit/audit.log r,
|
|
|
|
owner @{HOME}/.inputrc r,
|
|
owner @{HOME}/.terminfo/@{int}/dumb r,
|
|
|
|
owner /tmp/@{rand8} rw,
|
|
owner /tmp/apparmor-bugreport-*.txt rw,
|
|
|
|
@{PROC}/ r,
|
|
@{PROC}/@{pid}/stat r,
|
|
@{PROC}/@{pid}/cmdline r,
|
|
|
|
include if exists <local/aa-notify>
|
|
}
|