feat(profile): add some minor xfce profile.

This commit is contained in:
Alexandre Pujol 2024-04-05 23:46:57 +01:00
parent c04189d900
commit 2324da2fa7
Failed to generate hash of commit
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,26 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/mousepad
profile mousepad @{exec_path} {
include <abstractions/base>
include <abstractions/dconf-write>
include <abstractions/user-read-strict>
include <abstractions/user-write-strict>
include <abstractions/xfce>
@{exec_path} mr,
owner @{user_config_dirs}/Mousepad/ rw,
owner @{user_config_dirs}/Mousepad/{,**} rw,
owner @{user_share_dirs}/Mousepad/ rw,
owner @{user_share_dirs}/Mousepad/{,**} rw,
include if exists <local/mousepad>
}

View file

@ -0,0 +1,20 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/xfce4-about
profile xfce-about @{exec_path} {
include <abstractions/base>
include <abstractions/graphics>
include <abstractions/xfce>
@{exec_path} mr,
@{open_path} rPx -> child-open-browsers,
include if exists <local/xfce-about>
}