Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mupdf refactoring cfr. https://github.com/netblue30/firejail/discussions/4993 #5042

Merged
merged 11 commits into from
Mar 14, 2022
1 change: 1 addition & 0 deletions etc/inc/disable-common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ blacklist-nolog ${HOME}/.*_history_*
blacklist-nolog ${HOME}/.adobe
blacklist-nolog ${HOME}/.ammonite/history
blacklist-nolog ${HOME}/.cache/greenclip*
blacklist-nolog ${HOME}/.cache/mupdf.history
blacklist-nolog ${HOME}/.histfile
blacklist-nolog ${HOME}/.history
blacklist-nolog ${HOME}/.kde/share/apps/klipper
Expand Down
3 changes: 3 additions & 0 deletions etc/profile-m-z/mupdf-gl.profile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ include mupdf-gl.local
# added by included profile
#include globals.local

noblacklist ${HOME}/.cache/mupdf.history
noblacklist ${HOME}/.mupdf.history

ignore no3d

# Redirect
include mupdf.profile
3 changes: 0 additions & 3 deletions etc/profile-m-z/mupdf-x11.profile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@ include mupdf-x11.local
# added by included profile
#include globals.local

memory-deny-write-execute
read-only ${HOME}

# Redirect
include mupdf.profile
4 changes: 4 additions & 0 deletions etc/profile-m-z/mupdf.profile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ apparmor
caps.drop all
machine-id
net none
no3d
nodvd
nogroups
noinput
Expand All @@ -41,3 +42,6 @@ private-tmp

dbus-user none
dbus-system none

memory-deny-write-execute
read-only ${HOME}