mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
feat(profile): add baobab.
This commit is contained in:
parent
0f4c37c39a
commit
9be25c8498
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…
Reference in New Issue
Block a user