feat(profile): add gnome-weather.
This commit is contained in:
parent
0787ef9906
commit
8c84d74fe6
1 changed files with 37 additions and 0 deletions
37
apparmor.d/groups/gnome/gnome-weather
Normal file
37
apparmor.d/groups/gnome/gnome-weather
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
# 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}/gnome-weather /usr/share/org.gnome.Weather/org.gnome.Weather
|
||||||
|
profile gnome-weather @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/common/gnome>
|
||||||
|
include <abstractions/nameservice-strict>
|
||||||
|
include <abstractions/p11-kit>
|
||||||
|
include <abstractions/ssl_certs>
|
||||||
|
|
||||||
|
network inet dgram,
|
||||||
|
network inet stream,
|
||||||
|
network inet6 dgram,
|
||||||
|
network inet6 stream,
|
||||||
|
network netlink raw,
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
@{bin}/gjs-console rix,
|
||||||
|
|
||||||
|
/usr/share/org.gnome.Weather/{,**} r,
|
||||||
|
|
||||||
|
owner @{user_cache_dirs}/libgweather/{,**} rw,
|
||||||
|
|
||||||
|
@{PROC}/sys/net/ipv6/conf/all/disable_ipv6 r,
|
||||||
|
owner @{PROC}/@{pid}/mounts r,
|
||||||
|
owner @{PROC}/@{pid}/stat r,
|
||||||
|
owner @{PROC}/@{pid}/task/@{tid}/stat r,
|
||||||
|
|
||||||
|
include if exists <local/gnome-weather>
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue