mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
Command:
sed -i -E "s/^private-etc /private-etc ld.so.preload,/" \
$(grep -LE "^private-etc .*ld.so.preload" etc/profile-*/*) \
&& python3 contrib/sort.py etc/profile-*/*
63 lines
1.3 KiB
Text
63 lines
1.3 KiB
Text
# Firejail profile for equalx
|
|
# Description: A graphical editor for writing LaTeX equations
|
|
# This file is overwritten after every install/update
|
|
# Persistent local customizations
|
|
include equalx.local
|
|
# Persistent global definitions
|
|
include globals.local
|
|
|
|
noblacklist ${HOME}/.config/equalx
|
|
noblacklist ${HOME}/.equalx
|
|
|
|
include disable-common.inc
|
|
include disable-devel.inc
|
|
include disable-exec.inc
|
|
include disable-interpreters.inc
|
|
include disable-programs.inc
|
|
include disable-shell.inc
|
|
include disable-xdg.inc
|
|
|
|
mkdir ${HOME}/.config/equalx
|
|
mkdir ${HOME}/.equalx
|
|
whitelist ${HOME}/.config/equalx
|
|
whitelist ${HOME}/.equalx
|
|
whitelist /usr/share/poppler
|
|
whitelist /usr/share/ghostscript
|
|
whitelist /usr/share/texlive
|
|
whitelist /usr/share/equalx
|
|
whitelist /var/lib/texmf
|
|
include whitelist-common.inc
|
|
include whitelist-runuser-common.inc
|
|
include whitelist-usr-share-common.inc
|
|
include whitelist-var-common.inc
|
|
|
|
apparmor
|
|
caps.drop all
|
|
machine-id
|
|
net none
|
|
no3d
|
|
nodvd
|
|
nogroups
|
|
noinput
|
|
nonewprivs
|
|
noroot
|
|
nosound
|
|
notv
|
|
nou2f
|
|
novideo
|
|
protocol unix
|
|
seccomp
|
|
shell none
|
|
tracelog
|
|
|
|
disable-mnt
|
|
private-bin equalx,gs,pdflatex,pdftocairo
|
|
private-cache
|
|
private-dev
|
|
private-etc equalx,equalx.conf,fonts,gtk-2.0,latexmk.conf,ld.so.preload,machine-id,papersize,passwd,texlive,Trolltech.conf
|
|
private-tmp
|
|
|
|
dbus-user none
|
|
dbus-system none
|
|
|
|
memory-deny-write-execute
|