Skip to content

Commit

Permalink
disable qml disk cache globally
Browse files Browse the repository at this point in the history
  • Loading branch information
smitsohu committed Jan 8, 2018
1 parent a87805b commit f66ea88
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions etc/disable-common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -344,4 +344,5 @@ blacklist /initrd*
blacklist /vmlinuz*

# complement noexec ${HOME} and noexec /tmp
env QML_DISABLE_DISK_CACHE=1
noexec /tmp/.X11-unix
3 changes: 0 additions & 3 deletions etc/kwin_x11.profile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,5 @@ 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
5 changes: 1 addition & 4 deletions etc/okular.profile
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ tracelog
private-bin okular,kbuildsycoca4,kdeinit4,lpr
private-dev
private-etc alternatives,cups,fonts,ld.so.cache,machine-id
# private-tmp - on KDE we need access to the real /tmp for data exchange with thunderbird

# disable QML disk caching as it conflicts with the noexec constraints below
env QML_DISABLE_DISK_CACHE=1
# private-tmp - on KDE we need access to the real /tmp for data exchange with email clients

# memory-deny-write-execute
noexec ${HOME}
Expand Down

0 comments on commit f66ea88

Please sign in to comment.