summarylogtreecommitdiffstats
path: root/blacknut-firejail.profile
blob: 5d60e05502e245b7cd632691504cfaac2f62ce72 (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
include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-programs.inc

apparmor
caps.drop all

nodbus
nodvd
nogroups
nonewprivs

noroot
notv
nou2f
novideo

protocol unix,inet,inet6
seccomp

shell none

disable-mnt
private-dev
private-tmp
private-cache
private-etc alsa,alternatives,asound.conf,ca-certificates,fonts,group,localtime,passwd,pulse,resolv.conf

# Can be used for keeping Blacknut logs (you need to comment private-tmp first)
#whitelist /tmp/.X11-unix
#mkdir /tmp/blacknut
#whitelist /tmp/blacknut

# Allow Blacknut to save its configuration
mkdir ${HOME}/.config/Blacknut
whitelist ${HOME}/.config/Blacknut

# Allow access to Pulseaudio configuration
whitelist ${HOME}/.config/pulse