feat(profile): add baobab.

This commit is contained in:
Alexandre Pujol 2024-09-18 23:32:39 +01:00
parent 0f4c37c39a
commit 9be25c8498
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -0,0 +1,27 @@
# 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}/baobab
profile baobab @{exec_path} {
include <abstractions/base>
include <abstractions/bus/org.freedesktop.hostname1>
include <abstractions/common/gnome>
include <abstractions/deny-sensitive-home>
#aa:dbus talk bus=session name=org.gtk.vfs label="gvfsd{,-*}"
@{exec_path} mr,
# As a directory tree analyzer it needs full access to the filesystem
/ r,
/** r,
deny /boot/{,**} r,
include if exists <local/baobab>
}