feat(profile): add some gnome profiles.

This commit is contained in:
Alexandre Pujol 2024-09-19 00:00:54 +01:00
parent e9a5edb332
commit fa668af54a
Failed to generate hash of commit
3 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# 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}/gnome-font-viewer
profile gnome-font-viewer @{exec_path} {
include <abstractions/base>
include <abstractions/common/gnome>
@{exec_path} mr,
include if exists <local/gnome-font-viewer>
}
# vim:syntax=apparmor

View file

@ -0,0 +1,21 @@
# 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} = @{lib}/gnome-user-share-webdav
profile gnome-user-share-webdav @{exec_path} {
include <abstractions/base>
include <abstractions/bus-session>
#aa:dbus own bus=session name=org.gnome.user-share.webdav
@{exec_path} mr,
include if exists <local/gnome-user-share-webdav>
}
# vim:syntax=apparmor

View file

@ -0,0 +1,22 @@
# 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} = @{lib}/tracker-xdg-portal-3
profile tracker-xdg-portal @{exec_path} flags=(complain) {
include <abstractions/base>
include <abstractions/bus-session>
include <abstractions/gnome-strict>
#aa:dbus own bus=session name=org.freedesktop.portal.Tracker
@{exec_path} mr,
include if exists <local/tracker-xdg-portal>
}
# vim:syntax=apparmor