summaryrefslogtreecommitdiff
path: root/unmaintained/amfora.profile
blob: 411a4ffe8d8e88bfcbea30457b6ba4c46515cd44 (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 amfora
# This file is overwritten after every install/update
quiet
# Persistent local customizations
include amfora.local
# Persistent global definitions
include globals.local


noblacklist ${HOME}/.config/amfora
noblacklist ${HOME}/.local/share/amfora

blacklist /tmp/.X11-unix
blacklist ${RUNUSER}/wayland-*

include disable-common.inc
include disable-devel.inc
include disable-interpreters.inc
include disable-programs.inc
include disable-write-mnt.inc
include disable-xdg.inc

mkdir ${HOME}/.config/amfora
mkdir ${HOME}/.local/share/amfora

whitelist ${HOME}/.config/amfora
whitelist ${HOME}/.local/share/amfora
include whitelist-runuser-common.inc

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

disable-mnt
private-bin amfora
private-cache
private-dev
private-etc ca-certificates,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