Co-authored-by: Mikhail Morfikov <mmorfikov@gmail.com> Signed-off-by: Alexandre Pujol <alexandre@pujol.io>
23 lines
609 B
Text
23 lines
609 B
Text
# 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>
|
|
|
|
@{SIGNAL_INSTALLDIR} = "/opt/Signal{, Beta}"
|
|
@{SIGNAL_HOMEDIR} = "@{user_config_dirs}/Signal{, Beta}"
|
|
|
|
#@{exec_path} = @{SIGNAL_INSTALLDIR}/chrome-sandbox # (#FIXME#)
|
|
@{exec_path} = "/opt/Signal{, Beta}/chrome-sandbox"
|
|
profile signal-desktop-chrome-sandbox @{exec_path} {
|
|
include <abstractions/base>
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{SIGNAL_INSTALLDIR}/signal-desktop{,-beta} rPx,
|
|
|
|
include if exists <local/signal-desktop-chrome-sandbox>
|
|
}
|
|
|