mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
feat(abs): add common gnome abstraction for gnome UI app.
This commit is contained in:
parent
8327fc83b6
commit
50ce9750d3
1 changed files with 27 additions and 0 deletions
27
apparmor.d/abstractions/common/gnome
Normal file
27
apparmor.d/abstractions/common/gnome
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
|
||||
|
||||
# Minimal set of rules for all gnome based UI application.
|
||||
|
||||
include <abstractions/bus-session>
|
||||
include <abstractions/dconf-write>
|
||||
include <abstractions/gnome-strict>
|
||||
include <abstractions/graphics>
|
||||
|
||||
@{open_path} rPx -> child-open-help,
|
||||
|
||||
/usr/share/@{profile_name}/{,**} r,
|
||||
|
||||
owner @{user_cache_dirs}/@{profile_name}/ rw,
|
||||
owner @{user_cache_dirs}/@{profile_name}/** rwlk,
|
||||
|
||||
owner @{user_config_dirs}/@{profile_name}/ rw,
|
||||
owner @{user_config_dirs}/@{profile_name}/** rwlk,
|
||||
|
||||
owner @{user_share_dirs}/@{profile_name}/ rw,
|
||||
owner @{user_share_dirs}/@{profile_name}/** rwlk,
|
||||
|
||||
owner @{PROC}/@{pid}/cmdline r,
|
||||
|
||||
include if exists <abstractions/common/gnome.d>
|
Loading…
Reference in a new issue