37 lines
955 B
Text
37 lines
955 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>
|
|
|
|
@{exec_path} = @{bin}/plasma-browser-integration-host
|
|
profile plasma-browser-integration-host @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/bus-session>
|
|
include <abstractions/bus-system>
|
|
include <abstractions/graphics>
|
|
include <abstractions/kde-strict>
|
|
include <abstractions/nameservice-strict>
|
|
|
|
capability sys_ptrace,
|
|
|
|
ptrace (read) peer={chromium,brave,chrome,opera,firefox},
|
|
|
|
@{exec_path} mr,
|
|
|
|
/usr/share/kservices{5,6}/{,**} r,
|
|
|
|
/etc/xdg/taskmanagerrulesrc r,
|
|
|
|
owner @{user_share_dirs}/kservices{5,6}/ r,
|
|
owner @{user_share_dirs}/kservices{5,6}/ServiceMenus/ r,
|
|
|
|
owner @{PROC}/@{pid}/cmdline r,
|
|
owner @{PROC}/@{pid}/stat r,
|
|
|
|
include if exists <local/plasma-browser-integration-host>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|