aboutsummaryrefslogtreecommitdiffstats
path: root/etc/kwin_x11.profile
blob: 3ce4fe80d1a4083c771661748906a417b4840e54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Firejail profile for kwin_x11
# This file is overwritten after every install/update
# Persistent local customizations
include /etc/firejail/kwin_x11.local
# Persistent global definitions
include /etc/firejail/globals.local

noblacklist ${HOME}/.config/kwinrc
noblacklist ${HOME}/.config/kwinrulesrc
noblacklist ${HOME}/.local/share/kwin

include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-passwdmgr.inc
include /etc/firejail/disable-programs.inc

include /etc/firejail/whitelist-var-common.inc

caps.drop all
netfilter
nodvd
nogroups
nonewprivs
noroot
nosound
notv
novideo
protocol unix
seccomp
shell none
tracelog

disable-mnt
private-bin kwin_x11
private-dev
private-etc drirc,fonts,ld.so.cache,machine-id,xdg
private-tmp

# disable QML disk caching as it conflicts with the noexec constraints below
env QML_DISABLE_DISK_CACHE=1

noexec ${HOME}
noexec /tmp