36 lines
814 B
Text
36 lines
814 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/4.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{name} = thunderbird{,-bin}
|
|
@{lib_dirs} = @{lib}/@{name}
|
|
@{config_dirs} = @{HOME}/.@{name}/
|
|
|
|
@{exec_path} = @{lib_dirs}/glxtest
|
|
profile thunderbird-glxtest @{exec_path} flags=(attach_disconnected) {
|
|
include <abstractions/base>
|
|
include <abstractions/graphics>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/wayland>
|
|
include <abstractions/X-strict>
|
|
|
|
network netlink raw,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/ r,
|
|
|
|
owner @{config_dirs}/*/.parentlock rw,
|
|
|
|
owner @{tmp}/thunderbird/.parentlock rw,
|
|
|
|
owner @{PROC}/@{pid}/cmdline r,
|
|
|
|
include if exists <local/thunderbird-glxtest>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|