mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2019-2021 Mikhail Morfikov
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}bin/gpo
|
|
profile gpo @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/consoles>
|
|
include <abstractions/python>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/user-download-strict>
|
|
include <abstractions/openssl>
|
|
include <abstractions/ssl_certs>
|
|
include <abstractions/deny-root-dir-access>
|
|
|
|
network inet dgram,
|
|
network inet6 dgram,
|
|
network inet stream,
|
|
network inet6 stream,
|
|
|
|
@{exec_path} r,
|
|
/{usr/,}bin/python3.[0-9]* r,
|
|
|
|
/{usr/,}bin/ r,
|
|
/{usr/,}bin/{,ba,da}sh rix,
|
|
/{usr/,}bin/uname rix,
|
|
/{usr/,}bin/pager rPx -> child-pager,
|
|
/{usr/,}bin/less rPx -> child-pager,
|
|
/{usr/,}bin/more rPx -> child-pager,
|
|
|
|
owner @{PROC}/@{pid}/fd/ r,
|
|
|
|
owner @{HOME}/gPodder/ rw,
|
|
owner @{HOME}/gPodder/** rwk,
|
|
|
|
/usr/share/gpodder/extensions/{,*.py} r,
|
|
|
|
/etc/inputrc r,
|
|
|
|
owner /var/tmp/etilqs_[0-9a-f]* rw,
|
|
|
|
include if exists <local/gpo>
|
|
}
|