feat(profiles): add gnome-browser-connector-host.

This commit is contained in:
Alexandre Pujol 2022-10-01 18:47:49 +01:00
parent 7c3fcf260c
commit 65bf8278bc
Failed to generate hash of commit
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,27 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/gnome-browser-connector-host
profile gnome-browser-connector-host @{exec_path} {
include <abstractions/base>
include <abstractions/python>
include <abstractions/dconf-write>
@{exec_path} mr,
/{usr/,}bin/env rix,
/{usr/,}bin/python3.[0-9]* rix,
/{usr/,}lib/python3.[0-9]*/site-packages/gnome_browser_connector/__pycache__/{,**} rw,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
owner @{PROC}/@{pid}/mounts r,
include if exists <local/gnome-browser-connector-host>
}

View file

@ -63,6 +63,7 @@ gdm-x-session attach_disconnected,complain
gdm-xsession complain gdm-xsession complain
git complain git complain
glib-compile-resources complain glib-compile-resources complain
gnome-browser-connector-host complain
gnome-control-center attach_disconnected,complain gnome-control-center attach_disconnected,complain
gnome-control-center-goa-helper complain gnome-control-center-goa-helper complain
gnome-disk-image-mounter complain gnome-disk-image-mounter complain