feat(profiles): add the dconf-write abstraction.
This commit is contained in:
parent
583d7a15f0
commit
5d45b8e7a7
104 changed files with 124 additions and 371 deletions
15
apparmor.d/abstractions/dconf-write
Normal file
15
apparmor.d/abstractions/dconf-write
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
# Permissions for querying dconf settings with write access; use the dconf
|
||||
# abstraction first, and dconf-write only for specific application's profile.
|
||||
|
||||
/etc/dconf/** r,
|
||||
|
||||
owner @{user_config_dirs}/dconf/user r,
|
||||
|
||||
owner @{run}/user/@{uid}/dconf/ rw,
|
||||
owner @{run}/user/@{uid}/dconf/user rw,
|
||||
|
||||
include if exists <abstractions/dconf-write.d>
|
||||
Loading…
Add table
Add a link
Reference in a new issue