31 lines
984 B
Text
31 lines
984 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2018-2021 Mikhail Morfikov
|
|
# Copyright (C) 2021-2022 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{chromium_name} = opera{,-beta,-developer}
|
|
@{chromium_domain} = com.opera.Opera
|
|
@{chromium_lib_dirs} = @{lib}/@{multiarch}/@{chromium_name}
|
|
@{chromium_config_dirs} = @{user_config_dirs}/@{chromium_name}
|
|
@{chromium_cache_dirs} = @{user_cache_dirs}/@{chromium_name}
|
|
|
|
@{exec_path} = @{chromium_lib_dirs}/@{chromium_name}
|
|
profile opera @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/chromium>
|
|
|
|
@{exec_path} mrix,
|
|
|
|
@{chromium_lib_dirs}/opera_autoupdate krix,
|
|
@{chromium_lib_dirs}/opera_crashreporter rPx,
|
|
@{chromium_lib_dirs}/opera-sandbox rPx,
|
|
|
|
/opt/google/chrome{,-beta,-unstable}/libwidevinecdm.so mr,
|
|
/opt/google/chrome{,-beta,-unstable}/libwidevinecdmadapter.so mr,
|
|
|
|
include if exists <local/opera>
|
|
}
|