Profiles update and general fixes.

This commit is contained in:
Alexandre Pujol 2021-04-09 14:47:06 +01:00
parent 04a833beb4
commit 17806e9ee7
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
11 changed files with 43 additions and 17 deletions

View file

@ -9,9 +9,12 @@ include <tunables/global>
@{exec_path} = /{usr/,}bin/gjs-console
profile gjs-console @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/dri-common>
include <abstractions/dri-enumerate>
include <abstractions/fonts>
include <abstractions/freedesktop.org>
include <abstractions/gtk>
include <abstractions/mesa>
include <abstractions/openssl>
network netlink raw,
@ -24,6 +27,7 @@ profile gjs-console @{exec_path} flags=(attach_disconnected) {
/usr/share/dconf/profile/gdm r,
/usr/share/gdm/greeter-dconf-defaults r,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/usr/share/glvnd/egl_vendor.d/{,*.json} r,
/usr/share/gnome-shell/{,**} r,
/usr/share/themes/*/gtk-3.0/{,**} r,
/usr/share/X11/xkb/** r,
@ -49,12 +53,8 @@ profile gjs-console @{exec_path} flags=(attach_disconnected) {
@{run}/user/[0-9]*/gdm/Xauthority r,
/dev/ r,
/dev/dri/ r,
/dev/tty rw,
/dev/tty[0-9]* rw,
@{sys}/bus/ r,
@{sys}/class/ r,
include if exists <local/gjs-console>
}