feat(profile): add baobab.
This commit is contained in:
parent
0f4c37c39a
commit
9be25c8498
1 changed files with 27 additions and 0 deletions
27
apparmor.d/profiles-a-f/baobab
Normal file
27
apparmor.d/profiles-a-f/baobab
Normal 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>
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue