aboutsummaryrefslogtreecommitdiffstats
path: root/etc/min.profile
blob: 3029c29524659ce26b3e28e90d7b6d8df3d928a0 (plain) (blame)
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
# Firejail profile for min
# Description: A faster, smarter web browser.
# This file is overwritten after every install/update
# Persistent local customizations
include min.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/Min

noblacklist ${HOME}/.pki

include disable-common.inc
include disable-devel.inc
include disable-interpreters.inc
include disable-programs.inc

mkdir ${HOME}/.pki
whitelist ${DOWNLOADS}
whitelist ${HOME}/.pki
include whitelist-common.inc
include whitelist-var-common.inc

caps.drop all
# ipc-namespace
# machine-id breaks pulse audio; it should work fine in setups where sound is not required
#machine-id
netfilter
# no3d
nodbus
nodvd
nogroups
nonewprivs
noroot
notv
nou2f
protocol unix,inet,inet6
seccomp
shell none

disable-mnt
# private-bin min
private-cache
private-dev
# private-etc below works fine on most distributions. There are some problems on CentOS.
private-etc ca-certificates,ssl,machine-id,dconf,selinux,passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,xdg,gtk-2.0,gtk-3.0,X11,pango,fonts,mime.types,mailcap,asound.conf,pulse,pki,crypto-policies,ld.so.cache
private-tmp

# memory-deny-write-execute
noexec ${HOME}
noexec /tmp