mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-27 21:38:21 +01:00
29 lines
729 B
Text
29 lines
729 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2020-2021 Mikhail Morfikov
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}bin/aptitude-run-state-bundle
|
|
profile aptitude-run-state-bundle @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/consoles>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/user-download-strict>
|
|
|
|
@{exec_path} r,
|
|
/{usr/,}bin/{,ba,da}sh rix,
|
|
|
|
/{usr/,}bin/tar rix,
|
|
/{usr/,}bin/bzip2 rix,
|
|
/{usr/,}bin/mktemp rix,
|
|
/{usr/,}bin/rm rix,
|
|
|
|
/{usr/,}bin/aptitude-curses rPx,
|
|
|
|
owner /tmp/aptitudebug.*/{,**} rw,
|
|
|
|
include if exists <local/aptitude-run-state-bundle>
|
|
}
|