feat(profile): various small improvement.

This commit is contained in:
Alexandre Pujol 2024-11-10 19:46:33 +00:00
parent 0ec65c5653
commit 3e0583fd8e
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
7 changed files with 31 additions and 28 deletions

View file

@ -8,7 +8,7 @@ abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{lib}/chromium/chrome-sandbox
profile chromium-sandbox @{exec_path} {
profile chromium-sandbox @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
capability dac_override,

View file

@ -10,6 +10,7 @@ include <tunables/global>
@{exec_path} = @{lib}/{,dconf/}dconf-service
profile dconf-service @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/attached/consoles>
include <abstractions/bus-session>
include <abstractions/dconf-write>
@ -38,8 +39,6 @@ profile dconf-service @{exec_path} flags=(attach_disconnected) {
@{PROC}/cmdline r,
/dev/tty@{int} rw,
include if exists <local/dconf-service>
}

View file

@ -37,7 +37,6 @@ profile startplasma @{exec_path} {
/usr/share/kservicetypes5/{,**} r,
/usr/share/plasma/{,**} r,
/etc/locale.alias r,
/etc/machine-id r,
/etc/xdg/menus/{,**} r,
/etc/xdg/plasma-workspace/env/{,*} r,