2021-04-01 17:17:47 +02:00
|
|
|
# apparmor.d - Full set of apparmor profiles
|
|
|
|
# Copyright (C) 2018-2021 Mikhail Morfikov
|
2024-02-07 00:16:21 +01:00
|
|
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
2021-04-01 17:17:47 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2020-09-12 17:19:23 +02:00
|
|
|
|
2020-12-10 22:33:39 +01:00
|
|
|
abi <abi/3.0>,
|
2020-09-12 17:19:23 +02:00
|
|
|
|
2020-12-10 22:33:39 +01:00
|
|
|
include <tunables/global>
|
2020-09-12 17:19:23 +02:00
|
|
|
|
2023-07-09 15:23:22 +02:00
|
|
|
@{exec_path} = @{bin}/exo-open
|
2020-09-12 17:19:23 +02:00
|
|
|
profile exo-open @{exec_path} {
|
2020-12-10 22:33:39 +01:00
|
|
|
include <abstractions/base>
|
2021-04-03 12:03:57 +02:00
|
|
|
include <abstractions/consoles>
|
2020-12-10 22:33:39 +01:00
|
|
|
include <abstractions/gtk>
|
|
|
|
include <abstractions/fonts>
|
|
|
|
include <abstractions/fontconfig-cache-read>
|
|
|
|
include <abstractions/freedesktop.org>
|
|
|
|
include <abstractions/app-launcher-user>
|
2020-09-12 17:19:23 +02:00
|
|
|
|
|
|
|
@{exec_path} mr,
|
|
|
|
|
2024-09-05 15:05:35 +02:00
|
|
|
@{lib}/@{multiarch}/xfce4/exo-@{version}/exo-helper-@{version} rPx,
|
2020-09-12 17:19:23 +02:00
|
|
|
|
|
|
|
# It looks like gio-launch-desktop decides what app should be opened
|
2024-09-05 15:05:35 +02:00
|
|
|
@{lib}/@{multiarch}/glib-@{version}/gio-launch-desktop rPx,
|
2020-09-12 17:19:23 +02:00
|
|
|
|
|
|
|
owner @{PROC}/@{pid}/fd/ r,
|
|
|
|
|
|
|
|
/** r,
|
|
|
|
owner /** rw,
|
|
|
|
|
2020-12-10 22:33:39 +01:00
|
|
|
include if exists <local/exo-open>
|
2020-09-12 17:19:23 +02:00
|
|
|
}
|
2024-06-15 16:13:21 +02:00
|
|
|
|
|
|
|
# vim:syntax=apparmor
|