feat(profiles): general update.
This commit is contained in:
parent
e6e0ef9067
commit
9d4956df0d
23 changed files with 147 additions and 104 deletions
|
|
@ -17,9 +17,15 @@ profile apport-gtk @{exec_path} {
|
|||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/openssl>
|
||||
include <abstractions/python>
|
||||
include <abstractions/ssl_certs>
|
||||
|
||||
capability sys_ptrace,
|
||||
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
network inet dgram,
|
||||
network inet6 dgram,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}{s,}bin/killall5 rix,
|
||||
|
|
@ -50,21 +56,22 @@ profile apport-gtk @{exec_path} {
|
|||
/usr/share/themes/{,**} r,
|
||||
/usr/share/X11/xkb/{,**} r,
|
||||
|
||||
/etc/apport/blacklist.d/apport r,
|
||||
/etc/apport/blacklist.d/README.blacklist r,
|
||||
/etc/apport/crashdb.conf r,
|
||||
/etc/apport/{,**} r,
|
||||
/etc/bash_completion.d/apport_completion r,
|
||||
/etc/cron.daily/apport r,
|
||||
/etc/default/apport r,
|
||||
/etc/init.d/apport r,
|
||||
/etc/logrotate.d/apport r,
|
||||
/etc/xdg/autostart/*.desktop r,
|
||||
/etc/gtk-3.0/settings.ini r,
|
||||
|
||||
/var/crash/{,*.@{uid}.crash} r,
|
||||
/var/crash/{,*.@{uid}.crash} rw,
|
||||
/var/lib/dpkg/info/ r,
|
||||
/var/lib/dpkg/info/*.list r,
|
||||
/var/lib/dpkg/info/*.md5sums r,
|
||||
/var/log/installer/media-info r,
|
||||
|
||||
@{run}/snapd.socket rw,
|
||||
owner @{run}/user/@{uid}/wayland-[0-9] rw,
|
||||
|
||||
/tmp/[a-z0-9]* rw,
|
||||
|
|
@ -83,8 +90,9 @@ profile apport-gtk @{exec_path} {
|
|||
|
||||
profile gdb {
|
||||
include <abstractions/base>
|
||||
include <abstractions/python>
|
||||
include <abstractions/dconf>
|
||||
include <abstractions/fonts>
|
||||
include <abstractions/python>
|
||||
|
||||
/{usr/,}bin/gdb mr,
|
||||
|
||||
|
|
@ -92,6 +100,9 @@ profile apport-gtk @{exec_path} {
|
|||
/{usr/,}{s,}bin/* r,
|
||||
|
||||
/usr/share/gdb/{,**} r,
|
||||
/usr/share/themes/{,**} r,
|
||||
/usr/share/gnome-shell/{,**} r,
|
||||
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
||||
|
||||
/etc/gdb/{,**} r,
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,9 @@ profile software-properties-gtk @{exec_path} {
|
|||
include <abstractions/dbus-strict>
|
||||
include <abstractions/dconf-write>
|
||||
include <abstractions/fonts>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/openssl>
|
||||
include <abstractions/python>
|
||||
|
||||
dbus send bus=system path=/{,com/canonical/UbuntuAdvantage/Manager}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
|
|
@ -51,10 +53,13 @@ profile software-properties-gtk @{exec_path} {
|
|||
/usr/share/X11/xkb/{,**} r,
|
||||
/usr/share/xml/iso-codes/{,**} r,
|
||||
|
||||
/etc/apport/blacklist.d/{,*} r,
|
||||
/etc/default/apport r,
|
||||
/etc/gtk-3.0/settings.ini r,
|
||||
/etc/machine-id r,
|
||||
/etc/update-manager/release-upgrades r,
|
||||
|
||||
/var/crash/*software-properties-gtk.@{uid}.crash rw,
|
||||
/var/lib/snapd/desktop/icons/ r,
|
||||
|
||||
owner @{run}/user/@{uid}/wayland-[0-9]* rw,
|
||||
|
|
@ -68,6 +73,9 @@ profile software-properties-gtk @{exec_path} {
|
|||
|
||||
@{PROC}/@{pids}/mountinfo r,
|
||||
@{PROC}/asound/cards r,
|
||||
owner @{PROC}/@{pid}/cgroup r,
|
||||
owner @{PROC}/@{pid}/cmdline r,
|
||||
owner @{PROC}/@{pid}/environ r,
|
||||
owner @{PROC}/@{pid}/fd/ r,
|
||||
owner @{PROC}/@{pid}/mounts r,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue