summaryrefslogtreecommitdiff
path: root/profiles/kristall.profile
blob: b7e36911c44f976fb437fc8f7085091bf753b827 (plain)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Firejail profile for kristall
# This file is overwritten after every install/update
# Persistent local customizations
include kristall.local
# Persistent global definitions
include globals.local


noblacklist ${HOME}/.cache/kristall
noblacklist ${HOME}/.config/xqTechnologies
#noblacklist ${HOME}/.local/share/kristall

include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-interpreters.inc
include /etc/firejail/disable-passwdmgr.inc
include /etc/firejail/disable-programs.inc
include /etc/firejail/disable-shell.inc
include /etc/firejail/disable-write-mnt.inc
include /etc/firejail/disable-xdg.inc

mkdir ${HOME}/.config/xqTechnologies
#mkdir ${HOME}/.local/share/kristall

whitelist ${DOWNLOADS}
#whitelist ${HOME}/.cache/kristall
whitelist ${HOME}/.config/xqTechnologies
#whitelist ${HOME}/.local/share/kristall
include /etc/firejail/whitelist-common.inc


caps.drop all
machine-id
netfilter
nodvd
nogroups
noinput
nonewprivs
noroot
notv
nou2f
novideo
protocol unix,inet,inet6,netlink
seccomp !name_to_handle_at
shell none
tracelog

disable-mnt
private-bin bash,kristall
private-cache
private-dev
private-etc ca-certificates,fonts,machine-id,resolv.conf,ssl
private-tmp

dbus-user none
dbus-system none

noexec ${HOME}
noexec /tmp

# # Use with hardened-malloc package
env LD_PRELOAD=/usr/lib/libhardened_malloc.so