Profiles update.

This commit is contained in:
Alexandre Pujol 2021-06-06 14:55:17 +01:00
parent 44dc86cd36
commit 9ad8ec165d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
18 changed files with 68 additions and 17 deletions

View file

@ -11,7 +11,7 @@ include <tunables/global>
@{CHROMIUM_CACHEDIR} = @{user_cache_dirs}/chromium
@{exec_path} = /{usr/,}bin/chromium
profile chromium @{exec_path} {
profile chromium @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/freedesktop.org>
include <abstractions/deny-root-dir-access>

View file

@ -191,6 +191,11 @@ profile chromium-chromium @{exec_path} {
# file_inherit
owner /dev/tty[0-9]* rw,
# Video support
/dev/ r,
/dev/video[0-9]* rw,
@{sys}/devices/pci[0-9]*/**/usb[0-9]/**/{idProduct,idVendor,interface} r,
/etc/opensc.conf r,
include <abstractions/dconf>

View file

@ -12,7 +12,7 @@ include <tunables/global>
@{MOZ_CACHEDIR} = @{user_cache_dirs}/mozilla
@{exec_path} = @{MOZ_LIBDIR}/firefox{,-bin,-esr}
profile firefox @{exec_path} {
profile firefox @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/wayland>
include <abstractions/opencl-intel>

View file

@ -62,6 +62,7 @@ profile firefox-crashreporter @{exec_path} {
# file_inherit
owner @{MOZ_CACHEDIR}/firefox/*.*/** r,
owner @{MOZ_HOMEDIR}/firefox/*.*/extensions/*.xpi r,
owner @{MOZ_HOMEDIR}/firefox/*.*/.parentlock rw,
owner @{HOME}/.xsession-errors w,
/dev/dri/renderD128 rw,