mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
feat(profile): add epiphany providers.
This commit is contained in:
parent
d4bc07895a
commit
b8c2380da4
3 changed files with 68 additions and 0 deletions
49
apparmor.d/groups/gnome/epiphany-search-provider
Normal file
49
apparmor.d/groups/gnome/epiphany-search-provider
Normal file
|
@ -0,0 +1,49 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/epiphany-search-provider
|
||||
profile epiphany-search-provider @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dconf-write>
|
||||
include <abstractions/dri-common>
|
||||
include <abstractions/dri-enumerate>
|
||||
include <abstractions/fonts>
|
||||
include <abstractions/gnome>
|
||||
include <abstractions/mesa>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/nvidia>
|
||||
include <abstractions/p11-kit>
|
||||
include <abstractions/ssl_certs>
|
||||
include <abstractions/vulkan>
|
||||
include <abstractions/X-strict>
|
||||
|
||||
network inet dgram,
|
||||
network inet6 dgram,
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{lib}/webkitgtk-*/WebKitNetworkProcess rix,
|
||||
|
||||
owner @{user_cache_dirs}/epiphany/{,**} rwk,
|
||||
owner @{user_share_dirs}/epiphany/{,**} rwk,
|
||||
|
||||
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/session.slice/dbus.service/memory.* r,
|
||||
|
||||
@{PROC}/driver/nvidia/params r,
|
||||
@{PROC}/modules r,
|
||||
@{PROC}/sys/dev/i915/perf_stream_paranoid r,
|
||||
@{PROC}/zoneinfo r,
|
||||
owner @{PROC}/@{pid}/cgroup r,
|
||||
owner @{PROC}/@{pid}/cmdline r,
|
||||
owner @{PROC}/@{pid}/comm r,
|
||||
|
||||
include if exists <local/epiphany-search-provider>
|
||||
}
|
18
apparmor.d/groups/gnome/epiphany-webapp-provider
Normal file
18
apparmor.d/groups/gnome/epiphany-webapp-provider
Normal file
|
@ -0,0 +1,18 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/epiphany-webapp-provider
|
||||
profile epiphany-webapp-provider @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{user_share_dirs}/ r,
|
||||
|
||||
include if exists <local/epiphany-webapp-provider>
|
||||
}
|
|
@ -92,6 +92,7 @@ drkonqi complain
|
|||
e2fsck complain
|
||||
e2scrub_all attach_disconnected,complain
|
||||
element complain
|
||||
epiphany-search-provider complain
|
||||
epiphany-webapp-provider complain
|
||||
etckeeper complain
|
||||
fail2ban-client attach_disconnected,complain
|
||||
|
|
Loading…
Reference in a new issue