From 0c2b8f612b94a22148e24fa793407d87ff6b1fc3 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Mon, 18 Dec 2023 19:23:07 +0000 Subject: [PATCH] feat(abs): add a new (generic) desktop abstraction. --- apparmor.d/abstractions/desktop | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 apparmor.d/abstractions/desktop diff --git a/apparmor.d/abstractions/desktop b/apparmor.d/abstractions/desktop new file mode 100644 index 00000000..aa7ee2fb --- /dev/null +++ b/apparmor.d/abstractions/desktop @@ -0,0 +1,21 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2023 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + + abi , + + include + include + include + include + include + include + + /usr/share/icu/@{int}.@{int}/*.dat r, + + owner @{HOME}/.local/ rw, + owner @{user_cache_dirs}/ rw, + owner @{user_config_dirs}/ rw, + owner @{user_share_dirs}/ rw, + + include if exists