mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-30 14:55:15 +01:00
feat(profile): add gnome-maps.
This commit is contained in:
parent
8c84d74fe6
commit
e1e96d90dc
1 changed files with 50 additions and 0 deletions
50
apparmor.d/groups/gnome/gnome-maps
Normal file
50
apparmor.d/groups/gnome/gnome-maps
Normal file
|
@ -0,0 +1,50 @@
|
|||
# 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-maps /usr/share/gnome-maps/org.gnome.Maps
|
||||
profile gnome-maps @{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,
|
||||
|
||||
audit @{bin}/gjs-console rix,
|
||||
|
||||
owner @{user_pictures_dirs}/** rw,
|
||||
|
||||
owner @{user_cache_dirs}/shumate/{,**} rw,
|
||||
|
||||
owner @{user_cache_dirs}/shumate/ rw,
|
||||
owner @{user_cache_dirs}/shumate/** rwlk,
|
||||
|
||||
owner @{user_config_dirs}/shumate/ rw,
|
||||
owner @{user_config_dirs}/shumate/** rwlk,
|
||||
|
||||
owner @{user_share_dirs}/shumate/ rw,
|
||||
owner @{user_share_dirs}/shumate/** rwlk,
|
||||
|
||||
@{run}/mount/utab r,
|
||||
|
||||
@{PROC}/sys/net/ipv6/conf/all/disable_ipv6 r,
|
||||
owner @{PROC}/@{pid}/cgroup r,
|
||||
owner @{PROC}/@{pid}/mountinfo r,
|
||||
owner @{PROC}/@{pid}/mounts r,
|
||||
owner @{PROC}/@{pid}/stat r,
|
||||
owner @{PROC}/@{pid}/task/@{tid}/stat r,
|
||||
|
||||
include if exists <local/gnome-maps>
|
||||
}
|
Loading…
Reference in a new issue