diff options
Diffstat (limited to 'etc/links.profile')
-rw-r--r-- | etc/links.profile | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/etc/links.profile b/etc/links.profile new file mode 100644 index 000000000..bd0b0cc92 --- /dev/null +++ b/etc/links.profile | |||
@@ -0,0 +1,64 @@ | |||
1 | # Firejail profile for links | ||
2 | # Description: Text WWW browser | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include links.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.links | ||
10 | |||
11 | blacklist /tmp/.X11-unix | ||
12 | |||
13 | include disable-common.inc | ||
14 | include disable-devel.inc | ||
15 | include disable-exec.inc | ||
16 | include disable-interpreters.inc | ||
17 | include disable-passwdmgr.inc | ||
18 | # you may want to noblacklist files/directories blacklisted in | ||
19 | # disable-programs.inc and used as associated programs | ||
20 | include disable-programs.inc | ||
21 | include disable-xdg.inc | ||
22 | |||
23 | mkdir ${HOME}/.links | ||
24 | whitelist ${HOME}/.links | ||
25 | whitelist ${DOWNLOADS} | ||
26 | include whitelist-var-common.inc | ||
27 | |||
28 | caps.drop all | ||
29 | ipc-namespace | ||
30 | # comment machine-id (or put 'ignore machine-id' in your links.local) if you want | ||
31 | # to allow access only to user-configured associated media player | ||
32 | machine-id | ||
33 | netfilter | ||
34 | # comment no3d (or put 'ignore no3d' in your links.local) if you want | ||
35 | # to allow access only to user-configured associated media player | ||
36 | no3d | ||
37 | nodvd | ||
38 | nogroups | ||
39 | nonewprivs | ||
40 | noroot | ||
41 | # comment nosound (or put 'ignore nosound' in your links.local) if you want | ||
42 | # to allow access only to user-configured associated media player | ||
43 | nosound | ||
44 | notv | ||
45 | nou2f | ||
46 | novideo | ||
47 | protocol unix,inet,inet6 | ||
48 | seccomp | ||
49 | shell none | ||
50 | tracelog | ||
51 | |||
52 | disable-mnt | ||
53 | # if you want to use user-configured programs add 'private-bin PROGRAM1,PROGRAM2' to your links.local | ||
54 | # or append 'PROGRAM1,PROGRAM2' to this private-bin line | ||
55 | private-bin links,sh | ||
56 | private-cache | ||
57 | private-dev | ||
58 | private-etc alternatives,ca-certificates,crypto-policies,nsswitch.conf,pki,resolv.conf,ssl | ||
59 | # Uncomment the following line (or put it in your links.local) allow external | ||
60 | # media players | ||
61 | # private-etc alsa,asound.conf,machine-id,openal,pulse | ||
62 | private-tmp | ||
63 | |||
64 | memory-deny-write-execute | ||