aboutsummaryrefslogtreecommitdiffstats
path: root/etc/links.profile
blob: bd0b0cc923e09a79a950f65b15d5d0c4d84469fb (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
52
53
54
55
56
57
58
59
60
61
62
63
64
# Firejail profile for links
# Description: Text WWW browser
# This file is overwritten after every install/update
# Persistent local customizations
include links.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.links

blacklist /tmp/.X11-unix

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-passwdmgr.inc
# you may want to noblacklist files/directories blacklisted in
# disable-programs.inc and used as associated programs
include disable-programs.inc
include disable-xdg.inc

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

caps.drop all
ipc-namespace
# comment machine-id (or put 'ignore machine-id' in your links.local) if you want
# to allow access only to user-configured associated media player
machine-id
netfilter
# comment no3d (or put 'ignore no3d' in your links.local) if you want
# to allow access only to user-configured associated media player
no3d
nodvd
nogroups
nonewprivs
noroot
# comment nosound (or put 'ignore nosound' in your links.local) if you want
# to allow access only to user-configured associated media player
nosound
notv
nou2f
novideo
protocol unix,inet,inet6
seccomp
shell none
tracelog

disable-mnt
# if you want to use user-configured programs add 'private-bin PROGRAM1,PROGRAM2' to your links.local
# or append 'PROGRAM1,PROGRAM2' to this private-bin line
private-bin links,sh
private-cache
private-dev
private-etc alternatives,ca-certificates,crypto-policies,nsswitch.conf,pki,resolv.conf,ssl
# Uncomment the following line (or put it in your links.local) allow external
# media players
# private-etc alsa,asound.conf,machine-id,openal,pulse
private-tmp

memory-deny-write-execute